.candidate-onboarding-banner {
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-bottom: 1px solid #f3df99;
  background: linear-gradient(90deg, #fff4c5 0%, #fff9dc 48%, #ffe8a6 100%);
}

.candidate-onboarding-banner::before,
.candidate-onboarding-banner::after {
  content: "";
  width: 160px;
  height: 65px;
  position: absolute;
  top: -22px;
  border-radius: 50%;
  background: rgba(225, 174, 52, 0.18);
}

.candidate-onboarding-banner::before {
  left: 7%;
}
.candidate-onboarding-banner::after {
  right: 7%;
}

.candidate-onboarding-banner__content {
  min-height: 52px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
  color: #27364a;
  font-size: 13px;
}

.candidate-onboarding-banner__content a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: 22px;
  color: #fff;
  background: #078b4c;
  white-space: nowrap;
}

.candidate-onboarding-banner__content a:hover {
  color: #fff;
  background: #006f3b;
}

.candidate-account-page {
  min-height: 650px;
  color: #263445;
  background: #f4f6f8;
}

.candidate-account-title {
  margin: 0;
  font-size: 26px;
  font-weight: 750;
}

.candidate-account-nav,
.candidate-account-card,
.candidate-job-card,
.candidate-empty-state,
.candidate-resume-card {
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(28, 47, 65, 0.04);
}

.candidate-account-nav {
  position: sticky;
  top: 20px;
  overflow: hidden;
  padding: 8px;
}

.candidate-account-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 8px;
  color: #42536a;
  font-weight: 600;
}

.candidate-account-nav a i {
  width: 20px;
  color: #00a84b;
  text-align: center;
}

.candidate-account-nav a:hover,
.candidate-account-nav a.active {
  color: #008b3f;
  background: #eafaf1;
}

.candidate-account-card {
  padding: 24px;
}

.candidate-account-note {
  margin-bottom: 15px;
  padding: 13px 16px;
  border-left: 4px solid #00b14f;
  border-radius: 7px;
  color: #426050;
  background: #ecfbf3;
}

.candidate-job-list {
  display: grid;
  gap: 14px;
}

.candidate-job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.candidate-job-card:hover {
  border-color: #9cdbb7;
  box-shadow: 0 8px 24px rgba(0, 126, 57, 0.1);
  transform: translateY(-2px);
}

.candidate-job-card__content {
  min-width: 0;
}

.candidate-job-card h2 {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 750;
}

.candidate-job-card h2 a {
  color: #24364b;
}

.candidate-job-card h2 a:hover,
.candidate-job-card__company:hover {
  color: #00a84b;
}

.candidate-job-card__company {
  display: inline-block;
  margin-bottom: 12px;
  color: #667488;
}

.candidate-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.candidate-job-card__meta span {
  padding: 5px 10px;
  border-radius: 5px;
  color: #4b596c;
  background: #f2f4f6;
  font-size: 13px;
}

.candidate-job-card__meta .candidate-match-score {
  color: #008b3f;
  background: #e7f9ef;
  font-weight: 700;
}

.candidate-job-card__actions {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
}

.candidate-empty-state {
  padding: 55px 24px;
  text-align: center;
}

.candidate-empty-state > i {
  margin-bottom: 15px;
  color: #9bb1a4;
  font-size: 54px;
}

.candidate-empty-state h2 {
  font-size: 21px;
  font-weight: 700;
}

.candidate-empty-state p {
  color: #718096;
}

.candidate-table-empty {
  padding: 40px 15px;
  color: #718096;
  text-align: center;
}

.candidate-resume-grid {
  display: grid;
  gap: 14px;
}

.candidate-resume-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
}

.candidate-resume-card > i {
  width: 52px;
  color: #e74c3c;
  font-size: 46px;
  text-align: center;
}

.candidate-resume-card__content {
  min-width: 0;
  flex: 1;
}

.candidate-resume-card__content h2 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
}

.candidate-resume-card__content p {
  margin: 0 0 7px;
  color: #788596;
  font-size: 13px;
}

.candidate-resume-card__actions {
  display: flex;
  gap: 8px;
}

.candidate-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f2;
}

.candidate-setting-row p {
  margin: 4px 0 0;
  color: #718096;
}

.candidate-setting-row .form-switch .form-check-input {
  width: 46px;
  height: 24px;
  cursor: pointer;
}

.candidate-setting-row .form-check-input:checked {
  border-color: #00b14f;
  background-color: #00b14f;
}

.navbar-desktop .user-dropdown .user-dropdown__function-wrapper-items {
  transition: max-height 0.22s ease;
}

@media (max-width: 991px) {
  .candidate-account-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .candidate-account-nav a {
    flex: 0 0 auto;
  }

  .candidate-onboarding-banner__content {
    justify-content: space-between;
  }
}

@media (max-width: 575px) {
  .candidate-onboarding-banner__content {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .candidate-job-card,
  .candidate-resume-card {
    align-items: stretch;
    flex-direction: column;
  }

  .candidate-job-card__actions .btn {
    width: 100%;
  }

  .candidate-resume-card__actions {
    flex-wrap: wrap;
  }

  .candidate-setting-row {
    align-items: flex-start;
  }
}
