:root {
    --teal: #2563EB;
    --teal-dark: #1d4ed8;
    --teal-light: #eff6ff;
    --teal-mid: #bfdbfe;
    --navy: #0f172a;
    --slate: #475569;
    --cream: #f8fafc;
    --white: #ffffff;
    --shadow-soft: 0 4px 32px rgba(37,99,235,0.08);
    --shadow-card: 0 8px 48px rgba(15,23,42,0.10);
    --shadow-hover: 0 20px 64px rgba(37,99,235,0.18);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  /* Background mesh */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 10% 20%, rgba(37,99,235,0.10) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 90% 80%, rgba(37,99,235,0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 56px;
    border-bottom: 1px solid rgba(37,99,235,0.15);
    background: rgba(247,250,249,0.85);
    backdrop-filter: blur(10px);
  }

  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
  }
  .logo span { color: var(--teal); }

  .header-badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-light);
    border: 1px solid var(--teal-mid);
    padding: 6px 16px;
    border-radius: 99px;
  }

  main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 80px;
  }

  .hero-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
  }

  .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.15;
    max-width: 680px;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 1rem;
    color: var(--slate);
    text-align: center;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 72px;
    font-weight: 300;
  }

  .tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1060px;
    width: 100%;
  }

  .tile {
    position: relative;
    background: var(--white);
    border: 1.5px solid rgba(37,99,235,0.18);
    border-radius: 24px;
    padding: 52px 40px 44px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color 0.25s ease,
                background 0.25s ease;
    overflow: hidden;
  }

  .tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
  }

  .tile:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
    background: #fdfffe;
  }

  .tile:hover::before { opacity: 1; }

  .tile.featured {
    border-color: var(--teal);
    background: linear-gradient(160deg, #f0fcf9 0%, #ffffff 60%);
  }

  .tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--teal-light);
    border: 1.5px solid var(--teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: background 0.25s ease, transform 0.3s ease;
  }

  .tile:hover .tile-icon {
    background: var(--teal);
    transform: scale(1.08);
  }

  .tile:hover .tile-icon svg { color: white; }
  .tile-icon svg { color: var(--teal); transition: color 0.25s; }

  .tile-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(37,99,235,0.08);
    line-height: 1;
    transition: color 0.3s;
    user-select: none;
  }

  .tile:hover .tile-number { color: rgba(37,99,235,0.14); }

  .tile-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
  }

  .tile-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .tile-desc {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
    font-weight: 300;
    flex: 1;
    margin-bottom: 36px;
  }

  .tile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    transition: gap 0.25s ease;
  }

  .tile:hover .tile-cta { gap: 16px; }

  .tile-cta .arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
  }

  .tile:hover .tile-cta .arrow {
    background: var(--teal);
    transform: rotate(-45deg);
  }

  .tile:hover .tile-cta .arrow svg { color: white; }
  .tile-cta .arrow svg { color: var(--teal); transition: color 0.25s; }

  /* Decorative line at bottom */
  footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 28px;
    font-size: 0.78rem;
    color: #aab8b6;
    border-top: 1px solid rgba(37,99,235,0.10);
  }

  @media (max-width: 860px) {
    .tiles { grid-template-columns: 1fr; max-width: 440px; }
    header { padding: 20px 24px; }
    .hero-title { font-size: 2.2rem; }
  }

  /* Entrance animation */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-label { animation: fadeUp 0.5s ease both; }
  .hero-title { animation: fadeUp 0.5s 0.1s ease both; }
  .hero-sub { animation: fadeUp 0.5s 0.2s ease both; }
  .tile:nth-child(1) { animation: fadeUp 0.6s 0.3s ease both; }
  .tile:nth-child(2) { animation: fadeUp 0.6s 0.4s ease both; }
  .tile:nth-child(3) { animation: fadeUp 0.6s 0.5s ease both; }














    :root {
    --teal: #2563EB;
    --teal-dark: #1d4ed8;
    --teal-light: #eff6ff;
    --teal-mid: #bfdbfe;
    --navy: #0f172a;
    --slate: #475569;
    --cream: #f8fafc;
    --white: #ffffff;
    --border: rgba(37,99,235,0.2);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 85% 15%, rgba(37,99,235,0.09) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 15% 80%, rgba(37,99,235,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    background: rgba(247,250,249,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
  }
  .logo span { color: var(--teal); }

  .back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
  }
  .back-btn:hover { color: var(--teal); }

  /* ===== LOGIN PAGES ===== */
  .login-wrapper {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
  }

  .login-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 52px 56px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 12px 56px rgba(15,23,42,0.10);
    animation: fadeUp 0.5s ease both;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .login-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--teal-light);
    border: 1.5px solid var(--teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
  }

  .login-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .login-sub {
    font-size: 0.88rem;
    color: var(--slate);
    font-weight: 300;
    margin-bottom: 36px;
    line-height: 1.6;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
  }

  label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
  }

  .input-wrap {
    position: relative;
  }

  .input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--teal);
    pointer-events: none;
  }

  input[type="text"] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1.5px solid rgba(37,99,235,0.25);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.04em;
  }

  input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  }

  .hint-text {
    font-size: 0.76rem;
    color: #aab8b6;
    margin-top: 2px;
  }

  .error-box {
    background: #fef2f2;
    border: 1px solid #fcd4d4;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.83rem;
    color: #c0392b;
    display: none;
    margin-bottom: 16px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
    width: 100%;
  }

  .btn-primary {
    background: var(--teal);
    color: white;
    box-shadow: 0 4px 20px rgba(37,99,235,0.30);
    margin-top: 8px;
  }
  .btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.38);
  }

  .btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--border);
    margin-top: 10px;
  }
  .btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

  .page { display: none; }
  .page.active { display: block; animation: fadeUp 0.4s ease both; }

  /* OTP */
  .otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 28px 0 8px;
  }

  .otp-inputs input[type="text"] {
    width: 56px;
    height: 62px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0;
    letter-spacing: 0;
  }

  .otp-email-display {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .otp-timer {
    font-size: 0.82rem;
    color: var(--slate);
    text-align: center;
    margin-bottom: 12px;
  }
  .otp-timer span { color: var(--teal); font-weight: 500; }

  .resend-btn {
    background: none;
    border: none;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    display: block;
    margin: 0 auto 24px;
  }

  /* ===== PORTAL DASHBOARD ===== */
  .portal-wrapper {
    display: none;
  }

  .portal-wrapper.active {
    display: block;
    animation: fadeUp 0.5s ease both;
  }

  .portal-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 73px;
    z-index: 50;
  }

  .portal-welcome {
    font-size: 0.88rem;
    color: var(--slate);
  }

  .portal-welcome strong {
    color: var(--navy);
    font-weight: 600;
  }

  .portal-ref {
    font-size: 0.78rem;
    background: var(--teal-light);
    border: 1px solid var(--teal-mid);
    color: var(--teal);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    letter-spacing: 0.05em;
  }

  .portal-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
  }

  .portal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
  }

  .portal-sub {
    font-size: 0.88rem;
    color: var(--slate);
    font-weight: 300;
    margin-bottom: 40px;
  }

  /* Stats */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .stat-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,99,235,0.12); }

  .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-light);
    border: 1px solid var(--teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.78rem;
    color: var(--slate);
    font-weight: 400;
  }

  /* Info sections */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .section-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(15,23,42,0.05);
  }

  .section-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(37,99,235,0.12);
  }

  .section-card-title svg { color: var(--teal); }

  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(37,99,235,0.08);
  }
  .info-row:last-child { border: none; }

  .info-key {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .info-val {
    font-size: 0.88rem;
    color: var(--navy);
    text-align: right;
    word-break: break-all;
  }

  /* Documents table */
  .doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
  }

  .doc-table th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--slate);
    padding: 10px 14px;
    border-bottom: 2px solid rgba(37,99,235,0.15);
  }

  .doc-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(37,99,235,0.08);
    color: var(--navy);
    vertical-align: middle;
  }

  .doc-table tr:last-child td { border: none; }

  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
  }

  .status-badge.verified {
    background: rgba(37,99,235,0.12);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid);
  }

  .status-badge.pending {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
  }

  .logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
    background: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
  }
  .logout-btn:hover { border-color: var(--teal); color: var(--teal); }

  @media (max-width: 768px) {
    .login-card { padding: 36px 24px; }
    header { padding: 18px 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .portal-topbar { padding: 14px 20px; flex-direction: column; gap: 10px; align-items: flex-start; }
    .portal-body { padding: 28px 16px 60px; }
  }















  :root {
    --teal: #2563EB;
    --teal-dark: #1d4ed8;
    --teal-light: #eff6ff;
    --teal-mid: #bfdbfe;
    --navy: #0f172a;
    --slate: #475569;
    --cream: #f8fafc;
    --white: #ffffff;
    --error: #e05252;
    --success: #2ecc71;
    --border: rgba(37,99,235,0.2);
    --border-focus: var(--teal);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 50% 60% at 0% 0%, rgba(37,99,235,0.09) 0%, transparent 60%),
      radial-gradient(ellipse 40% 50% at 100% 100%, rgba(37,99,235,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    background: rgba(247,250,249,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
  }
  .logo span { color: var(--teal); }

  .back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.2s;
  }
  .back-btn:hover { color: var(--teal); }

  /* Steps */
  .steps-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 32px 24px 0;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--teal-mid);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #aac;
    transition: all 0.3s ease;
  }

  .step.active .step-circle {
    border-color: var(--teal);
    background: var(--teal);
    color: white;
  }

  .step.done .step-circle {
    border-color: var(--teal);
    background: var(--teal-light);
    color: var(--teal);
  }

  .step-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: #aab8b6;
    white-space: nowrap;
  }
  .step.active .step-label { color: var(--teal); }
  .step.done .step-label { color: var(--slate); }

  .step-line {
    width: 80px;
    height: 2px;
    background: var(--teal-mid);
    margin-bottom: 28px;
    transition: background 0.3s;
    flex-shrink: 0;
  }
  .step-line.done { background: var(--teal); }

  /* Container */
  .container {
    position: relative;
    z-index: 1;
    /* max-width: 760px; */
    margin: 0 auto;
    padding: 48px 24px 80px;
  }

  .page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .page-sub {
    font-size: 0.92rem;
    color: var(--slate);
    font-weight: 300;
    margin-bottom: 40px;
  }

  /* Card */
  .card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(15,23,42,0.08);
  }

  /* Form panels */
  .form-panel { display: none; }
  .form-panel.active { display: block; animation: fadeUp 0.4s ease both; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(37,99,235,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title svg { color: var(--teal); }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .form-group.full { grid-column: 1 / -1; }

  label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
  }

  input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], select, textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(37,99,235,0.25);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--navy);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
  }

  input:focus, select:focus, textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  }

  textarea { resize: vertical; min-height: 100px; }

  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232EC4A9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
  }

  /* Upload area */
  .upload-zone {
    border: 2px dashed var(--teal-mid);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--teal-light);
    position: relative;
  }

  .upload-zone:hover, .upload-zone.dragover {
    border-color: var(--teal);
    background: rgba(37,99,235,0.08);
  }

  .upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }

  .upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--white);
    border: 1.5px solid var(--teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
  }

  .upload-title {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.95rem;
  }

  .upload-hint {
    font-size: 0.8rem;
    color: var(--slate);
    font-weight: 300;
  }

  .upload-hint span {
    color: var(--teal);
    font-weight: 500;
    cursor: pointer;
  }

  .file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--slate);
  }

  .file-item svg { color: var(--teal); flex-shrink: 0; }

  .file-item .remove-btn {
    margin-left: auto;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 2px;
  }
  .file-item .remove-btn:hover { color: var(--error); }

  /* OTP panel */
  .otp-panel {
    text-align: center;
    padding: 20px 0;
  }

  .otp-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--teal-light);
    border: 2px solid var(--teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
  }

  .otp-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
  }

  .otp-desc {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 6px;
    font-weight: 300;
  }

  .otp-email {
    font-weight: 600;
    color: var(--teal);
    font-size: 0.92rem;
    margin-bottom: 36px;
  }

  .otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
  }

  .otp-inputs input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    padding: 0;
  }

  .otp-inputs input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  }

  .otp-inputs input.filled {
    border-color: var(--teal);
    background: var(--teal-light);
  }

  .otp-timer {
    font-size: 0.82rem;
    color: var(--slate);
    margin-bottom: 16px;
  }
  .otp-timer span { color: var(--teal); font-weight: 500; }

  .resend-btn {
    background: none;
    border: none;
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
  }

  /* Success panel */
  .success-panel {
    text-align: center;
    padding: 40px 20px;
  }

  .success-anim {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal-light);
    border: 2px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275) both;
  }

  @keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .success-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
  }

  .success-desc {
    font-size: 0.92rem;
    color: var(--slate);
    font-weight: 300;
    max-width: 380px;
    margin: 0 auto 36px;
    line-height: 1.7;
  }

  .ref-number {
    background: var(--teal-light);
    border: 1.5px solid var(--teal-mid);
    border-radius: 12px;
    padding: 18px 32px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 36px;
  }

  .ref-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
  .ref-code { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 700; color: var(--teal); letter-spacing: 0.05em; }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .btn-primary {
    background: var(--teal);
    color: white;
    box-shadow: 0 4px 20px rgba(37,99,235,0.30);
  }
  .btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.38);
  }

  .btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--border);
  }
  .btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  .btn-full { width: 100%; }

  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(37,99,235,0.12);
  }

  .error-msg {
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 4px;
    display: none;
  }

  .form-group.error input { border-color: var(--error); }
  .form-group.error .error-msg { display: block; }

  @media (max-width: 600px) {
    .card { padding: 28px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    header { padding: 18px 20px; }
    .container { padding: 32px 16px 60px; }
    .step-line { width: 40px; }
  }