﻿:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-700: #44403c;
  --stone-900: #1c1917;
  --teal-50: #f0f7fb;
  --teal-100: #cce4ef;
  --teal-400: #3a9ec2;
  --teal-500: #0c6d94;
  --teal-600: #0c6d94;
  --teal-700: #095878;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .06);
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --sidebar-w: 260px;
  --content-max: 680px;
}

/* ─── Main Content ───────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body main {
  font-family: var(--font-body);
  background: var(--stone-50);
  color: var(--stone-900);
  /*min-height: 100vh;*/
  -webkit-font-smoothing: antialiased;
}

.font-color-teal-600 {
  color: var(--teal-600) !important;
}

.page-eyebrow {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--teal-600);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--stone-900);
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--stone-500);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

.page-subtitle-w-100 {
  max-width: 100% !important;
}

.card-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-box {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

  .card-box h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stone-200);
  }

  .card-box .field {
    margin-bottom: 16px;
  }

  .card-box .forgot {
    font-size: .8125rem;
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 500;
    float: right;
    margin-top: -2px;
  }

    .card-box .forgot:hover {
      color: var(--teal-700);
    }

.teal-button {
  background: var(--teal-600) !important;
  color: white !important;
  border: 1.5px solid transparent !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background .15s, transform .1s, box-shadow .15s !important;
  box-shadow: 0 2px 8px rgba(12, 109, 148, .25);
  text-decoration: none;
}

  .teal-button:hover {
    background: var(--teal-700) !important;
    box-shadow: 0 4px 14px rgba(12, 109, 148, .35);
    transform: translateY(-1px);
  }

  .teal-button:active {
    transform: translateY(0);
  }

.stone-button {
  background: var(--white) !important;
  color: var(--stone-700) !important;
  border: 1.5px solid var(--stone-300) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: .9375rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background .15s, border-color .15s !important;
  text-decoration: none;
}

  .stone-button:hover {
    background: var(--stone-100) !important;
    border-color: var(--stone-400) !important;
  }

label {
  margin-bottom: .2rem !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

  .field:has(> span.field-validation-error) {
    margin-bottom: 1.2em;
  }

  .field.password-validation > span[data-valmsg-for] {
    position: static;
  }

  .field.password-validation:has(> span.field-validation-error) {
    margin-bottom: 0;
  }

  .field > span[data-valmsg-for] {
    position: absolute;
    top: 100%;
  }

  .field > input[type="checkbox"] {
    align-self: flex-start;
    accent-color: var(--teal-500);
  }

  .field label {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--stone-700);
  }

  .field input:not([type="checkbox"]):not([type="radio"]),
  .field select {
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9375rem;
    color: var(--stone-900);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
  }

    .field input:not([type="checkbox"]):not([type="radio"]):focus,
    .field select:focus {
      border-color: var(--teal-500);
      box-shadow: 0 0 0 3px rgba(12, 109, 148, .12);
    }

  .field input::placeholder {
    color: var(--stone-300);
  }

  .field input[value]:not([value=""]):not([type="radio"]) {
    border-color: var(--stone-300);
    background: var(--stone-50);
  }

  .field input:not([type="checkbox"]):not([type="radio"]):disabled,
  .field select:disabled {
    background: var(--stone-200);
    border-color: var(--stone-300);
    color: var(--stone-500);
    cursor: not-allowed;
  }

  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
  }

  .field .input-group {
    flex-wrap: nowrap;
  }

  .field .input-group-text {
    background: var(--stone-100);
    border: 1.5px solid var(--stone-200);
    border-left: none;
    color: var(--stone-500);
    font-size: .8125rem;
    font-weight: 500;
    white-space: nowrap;
  }

  .field .input-group input:not([type="checkbox"]) {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

.input-with-icon {
  position: relative;
  width: 100%;
}

  .input-with-icon input {
    width: 100%;
    padding-right: 36px;
  }

  .input-with-icon svg {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--stone-400);
    cursor: pointer;
  }

    .input-with-icon svg:hover {
      color: var(--teal-600);
    }

.stone-700-font {
  color: var(--stone-700) !important;
}

.dob-error {
  display: block;
  color: #e80c4d;
  font-size: .8125rem;
  font-weight: 500;
}

.field-hint {
  font-size: .75rem;
  color: var(--stone-500);
  line-height: 1.4;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--stone-50);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

  .checkbox-field:hover {
    border-color: var(--teal-400);
    background: var(--teal-50);
  }

  .checkbox-field input[type=checkbox] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--teal-500);
    flex-shrink: 0;
  }

  .checkbox-field .cb-label {
    font-size: .875rem;
    color: var(--stone-700);
    line-height: 1.5;
  }

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  cursor: pointer;
}

  .checkbox-inline input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--teal-500);
    flex-shrink: 0;
  }

  .checkbox-inline .cb-label {
    font-size: .875rem;
    color: var(--stone-700);
    line-height: 1.5;
  }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--stone-50);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  flex: 1;
}

  .radio-field:hover {
    border-color: var(--teal-400);
    background: var(--teal-50);
  }

  .radio-field:has(input:checked),
  .radio-field.selected {
    border-color: var(--teal-500);
    background: var(--teal-50);
  }

  .radio-field input[type=radio] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0 !important;
    border: 1.5px solid var(--stone-300) !important;
    border-radius: 50% !important;
    background: var(--white);
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color .15s, background .15s;
  }

    .radio-field input[type=radio]:checked {
      border-color: var(--teal-500);
      background: var(--teal-500);
      box-shadow: inset 0 0 0 3px var(--white);
    }

    .radio-field input[type=radio]:hover:not(:disabled) {
      border-color: var(--teal-400);
    }

  .radio-field .rb-label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--stone-700);
    line-height: 1.5;
  }

h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--stone-900);
  margin-bottom: 8px;
  font-weight: 800;
}

p,
span {
  font-size: .9375rem;
  color: var(--stone-500);
  line-height: 1.6;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── End Main Content ───────────────────────────────────────────────────────── */

/* ─── App Shell Layout ────────────────────────────────────────────── */

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
}

.app-header {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  padding: 0 24px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.app-main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.app-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--stone-200);
  padding: 8px 24px;
  font-size: .75rem;
  color: var(--stone-500);
  text-align: center;
}

  .app-footer p {
    margin: 0;
  }

.app-error {
  padding: 8px 16px;
  color: red;
}

/* ─── End App Shell Layout ───────────────────────────────────────── */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-900);
  letter-spacing: -.3px;
}

  .logo-text span {
    color: var(--teal-600);
    font-weight: 300;
  }

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8125rem;
  color: var(--stone-500);
  margin-left: auto;
}

/* ─── End Header Content ───────────────────────────────────────────────────────── */

/* ─── Login Content ───────────────────────────────────────────────────────── */

.login-card,
.reset-password-card,
.email-sent-card {
  width: 100%;
  max-width: 440px;
}

.login-hero {
  text-align: center;
  margin-bottom: 36px;
}

  .login-hero .home-illustration {
    margin: 0 auto 24px;
    display: block;
  }

.new-inquiry-box {
  background: var(--teal-50);
  border: 1.5px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 20px;
}

  .new-inquiry-box p {
    font-size: .875rem;
    color: var(--stone-500);
    margin-bottom: 16px;
    line-height: 1.5;
  }

/* ─── End Login Content ───────────────────────────────────────────────────────── */

/* ─── Review Page Content ───────────────────────────────────────────────────────── */

.review-section-header {
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--stone-50) 100%);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .review-section-header h3 {
    font-family: var(--font-display) !important;
    font-size: 1.125rem !important;
    color: var(--stone-900) !important;
    font-weight: 800;
    margin: 0;
  }

.review-line {
  padding: 6px 0;
  align-items: center;
}

.review-label {
  font-weight: 500;
  color: var(--stone-700);
  font-size: 0.9rem;
}

.review-value {
  text-align: right;
  color: var(--stone-900);
  font-size: 0.9rem;
}

  .review-value a {
    color: var(--teal-600);
    text-decoration: none;
  }

    .review-value a:hover {
      text-decoration: underline;
    }

  .review-value input[type="checkbox"] {
    pointer-events: none;
  }

.review-blank {
  border: none;
  border-top: 1px solid var(--stone-300);
  margin: 0;
  width: 10%;
  margin-left: auto;
}

.review-blank-px {
  width: 30px !important;
}

.review-masked {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

  .review-masked svg {
    width: 16px;
    height: 16px;
    color: var(--stone-400);
    cursor: pointer;
    flex-shrink: 0;
  }

    .review-masked svg:hover {
      color: var(--teal-600);
    }

.review-not-indicated {
  font-size: 0.8rem;
  color: var(--stone-400);
  font-style: italic;
  padding: 4px 0 8px 0;
  width: 100%;
}

.review-group-header {
  font-weight: 600;
  font-size: .8rem;
  color: var(--teal-600);
  letter-spacing: 0.03em;
  padding: 10px 0 4px 8px;
  margin-left: -3px;
  border-left: 3px solid var(--teal-400);
  text-transform: uppercase;
  margin-top: .5rem !important;
}

.review-borrower-header {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 15px;
  border-bottom: 2px solid var(--teal-500);
  margin-bottom: .5rem !important;
}

.review-item-divider {
  border: none;
  border-top: 1px dashed var(--stone-300);
  margin: 8px 0;
  padding: 0;
  width: 100%;
}

.borrower-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--stone-300);
  margin-bottom: 0.75rem;
}

.borrower-tab-button {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--stone-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.borrower-tab-button:hover {
  color: var(--stone-900);
}

.borrower-tab-button.active {
  color: var(--stone-900);
  border-bottom-color: var(--teal-500);
}

/* ─── End Review Page Content ───────────────────────────────────────────────────────── */

/* ─── Footer ───────────────────────────────────────────────────────── */
.page-foot {
  text-align: center;
  font-size: .75rem;
  color: var(--stone-400);
  border-top: 1px solid var(--stone-200);
  background: var(--white);
}

  .page-foot a {
    color: var(--stone-400);
  }

/* ─── End Footer ───────────────────────────────────────────────────────── */

/* ─── Field Validation ───────────────────────────────────────────────────────── */

.field-validation-error,
.field-validation-error span {
  color: #e80c4d !important;
  font-weight: bold;
  font-size: .8rem !important;
}

/* ─── End Field Validation ───────────────────────────────────────────────────────── */

/* ─── Badges ───────────────────────────────────────────────────────── */

.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-size: .8rem !important;
  color: var(--stone-600, #57534e);
  font-weight: 500 !important;
  box-shadow: var(--shadow-sm);
}

  .badge svg {
    color: var(--teal-500);
  }

.bg-teal {
  background-color: var(--teal-100) !important;
  color: var(--teal-700) !important;
  border-color: var(--stone-300) !important;
  font-weight: 800 !important;
}

.badge-sm {
  font-size: 0.7rem !important;
  padding: 2px 8px !important;
}

/* ─── End Badges ───────────────────────────────────────────────────────── */

/* ─── Cards ──────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--stone-200) !important;
  border-radius: var(--radius-md) !important;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.card-wrap-inner-500 {
  width: 100%;
  max-width: 500px;
}

.card-wrap-inner-560 {
  width: 100%;
  max-width: 560px;
}

.card-wrap-inner-650 {
  width: 100%;
  max-width: 650px;
}

.card-wrap-inner-700 {
  width: 100%;
  max-width: 700px;
}

.card-wrap-inner-800 {
  width: 100%;
  max-width: 800px;
}

.card-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--stone-700);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 15px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

  .card-title svg {
    color: var(--teal-500);
    flex-shrink: 0;
  }

.card-subtitle {
  font-size: .75rem;
  font-weight: 600;
  color: var(--stone-500);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--stone-200);
  margin: 24px 0;
  width: 100%;
}

.section-divider-12px {
  margin: 12px 0 !important;
}

/* ─── Team Contact ─────────────────────────────────────────────────────── */

.team-contact-name {
  font-size: 0.95rem;
}

.team-contact-role {
  font-size: 0.8rem;
}

.team-contact-detail {
  font-size: 0.875rem;
}

/* ─── End Team Contact ─────────────────────────────────────────────────── */

.record-section {
  position: relative;
  padding-top: 4px;
}

.record-actions {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 1;
  display: flex;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-in-out;
}

.record-section:hover .record-actions {
  opacity: 1;
  pointer-events: auto;
}

.record-actions .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--stone-500);
  cursor: pointer;
  transition: background-color 0.1s, color 0.1s;
}

  .record-actions .btn-icon:hover {
    background-color: var(--stone-100);
    color: var(--stone-700);
  }

  .record-actions .btn-icon.btn-icon-danger:hover {
    background-color: #fee2e2;
    color: #dc2626;
  }

  .record-actions .btn-icon svg {
    pointer-events: none;
  }

@media (hover: none) {
  .record-actions {
    opacity: 1;
  }
}

/* ─── End Cards ───────────────────────────────────────────────────────── */

/* ─── Sidebar + Content Panels ────────────────────────────────────── */

.app-row {
  display: flex;
  flex: 1 1 0;
  overflow: hidden;
  width: 100%;
}

.sidebar-col {
  flex: 0 0 auto;
  overflow-y: auto;
}

.sidebar {
  background: var(--white);
  border-right: 1px solid var(--stone-200);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
}

.content-col {
  flex: 1 1 0;
  overflow-y: auto;
}

/* ─── Nav Toolbar (hidden on desktop, shown on mobile) ────────────── */

.nav-toolbar {
  flex-shrink: 0;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  padding: 8px 16px;
  position: relative;
  z-index: 50;
}

.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--stone-600);
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

  .hamburger-btn:hover {
    background: var(--stone-50);
    color: var(--stone-800);
  }

  .hamburger-btn .close-icon {
    display: none;
  }

  .hamburger-btn.open .hamburger-icon {
    display: none;
  }

  .hamburger-btn.open .close-icon {
    display: block;
  }

.nav-toolbar-step {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal-600);
  white-space: nowrap;
}

.nav-toolbar-label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--stone-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── End Nav Toolbar ─────────────────────────────────────────────── */

@media (max-width: 950px) {
  .app-row {
    flex-direction: column;
  }

  .nav-toolbar {
    display: flex;
  }

  .sidebar-col {
    display: none;
    border-right: none;
    overflow-y: auto;
    max-height: 60vh;
  }

    .sidebar-col.open {
      display: block;
    }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--stone-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  }
}

@media (max-width: 480px) {
  .app-header {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 2px;
  }

  .nav-user {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 4px;
  }

  .app-main {
    padding: 0 12px;
  }

  .content-col {
    overflow-x: hidden;
  }

  .app-main .row {
    margin-left: 0;
    margin-right: 0;
  }

  .app-main [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .app-footer {
    padding: 8px 12px;
  }

  .card {
    padding: 20px 16px;
  }

  .card-box {
    padding: 20px 16px;
  }

  .review-section-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px !important;
  }

  .review-group-header {
    padding-left: 0 !important;
    margin-left: 0;
    border-left: none;
  }
}

.sidebar-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 12px;
  padding-left: 8px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--stone-500);
  font-size: .775rem;
  font-weight: 400;
  transition: background .15s, color .15s;
  cursor: pointer;
}

  .step-item:hover {
    background: var(--stone-50);
    color: var(--stone-700);
    text-decoration: none;
  }

  .step-item.done {
    color: var(--teal-600);
  }

  .step-item.active {
    background: var(--teal-50);
    color: var(--teal-700);
    font-weight: 500;
  }

  .step-item.active .step-label {
    color: var(--teal-700);
  }

.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--stone-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 600;
  color: var(--stone-400);
  background: var(--white);
  transition: all .2s;
}

.step-item.done .step-dot {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: white;
}

.step-item.active .step-dot {
  border-color: var(--teal-500);
  color: var(--teal-600);
}

.step-dot-img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ─── End Sidebar ───────────────────────────────────────────── */

/* ─── Modal progress ───────────────────────────────────────────── */

/* Bootstrap 5 ships correct .modal / .modal-dialog / .modal-content / .modal-header /
   .modal-body / .modal-footer styles (including z-index 1055 above backdrop's 1050 and
   centered .modal-dialog margins). Only customize the title here. */

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.5rem !important;
  font-weight: bold;
  color: var(--teal-600);
}

/* ─── End Modal ───────────────────────────────────────────── */

/* ─── Needed Items ────────────────────────────────────── */

.needed-item svg {
  color: var(--teal-600);
}

.needed-item-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-700);
}

.needed-item-row {
  background-color: var(--stone-100);
  padding: 10px 0;
  border-radius: 10px;
}

/* ─── End Needed Items ────────────────────────────────────── */

/* ─── Upload Drop Zone ────────────────────────────────────── */

.upload-drop-zone {
  border: 2px dashed var(--teal-400);
  border-radius: var(--radius-sm);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

  .upload-drop-zone-content svg {
    color: var(--teal-600);
  }

  .upload-drop-zone:hover {
    border-color: var(--teal-600);
    background: rgba(12, 109, 148, .04);
  }

  .upload-drop-zone-active {
    border-color: var(--teal-600);
    background: rgba(12, 109, 148, .08);
  }

.upload-drop-zone-content {
  pointer-events: none;
}

.upload-drop-zone-title {
  margin: .5rem 0 0;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--stone-900);
}

.upload-drop-zone-subtitle {
  margin: .25rem 0 0;
  font-size: .8125rem;
  color: var(--stone-500);
}

.upload-file-input {
  display: none;
}

.upload-file-list {
  margin-top: .75rem;
}

.upload-file-item {
  display: flex;
  align-items: center;
  padding: .5rem .75rem;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  margin-bottom: .375rem;
  background: var(--white);
}

.upload-file-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.upload-file-name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--stone-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-size {
  font-size: .75rem;
  color: var(--stone-500);
  margin-top: .125rem;
}

.upload-status-pill {
  flex: 0 0 auto;
  margin-left: .75rem;
  padding: .125rem .625rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--stone-600);
  background: var(--stone-100);
  border: 1px solid var(--stone-300);
  border-radius: 9999px;
  white-space: nowrap;
}

.upload-file-remove {
  flex: 0 0 auto;
  margin-left: .75rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--stone-400);
  cursor: pointer;
  padding: 0 .25rem;
  transition: color .15s;
}

  .upload-file-remove:hover {
    color: var(--stone-700);
  }

.upload-button-text {
  color: inherit;
}

/* ─── End Upload Drop Zone ────────────────────────────────── */

/* ─── Loading Spinners ────────────────────────────────────── */

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid color-mix(in srgb, var(--white) 35%, transparent);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  vertical-align: middle;
}

.btn-spinner.btn-spinner-teal {
  border-color: color-mix(in srgb, var(--teal-500) 25%, transparent);
  border-top-color: var(--teal-500);
}

.nav-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid color-mix(in srgb, var(--teal-500) 25%, transparent);
  border-top-color: var(--teal-500);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

/* ─── End Loading Spinners ────────────────────────────────── */
