#candidateDialogOverlay[hidden],
#candidateDialogOverlay.candidate-modal-overlay[hidden] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#candidateDialogOverlay.candidate-modal-overlay {
  transition: opacity .18s ease, background .18s ease, backdrop-filter .18s ease, -webkit-backdrop-filter .18s ease !important;
}

.candidates-table tbody .candidate-live-row {
  cursor: pointer;
}

.candidates-table tbody .candidate-live-row td {
  position: relative;
  transition: background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.candidates-table tbody .candidate-live-row:hover td {
  background: #f1f7ff !important;
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, .06), inset 0 -1px 0 rgba(37, 99, 235, .06);
}

.candidates-table tbody .candidate-live-row:hover td:first-child::before,
.candidates-table tbody .candidate-live-row.is-opened td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: #2f6bed;
}

.candidates-table tbody .candidate-live-row:hover .initials,
.candidates-table tbody .candidate-live-row:hover .avatar {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}

.candidates-table tbody .candidate-live-row.is-opened td {
  background: #eaf4ff !important;
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, .10), inset 0 -1px 0 rgba(37, 99, 235, .10);
}

.candidates-table tbody .candidate-live-row.is-opened .initials,
.candidates-table tbody .candidate-live-row.is-opened .avatar {
  background: #bfdbfe !important;
  color: #1558d6 !important;
}

.candidate-modal {
  height: min(94vh, 920px) !important;
  padding: 20px 24px 24px !important;
}

.candidate-modal-header {
  height: 38px !important;
  flex: 0 0 38px !important;
}

.candidate-modal-header h2 {
  font-size: 16px !important;
  letter-spacing: .035em !important;
}

.candidate-modal-close {
  width: 42px !important;
  height: 42px !important;
  font-size: 24px !important;
  line-height: 42px !important;
}

.candidate-modal-body {
  grid-template-columns: 410px minmax(0, 1fr) !important;
  gap: 24px !important;
  margin-top: 14px !important;
}

.candidate-profile-panel {
  padding: 18px 20px !important;
  overflow-y: hidden !important;
}

.candidate-profile-top {
  gap: 16px !important;
  margin-bottom: 14px !important;
}

.candidate-avatar {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  font-size: 25px !important;
}

.candidate-name {
  margin: 0 0 8px !important;
  font-size: 23px !important;
  line-height: 1.12 !important;
}

.candidate-meta {
  gap: 5px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.candidate-meta-dot {
  width: 8px !important;
  height: 8px !important;
  box-shadow: 0 0 0 4px rgba(61, 187, 133, .10) !important;
}

.candidate-info-card {
  padding: 8px 12px !important;
  margin-bottom: 12px !important;
  border-radius: 14px !important;
}

.candidate-info-row {
  min-height: 46px !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.candidate-info-icon {
  width: 32px !important;
  height: 32px !important;
  font-size: 15px !important;
}

.candidate-info-label {
  margin-bottom: 2px !important;
  font-size: 10.5px !important;
  letter-spacing: .025em !important;
}

.candidate-info-value,
.candidate-resume-link {
  font-size: 13.5px !important;
  line-height: 1.18 !important;
}

.candidate-status-button {
  height: 44px !important;
  border-radius: 11px !important;
  font-size: 14.5px !important;
  box-shadow: 0 8px 16px rgba(13, 23, 40, .14) !important;
}

.candidate-stage-block {
  margin-top: 14px !important;
  gap: 7px !important;
}

.candidate-stage-title {
  margin-bottom: 1px !important;
  font-size: 16px !important;
}

.candidate-stage-subtitle {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.candidate-stage-select {
  height: 42px !important;
  border-radius: 11px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
}

.candidate-stage-save-button,
.candidate-stage-save {
  height: 38px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

.candidate-chat-panel {
  padding: 24px 22px 22px !important;
}

.candidate-chat-header {
  padding: 0 14px 14px !important;
}

.candidate-chat-header h3 {
  font-size: 24px !important;
}

.candidate-chat-header p {
  font-size: 14px !important;
}

.chat-system-message {
  padding: 18px 22px !important;
  margin-bottom: 10px !important;
}

.chat-system-text {
  font-size: 14.5px !important;
}

.chat-system-meta,
.chat-manager-meta,
.chat-candidate-meta {
  font-size: 12.5px !important;
}

.chat-manager-text,
.chat-candidate-text {
  font-size: 16px !important;
}

.chat-manager-message,
.chat-candidate-message {
  padding: 16px 20px 18px !important;
}

@media (max-width: 1180px) {
  .candidate-profile-panel {
    overflow-y: visible !important;
  }

  .candidate-modal-body {
    grid-template-columns: 1fr !important;
  }
}
