/**
* Career DRW Corpora Indonesia - dashboard & authentication pages.
* Builds on main.css + career.css (brand colors live in career.css).
*/

/*--------------------------------------------------------------
# Shared
--------------------------------------------------------------*/
.avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
}

.role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
}

.btn-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  color: var(--heading-color);
  background: transparent;
  border: 0;
}

.btn-icon:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.form-control,
.form-select {
  border-radius: 0.6rem;
}

.company-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.6rem;
}

.company-checklist.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}

.company-checklist .form-check {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Auth Pages
--------------------------------------------------------------*/
.auth-page {
  background: #fff;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
}

.auth-brand {
  flex: 0 0 44%;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  background: linear-gradient(150deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6b1e47 35%));
  color: #fff;
}

.auth-brand h2 {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.auth-brand p {
  color: rgba(255, 255, 255, 0.85);
}

.auth-illustration {
  margin-top: 1.5rem;
  max-height: 300px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: 1rem;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 20px;
}

.auth-logo img {
  height: 40px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.auth-brand .auth-logo,
.auth-brand .auth-logo:hover {
  color: #fff;
}

.auth-card .auth-logo {
  color: var(--heading-color);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: var(--background-color);
}

.auth-card {
  width: 100%;
  max-width: 480px;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 2rem;
}

.auth-switch {
  text-align: center;
  margin: 1.75rem 0 0;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Dashboard Layout
--------------------------------------------------------------*/
.dashboard-page {
  --sidebar-width: 260px;
  background: #faf6f8;
  min-height: 100vh;
}

.dashboard-sidebar {
  --bs-offcanvas-width: 270px;
  background: var(--surface-color) !important;
  display: flex;
  flex-direction: column;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

@media (min-width: 992px) {
  .dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    z-index: 1030;
    overflow-y: auto;
  }

  .dashboard-main {
    margin-left: var(--sidebar-width);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
}

.sidebar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 19px;
}

.sidebar-logo img {
  height: 34px;
}

.sidebar-logo strong {
  color: var(--accent-color);
}

.sidebar-role {
  margin: 0 1.25rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.sidebar-role small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.sidebar-nav {
  flex: 1;
  padding: 0 0.75rem;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1rem;
  margin-bottom: 4px;
  border-radius: 0.75rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
}

.sidebar-nav a i {
  font-size: 18px;
}

.sidebar-nav a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  color: var(--accent-color);
}

.sidebar-nav a.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.sidebar-footer {
  padding: 1rem 1.25rem 1.5rem;
  font-size: 14px;
}

.sidebar-footer a {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.sidebar-footer a:hover {
  color: var(--accent-color);
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: color-mix(in srgb, #faf6f8, transparent 10%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.page-heading {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-subheading {
  margin: 2px 0 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 4px 12px 4px 4px;
  border-radius: 50px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
}

.dashboard-content {
  padding: 1.75rem 2rem 3rem;
}

@media (max-width: 767px) {
  .dashboard-topbar {
    padding: 0.75rem 1rem;
  }

  .dashboard-content {
    padding: 1.25rem 1rem 2.5rem;
  }

  .page-heading {
    font-size: 1.15rem;
  }
}

/*--------------------------------------------------------------
# Dashboard Components
--------------------------------------------------------------*/
.panel {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
  border-radius: 1rem;
  padding: 1.5rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-header h2,
.panel-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.panel-title {
  margin-bottom: 1.25rem;
}

.form-narrow {
  max-width: 860px;
}

.stat-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
  border-radius: 1rem;
  color: inherit;
  transition: 0.25s;
}

a.stat-card:hover {
  color: inherit;
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  transform: translateY(-2px);
}

.stat-card p {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.stat-card h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.stat-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
}

.stat-icon.tone-progress {
  background: #e7f0ff;
  color: #2f6fd6;
}

.stat-icon.tone-warning {
  background: #fff3e0;
  color: #d98a0b;
}

.stat-icon.tone-success {
  background: #e3f7ec;
  color: #1f9d5c;
}

.list-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
  color: var(--default-color);
}

.list-row:first-of-type {
  border-top: 0;
}

.list-row:hover {
  color: var(--accent-color);
}

.table-dashboard {
  --bs-table-bg: transparent;
  font-size: 14px;
}

.table-dashboard thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-bottom: 0;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.table-dashboard tbody td {
  padding: 0.9rem 1rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 93%);
}

.table-dashboard tbody tr:hover {
  --bs-table-bg: color-mix(in srgb, var(--accent-color), transparent 97%);
}

.clickable-row {
  position: relative;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-neutral {
  background: #f1f1f4;
  color: #50505e;
}

.status-progress {
  background: #e7f0ff;
  color: #2f6fd6;
}

.status-warning {
  background: #fff3e0;
  color: #b8730a;
}

.status-success {
  background: #e3f7ec;
  color: #1a8a50;
}

.status-danger {
  background: #fdecec;
  color: #c63b3b;
}

.vacancy-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
}

.vacancy-draft {
  background: #f1f1f4;
  color: #50505e;
}

.vacancy-published {
  background: #e3f7ec;
  color: #1a8a50;
}

.vacancy-closed {
  background: #fdecec;
  color: #c63b3b;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.toolbar-filters .form-control,
.toolbar-filters .form-select {
  width: auto;
  min-width: 200px;
  flex: 1 1 200px;
}

.stage-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.stage-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.stage-tabs a span {
  padding: 0 8px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  font-size: 12px;
}

.stage-tabs a.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.stage-tabs a.active span {
  background: rgba(255, 255, 255, 0.25);
}

.stage-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 1rem;
  padding: 0.5rem 0;
  font-size: 14px;
  color: var(--default-color);
}

.stage-row:hover {
  color: var(--accent-color);
}

.stage-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  overflow: hidden;
}

.stage-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
}

.bar-neutral { background: #9a9aab; }
.bar-progress { background: #2f6fd6; }
.bar-warning { background: #f0a020; }
.bar-success { background: #1f9d5c; }
.bar-danger { background: #e05555; }

.detail-list dt {
  font-size: 12.5px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.detail-list dd {
  font-weight: 500;
  margin-bottom: 0.85rem;
  word-break: break-word;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Applicant progress timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-step.is-done::before,
.timeline-step.is-skipped::before {
  background: var(--accent-color);
}

.timeline-step.is-skipped .timeline-marker {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
}

.timeline-step.is-skipped strong {
  text-decoration: line-through;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
  z-index: 1;
}

.timeline-step strong {
  display: block;
  margin-top: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.timeline-step small {
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.timeline-step.is-done .timeline-marker {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.timeline-step.is-current .timeline-marker {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.timeline-step.is-rejected .timeline-marker {
  background: #e05555;
  border-color: #e05555;
  color: #fff;
}

.timeline-step.is-done strong,
.timeline-step.is-current strong,
.timeline-step.is-rejected strong {
  color: var(--heading-color);
}

/* Admin status history */
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-list li {
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.history-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.history-meta {
  margin-top: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.history-note {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  background: #fffaf0;
  border-left: 3px solid #f0a020;
  font-size: 14px;
  white-space: pre-line;
}

/* Companies */
.company-logo-box {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 800;
  overflow: hidden;
}

.company-logo-box img,
.logo-preview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-preview {
  max-height: 64px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 4px;
}

.company-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.company-stats strong {
  color: var(--heading-color);
}

.pagination {
  --bs-pagination-active-bg: var(--accent-color);
  --bs-pagination-active-border-color: var(--accent-color);
  --bs-pagination-color: var(--accent-color);
  --bs-pagination-hover-color: var(--accent-color);
  --bs-pagination-focus-color: var(--accent-color);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Screening & Match Score
--------------------------------------------------------------*/
.match-badge-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.match-badge .match-label {
  font-weight: 500;
}

.match-top {
  background: #fff4d6;
  color: #9a6400;
  box-shadow: inset 0 0 0 1px #f3d27a;
}

.match-top i {
  color: #f0a500;
}

.match-potential {
  background: #e7f0ff;
  color: #2f6fd6;
}

.match-low {
  background: #f1f1f4;
  color: #6b6b78;
}

.match-none {
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  font-weight: 500;
}

.match-knockout {
  background: #fdecec;
  color: #c63b3b;
}

.highlight-panel {
  border-color: #f3d27a;
  background: linear-gradient(180deg, #fffaf0, var(--surface-color) 60%);
}

.icon-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--accent-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

/* Question list */
.question-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.question-row:first-of-type {
  border-top: 0;
  padding-top: 0.25rem;
}

.question-number {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 4px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.question-ideal {
  margin-top: 6px;
  font-size: 13px;
  color: #1a8a50;
}

.template-option {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-size: 14px;
  cursor: pointer;
}

.template-option:hover,
.template-option:has(input:checked) {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.template-option .form-check-input {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Question form: show only the settings relevant to the chosen type */
.question-form .answer-config,
.question-form [class*="show-for-"] {
  display: none !important;
}

.question-form[data-type="single_choice"] .show-for-choices,
.question-form[data-type="multiple_choice"] .show-for-choices,
.question-form[data-type="yes_no"] .show-for-yes_no,
.question-form[data-type="number"] .show-for-number {
  display: block !important;
}

.question-form[data-type="single_choice"] .show-for-single_choice,
.question-form[data-type="multiple_choice"] .show-for-multiple_choice,
.question-form[data-type="text"] .show-for-text {
  display: revert !important;
}

.question-form[data-type="multiple_choice"] .choice-preferred {
  display: inline-flex !important;
}

.question-form[data-type="text"] .hide-for-text,
.question-form[data-type="multiple_choice"] .hide-for-multiple_choice {
  display: none !important;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.choice-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.choice-row .form-control {
  flex: 1;
}

.choice-row .form-select {
  width: 150px;
  flex-shrink: 0;
}

.choice-preferred {
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 14px;
  white-space: nowrap;
}

/* Screening answers (admin) */
.answer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.answer-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.answer-icon {
  font-size: 18px;
  line-height: 1.3;
}

.answer-question {
  font-size: 13.5px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.answer-value {
  font-weight: 600;
  color: var(--heading-color);
}

.answer-ideal {
  font-size: 12.5px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.answer-score {
  font-weight: 700;
  font-size: 14px;
}

.verdict-pass .answer-icon,
.verdict-pass .answer-score { color: #1f9d5c; }
.verdict-partial .answer-icon,
.verdict-partial .answer-score { color: #d98a0b; }
.verdict-miss .answer-icon,
.verdict-miss .answer-score,
.verdict-fail .answer-icon,
.verdict-fail .answer-score { color: #d64545; }
.verdict-neutral .answer-icon { color: #8a8a99; }

.verdict-fail {
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 0.75rem;
  background: #fff5f5;
}

/*--------------------------------------------------------------
# Profile Pages
--------------------------------------------------------------*/
.profile-container {
  max-width: 860px;
}

.profile-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.profile-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-family: var(--nav-font);
  font-weight: 500;
}

.profile-tabs a:hover {
  color: var(--accent-color);
}

.profile-tabs a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.form-section + .form-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.form-section-heading {
  margin-bottom: 1.25rem;
}

.form-section-heading h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.form-section-heading p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
}

.cv-current {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.cv-current > i {
  font-size: 28px;
  color: #d64545;
}

.password-fields {
  max-width: 420px;
}
