@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Manrope:wght@500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --background: 42 33% 97%;
  --foreground: 213 31% 18%;
  --card: 45 38% 99%;
  --card-foreground: 213 31% 18%;
  --border: 39 20% 87%;
  --input: 39 20% 82%;
  --ring: 204 69% 30%;
  --primary: 204 69% 30%;
  --primary-foreground: 43 38% 97%;
  --secondary: 170 19% 91%;
  --secondary-foreground: 204 69% 24%;
  --muted: 41 24% 92%;
  --muted-foreground: 213 14% 44%;
  --accent: 37 93% 55%;
  --accent-foreground: 28 56% 14%;
  --destructive: 4 67% 44%;
  --app-font-sans: 'DM Sans', sans-serif;
  --app-font-serif: 'Manrope', sans-serif;
  --app-font-mono: 'Space Mono', monospace;
  --radius: 1rem;
  --shadow-sm: 0 4px 18px rgba(26, 52, 62, .06);
  --shadow-md: 0 14px 40px rgba(26, 52, 62, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--app-font-sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid hsl(var(--accent) / .55);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.container-wide {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.display {
  font-family: var(--app-font-serif);
  letter-spacing: -.055em;
}

.mono {
  font-family: var(--app-font-mono);
  letter-spacing: .035em;
}

.text-balance {
  text-wrap: balance;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.surface {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.pill {
  border-radius: 999px;
}

.page-in {
  animation: pageIn .55s ease both;
}

.rise-1 {
  animation: rise .65s .05s ease both;
}

.rise-2 {
  animation: rise .65s .14s ease both;
}

.rise-3 {
  animation: rise .65s .23s ease both;
}

.rise-4 {
  animation: rise .65s .32s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header & Navigation */
.topbar {
  min-height: 88px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 76px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform .2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-word {
  display: none;
}

.footer .brand-logo-img {
  height: 88px;
  width: auto;
  max-width: 260px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 5px;
  position: relative;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: hsl(var(--foreground));
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 5px;
  right: 5px;
  height: 2px;
  background: hsl(var(--accent));
  border-radius: 5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mobile-menu {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav.open {
  display: grid;
}

/* Buttons */
.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  box-shadow: 0 7px 0 hsl(204 69% 22%), 0 12px 24px rgba(26, 76, 91, .16);
}

.btn-primary:hover {
  background: hsl(204 62% 35%);
  box-shadow: 0 5px 0 hsl(204 69% 22%), 0 14px 28px rgba(26, 76, 91, .2);
}

.btn-secondary {
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
}

.btn-secondary:hover {
  background: hsl(170 19% 85%);
}

.btn-quiet {
  min-height: 38px;
  color: hsl(var(--muted-foreground));
  background: transparent;
  padding: 0 13px;
}

.btn-quiet:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.btn-accent {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 7px 0 hsl(34 77% 40%);
}

.btn-accent:hover {
  background: hsl(38 95% 61%);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 78px 0 106px;
  background: linear-gradient(130deg, hsl(42 33% 97%) 0%, hsl(170 20% 93%) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: hsl(37 93% 55% / .12);
  right: -180px;
  top: -160px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 80px;
  position: relative;
}

.hero h1 {
  font-size: clamp(44px, 6.1vw, 78px);
  line-height: .98;
  margin: 19px 0 25px;
  max-width: 690px;
}

.hero h1 em {
  font-style: normal;
  color: hsl(var(--primary));
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  height: 7px;
  left: 1px;
  right: 0;
  bottom: -5px;
  background: hsl(var(--accent));
  border-radius: 9px 2px 9px 2px;
  transform: rotate(-1.5deg);
}

.hero-copy {
  color: hsl(var(--muted-foreground));
  font-size: 18px;
  line-height: 1.65;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 35px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
}

.trust-dots {
  display: flex;
}

.trust-dots span {
  width: 24px;
  height: 24px;
  border: 2px solid hsl(var(--background));
  border-radius: 50%;
  margin-left: -5px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.trust-dots span:first-child {
  margin-left: 0;
  background: hsl(28 74% 65%);
}

.trust-dots span:last-child {
  background: hsl(170 31% 48%);
}

/* Loan Card */
.loan-card {
  position: relative;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 28px;
  padding: 31px;
  box-shadow: 16px 22px 0 hsl(37 93% 55% / .3), 0 28px 55px rgba(26, 76, 91, .2);
  overflow: hidden;
}

.loan-card::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid hsl(43 38% 97% / .12);
  right: -75px;
  top: -65px;
  box-shadow: 0 0 0 27px hsl(43 38% 97% / .04), 0 0 0 55px hsl(43 38% 97% / .04);
}

.loan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.loan-card-label {
  color: hsl(43 38% 97% / .68);
  font-size: 12px;
}

.loan-card-value {
  font-family: var(--app-font-serif);
  font-size: 43px;
  line-height: 1.05;
  letter-spacing: -.06em;
  margin-top: 6px;
  font-weight: 800;
}

.loan-card-chip {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.loan-card-visual {
  height: 165px;
  position: relative;
  margin: 28px 0 13px;
  border-bottom: 1px solid hsl(43 38% 97% / .19);
}

.chart-line {
  position: absolute;
  inset: 10px 0 0;
  width: 100%;
  height: 125px;
}

.chart-line path {
  stroke-dasharray: 100;
  animation: draw 1.4s ease both;
}

.loan-card-bottom {
  display: flex;
  justify-content: space-between;
  color: hsl(43 38% 97% / .72);
  font-size: 11px;
}

.loan-card-bottom strong {
  color: hsl(var(--primary-foreground));
  display: block;
  font-size: 14px;
  margin-top: 3px;
}

/* Sections */
.section {
  padding: 105px 0;
}

.section-soft {
  background: hsl(170 20% 93% / .62);
}

.section-title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  margin: 16px 0 18px;
  font-weight: 800;
}

.section-lead {
  max-width: 560px;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  font-size: 16px;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 46px;
}

.split-heading .section-title {
  max-width: 560px;
  margin-bottom: 0;
}

.feature-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.feature-aside {
  background: hsl(var(--primary));
  border-radius: 24px;
  color: hsl(var(--primary-foreground));
  padding: 32px;
  min-height: 285px;
  position: sticky;
  top: 26px;
}

.feature-aside .big-mark {
  font-family: var(--app-font-serif);
  color: hsl(var(--accent));
  font-size: 70px;
  line-height: .9;
}

.feature-aside h3 {
  font-size: 24px;
  margin: 49px 0 8px;
  letter-spacing: -.03em;
}

.feature-aside p {
  color: hsl(43 38% 97% / .7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 18px;
  padding: 14px 0 25px;
  border-bottom: 1px solid hsl(var(--border));
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
}

.feature-item h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 14px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 55px;
  border-top: 1px solid hsl(var(--border));
}

.number-block {
  padding: 25px 25px 4px 0;
  border-right: 1px solid hsl(var(--border));
  margin-right: 25px;
}

.number-block:last-child {
  border-right: 0;
}

.number-value {
  font-family: var(--app-font-serif);
  color: hsl(var(--primary));
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.number-label {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  margin-top: 5px;
}

/* Quote Section */
.quote-section {
  background: hsl(var(--accent));
  padding: 74px 0;
}

.quote {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.quote-mark {
  font-family: Georgia, serif;
  color: hsl(var(--primary));
  font-size: 63px;
  line-height: .3;
}

.quote p {
  color: hsl(var(--accent-foreground));
  font-family: var(--app-font-serif);
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -.045em;
  margin: 20px 0;
  font-weight: 700;
}

.quote small {
  font-weight: 700;
  color: hsl(var(--accent-foreground) / .68);
  font-size: 14px;
}

/* Subpage Hero */
.page-hero {
  padding: 70px 0 76px;
  background: hsl(170 20% 93% / .75);
  border-bottom: 1px solid hsl(var(--border));
}

.page-hero h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1;
  max-width: 800px;
  margin: 16px 0;
  font-weight: 800;
}

.page-hero p {
  max-width: 580px;
  color: hsl(var(--muted-foreground));
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

/* Process Page */
.process-wrap {
  position: relative;
  max-width: 950px;
  margin: auto;
}

.process-wrap::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: hsl(var(--border));
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 27px;
  padding: 27px 0 44px;
  position: relative;
}

.step-num {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border: 8px solid hsl(170 20% 93%);
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.step h2 {
  margin: 4px 0 8px;
  font-size: 25px;
  letter-spacing: -.03em;
  font-weight: 700;
}

.step p {
  margin: 0;
  max-width: 570px;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.step-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Dashboard Page */
.dashboard {
  background: hsl(170 20% 93% / .55);
  min-height: calc(100dvh - 78px);
  padding: 47px 0 90px;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 32px;
}

.dash-head h1 {
  margin: 10px 0 0;
  font-size: 38px;
  letter-spacing: -.05em;
  font-weight: 800;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 22px;
}

.dash-main {
  display: grid;
  gap: 22px;
}

.balance-card {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.balance-card::after {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid hsl(43 38% 97% / .12);
  border-radius: 50%;
  right: -110px;
  bottom: -180px;
  box-shadow: 0 0 0 30px hsl(43 38% 97% / .04);
}

.balance-card .loan-card-label {
  color: hsl(43 38% 97% / .65);
}

.balance-card h2 {
  font-family: var(--app-font-serif);
  font-size: 48px;
  letter-spacing: -.07em;
  margin: 10px 0 24px;
  font-weight: 800;
}

.balance-meta {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.balance-meta span {
  display: block;
  color: hsl(43 38% 97% / .62);
  font-size: 11px;
}

.balance-meta strong {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

.status-card {
  padding: 27px;
  border-radius: 22px;
}

.status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.status-badge {
  background: hsl(37 93% 55% / .18);
  color: hsl(30 68% 31%);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
}

.status-card h3 {
  margin: 20px 0 7px;
  font-size: 22px;
  font-weight: 700;
}

.status-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin: 0 0 20px;
  font-size: 14px;
}

.progress-track {
  height: 7px;
  background: hsl(var(--muted));
  border-radius: 9px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  background: hsl(var(--accent));
  border-radius: inherit;
}

.schedule-card {
  padding: 26px;
  border-radius: 22px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}

.card-title-row h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}

.schedule-table th {
  color: hsl(var(--muted-foreground));
  text-align: left;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 10px 12px 0;
  font-weight: 700;
}

.schedule-table td {
  border-top: 1px solid hsl(var(--border));
  padding: 14px 10px 14px 0;
}

.paid {
  color: hsl(158 42% 32%);
  font-weight: 700;
}

.pending {
  color: hsl(204 69% 30%);
  font-weight: 700;
}

.dash-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.side-card {
  border-radius: 22px;
  padding: 26px;
}

.side-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
}

.action-list {
  display: grid;
  gap: 9px;
}

.action-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 0;
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / .65);
  text-align: left;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background .2s, transform .2s;
}

.action-row:hover {
  background: hsl(var(--secondary));
  transform: translateX(3px);
}

.support-card {
  background: hsl(37 93% 55% / .72);
  border: 0;
}

.support-card p {
  color: hsl(var(--accent-foreground) / .72);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 15px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.about-copy p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  font-size: 16px;
}

.belief {
  border-left: 4px solid hsl(var(--accent));
  padding: 7px 0 7px 22px;
  margin-top: 28px;
  color: hsl(var(--primary));
  font-family: var(--app-font-serif);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.25;
}

.about-art {
  min-height: 420px;
  border-radius: 28px;
  background: hsl(var(--primary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.about-art::before {
  content: '';
  width: 310px;
  height: 310px;
  border: 1px solid hsl(43 38% 97% / .25);
  border-radius: 50%;
  position: absolute;
  right: -80px;
  top: -30px;
  box-shadow: 0 0 0 29px hsl(43 38% 97% / .04), 0 0 0 60px hsl(43 38% 97% / .04);
}

.about-art::after {
  content: 'A';
  color: hsl(var(--accent));
  font-family: var(--app-font-serif);
  font-size: 280px;
  font-weight: 800;
  line-height: .7;
  position: absolute;
  left: 24px;
  top: 68px;
  opacity: .9;
}

.about-art-caption {
  color: hsl(var(--primary-foreground));
  position: relative;
  z-index: 1;
  max-width: 270px;
}

.about-art-caption strong {
  font-family: var(--app-font-serif);
  display: block;
  font-size: 28px;
  letter-spacing: -.05em;
  line-height: 1.08;
  margin-bottom: 9px;
}

.about-art-caption span {
  color: hsl(43 38% 97% / .65);
  font-size: 13px;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 45px;
}

.value-card {
  padding: 26px;
  border-radius: 18px;
  min-height: 185px;
}

.value-card .value-icon {
  color: hsl(var(--primary));
  margin-bottom: 30px;
}

.value-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 700;
}

.value-card p {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* FAQ Page */
.faq-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: 15px;
  background: hsl(var(--card));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 21px 22px;
  color: hsl(var(--foreground));
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.faq-answer {
  padding: 0 22px 21px;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  font-size: 14px;
  max-width: 710px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.chevron {
  transition: transform .2s;
  color: hsl(var(--primary));
}

.faq-item.active .chevron {
  transform: rotate(180deg);
}

/* Support Page & Forms */
.support-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.support-contact {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.contact-row {
  display: flex;
  gap: 13px;
  align-items: center;
  color: hsl(var(--foreground));
  font-size: 14px;
}

.contact-row svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.form-card {
  border-radius: 24px;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  color: hsl(var(--foreground));
  border-radius: 11px;
  padding: 12px 13px;
  min-height: 46px;
}

.field textarea {
  min-height: 125px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: hsl(var(--muted-foreground) / .65);
}

.field-error {
  color: hsl(var(--destructive));
  font-size: 11px;
}

.success-box {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: hsl(158 39% 92%);
  color: hsl(158 42% 27%);
  border-radius: 13px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 35, 44, .47);
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  animation: pageIn .2s ease both;
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  width: min(560px, 100%);
  max-height: min(740px, calc(100dvh - 40px));
  overflow: auto;
  border-radius: 24px;
  padding: 29px;
  background: hsl(var(--background));
  box-shadow: 0 30px 80px rgba(16, 35, 44, .28);
  animation: rise .3s ease both;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
  margin-bottom: 24px;
}

.modal h2 {
  font-size: 29px;
  line-height: 1.05;
  margin: 5px 0 8px;
  font-weight: 800;
}

.modal-head p {
  color: hsl(var(--muted-foreground));
  margin: 0;
  font-size: 13px;
}

.close-btn {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
  border-radius: 50%;
  cursor: pointer;
}

.close-btn:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.application-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 23px;
}

.application-steps span {
  height: 4px;
  border-radius: 4px;
  flex: 1;
  background: hsl(var(--muted));
}

.application-steps span.done {
  background: hsl(var(--accent));
}

.modal .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  gap: 15px;
}

.modal-actions .hint {
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.success-state {
  text-align: center;
  padding: 17px 5px 9px;
}

.success-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(158 39% 91%);
  color: hsl(158 42% 32%);
}

.success-state h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
}

.success-state p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

.reference {
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
  font-family: var(--app-font-mono);
  font-size: 12px;
  padding: 11px;
  border-radius: 9px;
  margin: 19px 0;
  font-weight: 700;
}

/* Footer */
.footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 62px 0 27px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 50px;
}

.footer .brand {
  color: hsl(var(--primary-foreground));
}

.footer .brand-mark::before {
  background: hsl(var(--accent));
}

.footer .brand-mark::after {
  border-color: hsl(var(--primary));
}

.footer-copy {
  color: hsl(43 38% 97% / .62);
  line-height: 1.6;
  font-size: 13px;
  max-width: 235px;
  margin-top: 16px;
}

.footer h4 {
  margin: 4px 0 17px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: hsl(43 38% 97% / .52);
  font-weight: 700;
}

.footer a {
  display: block;
  color: hsl(43 38% 97% / .78);
  text-decoration: none;
  font-size: 13px;
  margin: 11px 0;
  transition: color .2s;
}

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

.footer-bottom {
  border-top: 1px solid hsl(43 38% 97% / .14);
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: hsl(43 38% 97% / .47);
  font-size: 11px;
}

/* Authentication & Customer Portal */
.auth-page {
  padding: 50px 0 90px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 55px;
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}

.auth-grid.single-card {
  grid-template-columns: min(500px, 100%);
  justify-content: center;
}

.auth-card {
  border-radius: 24px;
  padding: 34px 30px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-md);
}

.auth-header {
  margin-bottom: 24px;
}

.auth-header h1,
.auth-header h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 800;
}

.auth-header p {
  color: hsl(var(--muted-foreground));
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.auth-nav-tabs {
  display: flex;
  background: hsl(var(--muted) / .7);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 24px;
  gap: 4px;
}

.auth-nav-tab {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: all .2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.auth-nav-tab.active {
  background: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.auth-features-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.auth-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.auth-feature-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.auth-feature-item p {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: hsl(var(--foreground));
  cursor: pointer;
  user-select: none;
}

.checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: hsl(var(--primary));
  cursor: pointer;
}

.checkbox-row a {
  color: hsl(var(--primary));
  text-decoration: underline;
  font-weight: 600;
}

.auth-footer-link {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

.auth-footer-link a {
  color: hsl(var(--primary));
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

.error-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: hsl(4 80% 96%);
  color: hsl(4 70% 35%);
  border: 1px solid hsl(4 60% 86%);
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 20px;
}

.error-box svg {
  flex-shrink: 0;
  color: hsl(var(--destructive));
  margin-top: 2px;
}

/* Dashboard Extras */
.dashboard-welcome-banner {
  background: linear-gradient(135deg, hsl(204 69% 26%) 0%, hsl(204 75% 18%) 100%);
  color: hsl(var(--primary-foreground));
  border-radius: 24px;
  padding: 30px 32px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 16px 36px rgba(20, 60, 75, .18);
}

.dashboard-welcome-banner h1 {
  font-size: 32px;
  margin: 4px 0 8px;
  color: #fff;
}

.dashboard-welcome-banner p {
  color: hsl(43 38% 97% / .85);
  margin: 0;
  font-size: 14px;
  max-width: 620px;
  line-height: 1.5;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsl(37 93% 55% / .2);
  color: hsl(37 93% 65%);
  border: 1px solid hsl(37 93% 55% / .4);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dashboard-user-card {
  border-radius: 20px;
  padding: 22px;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.profile-meta-item {
  background: hsl(var(--muted) / .5);
  border-radius: 12px;
  padding: 12px 14px;
}

.profile-meta-item span {
  display: block;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 3px;
}

.profile-meta-item strong {
  font-size: 13px;
  color: hsl(var(--foreground));
  word-break: break-all;
}

.guest-portal-cta {
  background: linear-gradient(130deg, hsl(42 33% 97%) 0%, hsl(170 20% 93%) 100%);
  border-radius: 24px;
  border: 1px solid hsl(var(--border));
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 35px;
}

.guest-portal-cta h2 {
  font-size: 32px;
  margin: 10px 0 12px;
}

.guest-portal-cta p {
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 15px;
  line-height: 1.6;
}

.guest-portal-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Customer Dashboard Elements */
.customer-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.customer-metric-card {
  border-radius: 18px;
  padding: 20px 22px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease;
}

.customer-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.customer-metric-card.highlight {
  background: linear-gradient(135deg, hsl(204 69% 28%) 0%, hsl(204 72% 20%) 100%);
  color: #fff;
  border-color: hsl(204 69% 35%);
}

.customer-metric-card.highlight .customer-metric-title {
  color: hsl(43 38% 97% / .75);
}

.customer-metric-card.highlight .customer-metric-val {
  color: #fff;
}

.customer-metric-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: hsl(var(--foreground));
  letter-spacing: -.03em;
  margin: 0 0 4px;
}

.customer-metric-sub {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.notification-feed {
  display: grid;
  gap: 12px;
}

.notification-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  background: hsl(var(--muted) / .45);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  transition: background .2s ease;
}

.notification-item:hover {
  background: hsl(var(--muted) / .75);
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.notification-content strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  color: hsl(var(--foreground));
}

.notification-content p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 12px;
}

.notification-content span.time {
  display: block;
  font-size: 10px;
  color: hsl(var(--muted-foreground) / .75);
  margin-top: 4px;
}

.support-shortcut-box {
  background: linear-gradient(135deg, hsl(37 93% 55% / .18) 0%, hsl(37 93% 55% / .08) 100%);
  border: 1px solid hsl(37 93% 55% / .3);
  border-radius: 20px;
  padding: 22px;
}

.support-shortcut-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: hsl(var(--foreground));
}

/* ==========================================================================
   ADMIN LAYOUT WITH SIDEBAR & TOPBAR
   ========================================================================== */
.admin-body {
  background: hsl(var(--background));
  overflow-x: hidden;
}

.admin-layout-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.admin-sidebar {
  width: 270px;
  background: hsl(213 35% 13%);
  color: hsl(var(--primary-foreground));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 100vh;
  position: sticky;
  top: 0;
  border-right: 1px solid hsl(213 25% 20%);
  z-index: 40;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.admin-sidebar-header {
  padding: 22px 18px;
  border-bottom: 1px solid hsl(213 25% 20%);
  background: hsl(213 38% 11%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.admin-sidebar-close-btn {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.admin-sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 960px) {
  .admin-sidebar-close-btn {
    display: flex;
  }
}

.admin-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.admin-brand-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .2s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .3));
}

.admin-brand-img:hover {
  transform: scale(1.03);
}

.admin-sidebar-nav {
  flex: 1;
  padding: 20px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-group-title {
  font-size: 10px;
  font-weight: 800;
  color: hsl(213 15% 55%);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 12px 6px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(213 20% 78%);
  text-decoration: none;
  transition: all .2s ease;
}

.admin-nav-item:hover {
  background: hsl(213 25% 20%);
  color: #fff;
  transform: translateX(3px);
}

.admin-nav-item.active {
  background: hsl(var(--primary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(24, 74, 92, .35);
}

.admin-nav-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.admin-nav-toggle.open .admin-chevron {
  transform: rotate(180deg);
}

.admin-submenu {
  display: none;
  flex-direction: column;
  gap: 3px;
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.admin-submenu.open {
  display: flex;
}

.admin-submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: hsl(213 20% 75%);
  text-decoration: none;
  transition: all .2s ease;
}

.admin-submenu-item:hover {
  background: hsl(213 25% 20%);
  color: #fff;
  transform: translateX(2px);
}

.admin-submenu-item.active {
  background: hsl(var(--primary) / 0.85);
  color: #fff;
  font-weight: 700;
}

.admin-nav-pill {
  margin-left: auto;
  background: hsl(37 93% 55%);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.admin-sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid hsl(213 25% 20%);
  background: hsl(213 40% 10%);
}

.admin-user-profile {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  flex-shrink: 0;
}

.admin-user-details strong {
  display: block;
  font-size: 13px;
  color: #fff;
  line-height: 1.2;
}

.admin-user-details span {
  font-size: 11px;
  color: hsl(213 15% 60%);
  word-break: break-all;
}

.admin-sidebar-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  color: hsl(4 80% 85%);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.admin-sidebar-logout-btn:hover {
  background: hsl(4 67% 44%);
  color: #fff;
  border-color: hsl(4 67% 44%);
}

.admin-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: hsl(var(--background));
}

.admin-topbar {
  min-height: 72px;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  gap: 16px;
}

.admin-search-wrap {
  position: relative;
  width: min(380px, 100%);
}

.admin-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  min-height: 38px;
  padding: 8px 14px 8px 36px;
  border-radius: 999px;
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  font-size: 13px;
  color: hsl(var(--foreground));
  transition: border-color .2s ease;
}

.admin-search-input:focus {
  border-color: hsl(var(--primary));
  outline: none;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: grid;
  place-items: center;
  cursor: pointer;
  color: hsl(var(--foreground));
  position: relative;
  transition: all .2s;
}

.admin-topbar-icon-btn:hover {
  background: hsl(var(--muted));
}

.admin-bell-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(4 67% 44%);
  position: absolute;
  top: 8px;
  right: 8px;
  border: 2px solid hsl(var(--card));
}

.admin-profile-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.admin-topbar-avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(204 69% 30%) 0%, hsl(204 75% 18%) 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  border: 2px solid hsl(var(--card));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform .2s ease, box-shadow .2s ease;
  user-select: none;
}

.admin-topbar-avatar-btn:hover,
.admin-profile-dropdown-wrapper:hover .admin-topbar-avatar-btn,
.admin-topbar-avatar-btn:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(24, 74, 92, .3);
}

.admin-profile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 250px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 25, 35, .16);
  padding: 8px;
  z-index: 60;
  animation: pageIn .15s ease both;
}

.admin-profile-dropdown-wrapper:hover .admin-profile-menu,
.admin-profile-dropdown-wrapper:focus-within .admin-profile-menu,
.admin-profile-menu.show {
  display: block;
}

.admin-profile-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 6px;
}

.admin-menu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.admin-menu-user-details strong {
  display: block;
  font-size: 13px;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.admin-menu-user-details span {
  display: block;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  word-break: break-all;
}

.admin-profile-menu-divider {
  height: 1px;
  background: hsl(var(--border));
  margin: 6px 0;
}

.admin-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}

.admin-menu-item:hover {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}

.admin-menu-item.logout {
  color: hsl(4 67% 44%);
}

.admin-menu-item.logout:hover {
  background: hsl(4 67% 44% / .1);
  color: hsl(4 67% 44%);
}

.admin-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 6px;
  border-radius: 8px;
}

.admin-mobile-toggle:hover {
  background: hsl(var(--muted));
}

.admin-content-inner {
  flex: 1;
  padding: 30px 32px 60px;
}

.admin-footer-bar {
  border-top: 1px solid hsl(var(--border));
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
  flex-wrap: wrap;
  gap: 10px;
}

.admin-sidebar-overlay {
  display: none;
}

/* Admin Styles */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsl(4 67% 44% / .12);
  color: hsl(4 67% 44%);
  border: 1px solid hsl(4 67% 44% / .3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-header-bar {
  background: linear-gradient(135deg, hsl(213 31% 16%) 0%, hsl(213 35% 10%) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(10, 25, 35, .2);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.admin-metric-card {
  border-radius: 18px;
  padding: 22px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease;
}

.admin-metric-card:hover {
  transform: translateY(-2px);
}

.admin-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-metric-value {
  font-size: 28px;
  font-weight: 800;
  color: hsl(var(--foreground));
  letter-spacing: -.03em;
  margin: 0 0 6px;
}

.admin-metric-footer {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.admin-metric-footer.positive {
  color: hsl(158 42% 38%);
  font-weight: 600;
}

.admin-section-card {
  border-radius: 22px;
  padding: 28px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-section-header h2,
.admin-section-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.admin-table th {
  background: hsl(var(--muted) / .5);
  color: hsl(var(--muted-foreground));
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid hsl(var(--border));
}

.admin-table th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.admin-table th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.status-badge-approved {
  background: hsl(158 39% 92%);
  color: hsl(158 42% 27%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge-pending {
  background: hsl(37 93% 55% / .18);
  color: hsl(34 77% 32%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge-disbursed {
  background: hsl(204 69% 30% / .14);
  color: hsl(204 69% 26%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 960px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    z-index: 60;
    box-shadow: 10px 0 30px rgba(0, 0, 0, .3);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 35, .55);
    z-index: 55;
    backdrop-filter: blur(2px);
  }

  .admin-sidebar-overlay.open {
    display: block;
  }

  .admin-mobile-toggle {
    display: flex;
    align-items: center;
  }

  .admin-search-wrap {
    display: none;
  }

  .admin-content-inner {
    padding: 20px 16px 50px;
  }

  .admin-topbar {
    padding: 0 16px;
  }

  .admin-footer-bar {
    padding: 16px;
  }
}

/* Responsive */
@media (max-width: 800px) {

  .customer-metrics-grid,
  .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container-wide {
    width: min(100% - 32px, 620px);
  }

  .topbar {
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-menu:hover {
    background: hsl(var(--muted));
  }

  .mobile-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    z-index: 100;
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: fadeInDown 0.2s ease forwards;
  }

  .mobile-nav .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: background 0.15s;
  }

  .mobile-nav .nav-link:hover,
  .mobile-nav .nav-link.active {
    background: hsl(var(--muted));
    color: hsl(var(--primary));
  }

  .mobile-nav .btn {
    margin: 8px 0 4px;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 52px 0 75px;
  }

  .hero-grid,
  .about-grid,
  .support-grid,
  .faq-layout,
  .feature-layout,
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .loan-card {
    max-width: 520px;
  }

  .feature-aside,
  .faq-intro {
    position: static;
  }

  .number-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .number-block {
    border-right: 0;
    border-bottom: 1px solid hsl(var(--border));
    margin: 0;
    padding: 22px 0;
  }

  .number-block:last-child {
    border-bottom: 0;
  }

  .value-card {
    margin-bottom: 12px;
    min-height: auto;
  }

  .split-heading,
  .dash-head {
    display: block;
  }

  .split-heading .btn,
  .dash-head .btn {
    margin-top: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-grid> :first-child {
    grid-column: 1 / -1;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field.full {
    grid-column: auto;
  }

  .form-card {
    padding: 21px;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 49px 0 55px;
  }
}

@media (max-width: 460px) {
  .customer-metrics-grid {
    grid-template-columns: 1fr;
  }

  .container-wide {
    width: calc(100% - 28px);
  }

  .loan-card {
    padding: 23px;
    border-radius: 20px;
  }

  .loan-card-value {
    font-size: 36px;
  }

  .loan-card-visual {
    height: 135px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 11px;
  }

  .process-wrap::before {
    left: 24px;
  }

  .step {
    grid-template-columns: 50px 1fr;
    gap: 15px;
  }

  .step-num {
    width: 49px;
    height: 49px;
    border-width: 6px;
  }

  .balance-card h2 {
    font-size: 41px;
  }

  .balance-meta {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: block;
    line-height: 1.7;
  }

  .footer-bottom span {
    display: block;
  }
}

/* Quick Actions Component */
.quick-actions-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.quick-actions-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
  background: hsl(var(--muted) / .55);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}

.quick-action-btn svg {
  color: hsl(var(--primary));
  transition: transform .2s ease, color .2s ease;
}

.quick-action-btn:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(24, 74, 92, .2);
}

.quick-action-btn:hover svg {
  color: hsl(var(--accent));
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Empty State Component */
.empty-state-box {
  text-align: center;
  padding: 38px 20px;
  background: hsl(var(--muted) / .35);
  border: 1px dashed hsl(var(--border));
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: grid;
  place-items: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.empty-state-box h3,
.empty-state-box h4 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.empty-state-box p {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  max-width: 440px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.empty-state-box p:last-child {
  margin-bottom: 0;
}

.status-badge-inactive {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   8-STEP LOAN APPLICATION WORKFLOW & PROCESS STYLES
   ========================================================================== */

/* Process Flow Vertical Stepper with Downward Connectors */
.process-flow-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / .3);
  box-shadow: var(--shadow-md);
}

.step-card-final {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--secondary) / .4) 100%);
  border: 2px solid hsl(var(--accent) / .6);
}

.step-number-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--app-font-serif);
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(24, 74, 92, .25);
  border: 3px solid hsl(var(--card));
}

.step-badge-gold {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 6px 16px rgba(247, 165, 34, .35);
}

.step-content {
  flex: 1;
}

.step-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.step-tag {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-size: 11px;
  font-weight: 800;
}

.step-duration {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted));
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.step-card h2 {
  font-size: 24px;
  letter-spacing: -.03em;
  margin: 4px 0 8px;
  font-weight: 700;
}

.step-card p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 680px;
}

.step-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Down Arrow Connector */
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 48px;
  position: relative;
  z-index: 2;
}

.connector-line {
  width: 2px;
  height: 16px;
  background: hsl(var(--border));
}

.connector-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.process-cta-box {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 24px;
  padding: 36px 40px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(24, 74, 92, .25);
}

.process-cta-box h3 {
  color: hsl(var(--primary-foreground));
}

.process-cta-box p {
  color: #faf9f4bf !important;
}

/* 8-Step Modal Features */
.kyc-status-banner {
  background: #e8f5f1;
  border: 1px solid #b7e3d5;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kyc-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2f745b;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kyc-pill-verified {
  background: #2f745b;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* DigiLocker KYC Action & Result Cards */
.kyc-action-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.kyc-action-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 240px;
  min-width: 0;
}

.kyc-action-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.kyc-action-text span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.kyc-verify-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
}

.kyc-verify-trigger-btn:hover {
  background: #0369a1 !important;
  border-color: #0369a1 !important;
  transform: translateY(-1px);
}

.kyc-verified-result-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px;
  animation: pageIn 0.3s ease both;
}

.kyc-verified-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bbf7d0;
}

.kyc-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: grid;
  place-items: center;
}

.kyc-reverify-btn {
  background: none;
  border: none;
  color: #0284c7;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
}

.kyc-reverify-btn:hover {
  text-decoration: underline;
}

.kyc-verified-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.kyc-v-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.kyc-v-value {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.kyc-dev-notice {
  font-size: 11px;
  color: #475569;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}

/* DigiLocker Dedicated Modal Overlay */
.dl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  animation: pageIn 0.2s ease both;
}

.dl-modal-overlay.open {
  display: grid !important;
}

.dl-modal-card {
  width: min(500px, 100%);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: rise 0.25s ease both;
  position: relative;
  border: 1px solid #e2e8f0;
}

.dl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.emi-calculation-card {
  background: linear-gradient(135deg, #184a5c 0%, #102e3b 100%);
  color: #faf9f4;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(24, 74, 92, .2);
}

.emi-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(250, 249, 244, .15);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.emi-calc-label {
  font-size: 11px;
  color: #faf9f4a6;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.emi-calc-value {
  font-family: var(--app-font-serif);
  font-size: 28px;
  font-weight: 800;
  color: #f7a522;
  margin-top: 4px;
}

.emi-calc-badge {
  background: #f7a522;
  color: #102e3b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.emi-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.emi-col span {
  font-size: 10px;
  color: #faf9f48c;
  display: block;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}

.emi-col strong {
  font-size: 13px;
  color: #ffffff;
  display: block;
}

/* Step 7 Review Box */
.review-box {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.review-status-pill {
  background: #dff1ea;
  color: #1e5c46;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-item {
  background: hsl(var(--muted) / .5);
  border: 1px solid hsl(var(--border) / .6);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.review-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: hsl(var(--muted-foreground));
  font-weight: 800;
  margin-bottom: 4px;
}

.review-item strong {
  font-size: 13px;
  color: hsl(var(--foreground));
  margin-bottom: 2px;
}

.review-item small {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: hsl(var(--foreground));
  cursor: pointer;
  line-height: 1.45;
}

.consent-checkbox-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Step 8 Submitting & Sanction Styles */
.submitting-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid hsl(var(--muted));
  border-top-color: hsl(var(--accent));
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sanction-summary-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0 20px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.sanction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px dashed hsl(var(--border));
  padding-bottom: 8px;
}

.sanction-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sanction-row span {
  color: hsl(var(--muted-foreground));
}

@media (max-width: 768px) {
  .step-card {
    padding: 20px;
    gap: 16px;
  }

  .step-number-badge {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .emi-breakdown-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .process-cta-box {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   DEDICATED /APPLY PAGE STYLES (FULL-PAGE 8-STEP WORKFLOW)
   ========================================================================== */

.apply-hero-section {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--secondary) / .4) 100%);
  border-bottom: 1px solid hsl(var(--border));
  padding: 38px 0 32px;
}

.apply-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.apply-hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.trust-shield-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2f745b;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.apply-hero-trust-badge strong {
  display: block;
  font-size: 13px;
  color: hsl(var(--foreground));
}

.apply-hero-trust-badge span {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}

/* Horizontal Stepper Track */
.stepper-track-wrap {
  margin-bottom: 30px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 680px;
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}

.stepper-node {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: all .2s ease;
  z-index: 2;
  position: relative;
}

.node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  transition: all .2s ease;
  border: 2px solid transparent;
}

.node-title {
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  transition: color .2s ease;
}

.stepper-node.active .node-circle {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 12px rgba(24, 74, 92, .3);
}

.stepper-node.active .node-title {
  color: hsl(var(--primary));
  font-weight: 800;
}

.stepper-node.completed .node-circle {
  background: #2f745b;
  color: #ffffff;
}

.stepper-node.completed .node-title {
  color: #2f745b;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: hsl(var(--border));
  margin: 0 8px;
  transition: background .3s ease;
}

.stepper-line.completed {
  background: #2f745b;
}

.apply-container {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

/* 2-Column Application Layout */
.apply-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: start;
}

.apply-form-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.apply-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.step-indicator-pill {
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Right Column Sidebar */
.apply-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.apply-side-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.side-card-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: hsl(var(--primary));
  font-weight: 800;
}

.sidebar-amount-box {
  background: hsl(var(--muted) / .5);
  border: 1px solid hsl(var(--border) / .6);
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0 16px;
  text-align: center;
}

.sidebar-meta-list {
  display: grid;
  gap: 10px;
}

.sidebar-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px dashed hsl(var(--border));
  padding-bottom: 8px;
}

.sidebar-meta-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-meta-item span {
  color: hsl(var(--muted-foreground));
}

.sidebar-meta-item strong {
  color: hsl(var(--foreground));
}

.sidebar-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.sidebar-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: hsl(var(--foreground));
  line-height: 1.4;
}

.sidebar-trust-list svg {
  color: #2f745b;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 960px) {
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .apply-sidebar {
    position: static;
  }

  .apply-form-card {
    padding: 24px;
  }
}

/* =====================================================================
   KYC DOCUMENT UPLOAD & VERIFICATION SYSTEM (PAN & AADHAAR FRONT/BACK)
   ===================================================================== */
.doc-upload-box {
  border: 2px dashed hsl(var(--border));
  border-radius: 14px;
  padding: 18px 16px;
  background: hsl(var(--card));
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.doc-upload-box:hover,
.doc-upload-box.dragover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / .03);
  transform: translateY(-1px);
}

.doc-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.doc-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.doc-upload-box:hover .doc-upload-icon {
  transform: scale(1.08);
}

.doc-upload-title {
  font-weight: 700;
  font-size: 13px;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-upload-hint {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.doc-preview-wrapper {
  display: none;
  align-items: center;
  gap: 12px;
  background: hsl(var(--muted) / 0.4);
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.doc-preview-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid hsl(var(--border));
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
}

.doc-preview-info {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.doc-preview-name {
  font-size: 12px;
  font-weight: 700;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.doc-preview-status {
  font-size: 11px;
  color: #2f745b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.doc-remove-btn {
  background: transparent;
  border: none;
  color: hsl(var(--destructive));
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.doc-remove-btn:hover {
  background: hsl(var(--destructive) / 0.1);
}

/* Lightbox / Document Viewer Modal */
.doc-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.doc-lightbox-modal.open {
  display: flex;
}

.doc-lightbox-card {
  background: hsl(var(--card));
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-lightbox-header {
  padding: 16px 20px;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-lightbox-body {
  padding: 20px;
  text-align: center;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
  background: #f8fafc;
}

.doc-lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Admin Application & KYC Detail Modal */
.admin-kyc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-kyc-modal.open {
  display: flex;
}

.admin-kyc-card {
  background: hsl(var(--card));
  border-radius: 20px;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.admin-kyc-header {
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(var(--card));
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-kyc-body {
  padding: 24px;
  display: grid;
  gap: 22px;
}

.admin-kyc-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.admin-doc-card {
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.admin-doc-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s ease;
}

.admin-doc-card img:hover {
  transform: scale(1.02);
}

.status-badge-rejected {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: hsl(var(--destructive) / 0.12);
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive) / 0.2);
}

/* ==========================================
   Application Draft & Resume UI Elements
   ========================================== */
.draft-resume-banner {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted) / 0.4) 100%);
  border: 1.5px solid hsl(var(--primary) / 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(26, 52, 62, 0.05);
  animation: fadeInBanner 0.3s ease;
}

@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.draft-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}

.draft-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.draft-banner-title {
  font-size: 14px;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.draft-banner-subtitle {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.draft-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.draft-save-feedback {
  background: #15803d;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  animation: fadeInBanner 0.25s ease;
}

.dashboard-draft-card {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted) / 0.35) 100%);
  border: 1.5px solid hsl(var(--primary) / 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.dashboard-draft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: hsl(var(--primary));
}

.draft-pulsing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.25);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--primary));
  box-shadow: 0 0 0 0 hsl(var(--primary) / 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 hsl(var(--primary) / 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px hsl(var(--primary) / 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 hsl(var(--primary) / 0); }
}

.review-edit-btn {
  background: none;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--primary));
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.review-edit-btn:hover {
  background: hsl(var(--primary) / 0.08);
  border-color: hsl(var(--primary) / 0.4);
}

/* ==========================================================================
   KYC VERIFICATION MODULE STYLES (4 Modules, 6 Statuses, Upload & Progress)
   ========================================================================== */

/* 6 Status Badges */
.status-badge-not-started {
  background: hsl(var(--muted) / 0.7);
  color: hsl(var(--muted-foreground));
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(var(--border));
}

.status-badge-submitted {
  background: hsl(210 90% 95%);
  color: hsl(214 85% 35%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(210 90% 80%);
}

.status-badge-under-review {
  background: hsl(38 92% 94%);
  color: hsl(32 85% 32%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(38 92% 78%);
}

.status-badge-verified {
  background: hsl(158 50% 92%);
  color: hsl(158 70% 25%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(158 50% 75%);
}

.status-badge-rejected {
  background: hsl(0 84% 95%);
  color: hsl(0 72% 38%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(0 84% 80%);
}

.status-badge-reupload-required,
.status-badge-re-upload-required {
  background: hsl(24 95% 94%);
  color: hsl(24 95% 32%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid hsl(24 95% 75%);
}

/* KYC Module Section Layout */
.kyc-module-container {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.kyc-module-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.kyc-module-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kyc-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Individual KYC Card */
.kyc-card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.kyc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--primary) / 0.35);
}

.kyc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.kyc-card-title {
  font-size: 14px;
  font-weight: 800;
  color: hsl(var(--foreground));
  margin: 0 0 2px 0;
}

.kyc-card-sub {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

/* Document Thumbnail Preview */
.kyc-thumb-wrap {
  height: 120px;
  border-radius: 10px;
  background: hsl(var(--muted) / 0.25);
  border: 1px dashed hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.kyc-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.kyc-thumb-wrap img:hover {
  transform: scale(1.04);
}

.kyc-thumb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  text-align: center;
  padding: 10px;
}

/* File name info row */
.kyc-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  font-size: 12px;
}

.kyc-file-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Real-time Upload Progress Bar */
.kyc-upload-progress {
  display: none;
  margin-bottom: 12px;
}

.kyc-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.kyc-progress-track {
  width: 100%;
  height: 7px;
  background: hsl(var(--muted));
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.kyc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--primary)), #2f745b);
  border-radius: 999px;
  transition: width 0.15s ease-out;
}

/* Admin Remarks Callout Box */
.kyc-admin-remarks {
  background: hsl(38 92% 95% / 0.8);
  border: 1px solid hsl(38 92% 75%);
  border-left: 3px solid hsl(38 92% 45%);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  font-size: 11px;
  color: hsl(32 85% 26%);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.kyc-admin-remarks.danger {
  background: hsl(0 84% 96% / 0.9);
  border-color: hsl(0 84% 78%);
  border-left-color: hsl(0 84% 45%);
  color: hsl(0 72% 35%);
}

.kyc-admin-remarks.warning {
  background: hsl(24 95% 95% / 0.9);
  border-color: hsl(24 95% 75%);
  border-left-color: hsl(24 95% 45%);
  color: hsl(24 95% 30%);
}

.kyc-admin-remarks.success {
  background: hsl(158 50% 93% / 0.9);
  border-color: hsl(158 50% 75%);
  border-left-color: hsl(158 70% 35%);
  color: hsl(158 70% 22%);
}

/* Card Action Buttons */
.kyc-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-kyc-reupload {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-kyc-reupload:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-kyc-reupload:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-kyc-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-kyc-view:hover {
  background: hsl(var(--muted));
}

/* ==========================================================================
   City & State Location Landing Pages
   ========================================================================== */
.location-breadcrumb-pill {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  padding: 7px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}

.crumb-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.crumb-link:hover {
  color: hsl(var(--primary));
}

.crumb-icon {
  color: hsl(var(--muted-foreground) / 0.6);
  flex-shrink: 0;
}

.crumb-active {
  color: hsl(var(--foreground));
  font-weight: 700;
}

.city-sibling-pill {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.city-sibling-pill .pill-pin-icon {
  color: hsl(var(--primary));
  transition: color 0.2s ease;
}

.city-sibling-pill:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.city-sibling-pill.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: 0 6px 18px rgba(26, 76, 91, 0.28);
}

.city-sibling-pill.active .pill-pin-icon {
  color: hsl(var(--accent));
}

.location-cta-section {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(204 75% 22%) 100%);
  color: hsl(var(--primary-foreground));
  border-top: 1px solid hsl(var(--border));
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.location-cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: hsl(37 93% 55% / 0.12);
  right: -100px;
  top: -150px;
  filter: blur(20px);
  pointer-events: none;
}

.city-faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 18px 22px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.city-faq-item[open] {
  border-color: hsl(var(--primary) / 0.4);
}

.city-faq-summary {
  font-weight: 700;
  font-size: 15.5px;
  color: hsl(var(--foreground));
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.city-faq-summary::-webkit-details-marker {
  display: none;
}

.city-faq-summary .chevron {
  color: hsl(var(--primary));
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.city-faq-item[open] .city-faq-summary .chevron {
  transform: rotate(180deg);
}

.city-faq-body {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  border-top: 1px solid hsl(var(--border) / 0.7);
  padding-top: 14px;
}

@media (max-width: 860px) {
  .city-hero-grid,
  .calc-grid,
  .req-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}