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

:root {
    --brand-navy:   #1A1A2E;
    --brand-navy-light: #2E2E4A;
    --brand-teal:   #10B981;
    --brand-teal-soft: rgba(16, 185, 129, 0.10);
    --error-red:    #EF4444;
    --error-bg:     rgba(239, 68, 68, 0.07);
    --warn-amber:   #F59E0B;
    --text-main:    #0D1530;
    --text-sub:     #4A5578;
    --text-muted:   #8896B3;
    --input-bg:     #F0F0F8;
    --border:       #DDE3F0;
    --surface:      #FFFFFF;
    --bg:           #F7F9FC;
    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --r-sm:  8px;
    --r-md:  13px;
    --r-lg:  18px;
    --r-xl:  24px;
    /* Merchant purple accent */
    --merchant-purple:       #6C3DE8;
    --merchant-purple-deep:  #5a2fd4;
    --merchant-purple-mid:   rgba(108, 61, 232, 0.28);
    --merchant-purple-light: rgba(108, 61, 232, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ============================================================
   AUTH LAYOUT
   ============================================================ */
.auth-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ---- LEFT HERO PANEL ---- */
.auth-hero {
    position: relative;
    flex: 1.15;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 72px;
    overflow: hidden;
    background: var(--brand-navy);
}

.auth-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.85) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Dot grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(242,166,90,0.15) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 2;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2;
    pointer-events: none;
}
.orb-teal {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.30) 0%, transparent 70%);
    top: -60px; right: -60px;
}
.orb-amber {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.22) 0%, transparent 70%);
    bottom: 80px; left: -40px;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 500px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    padding: 6px 14px 6px 10px;
    border-radius: 100px;
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary, #F2A65A);
    margin-bottom: 22px;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-teal);
    box-shadow: 0 0 6px var(--brand-teal);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.7; }
}

/* Text slider */
.text-slider { position: relative; min-height: 140px; }
.text-slide {
    position: absolute; inset: 0;
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    pointer-events: none;
}
.text-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.text-slide.exit   { opacity: 0; transform: translateY(-14px); }

.text-slide h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.18;
    margin-bottom: 14px;
    color: white;
}
.text-slide h1 em { color: var(--brand-primary, #F2A65A); font-style: normal; }
.text-slide h1 em.teal { color: var(--brand-teal); }
.text-slide p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

/* Slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}
.slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.slider-dot.active {
    background: var(--brand-primary, #F2A65A);
    width: 22px;
    border-radius: 4px;
}
.slider-track {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    overflow: hidden;
    margin-left: 4px;
}
.slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary, #F2A65A), var(--brand-teal));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* Hero feature chips */
.hero-features {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.feat-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
}
.feat-chip i { color: var(--brand-teal); font-size: 0.9rem; }
.feat-chip.amber-chip i { color: var(--brand-primary, #F2A65A); }

/* ---- RIGHT AUTH PANEL ---- */
.auth-panel {
    flex: 0.85;
    background: var(--surface);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.auth-panel::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--border) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 52px 0 60px;
}

/* Logo */
.logo-container {
    margin-bottom: 36px;
}
.logo-container img { height: 48px; }
.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-navy);
    font-family: 'Sora', sans-serif;
}

/* ============================================================
   FORM VIEWS
   ============================================================ */
.form-view {
    animation: formFade 0.32s var(--ease-out) forwards;
}
@keyframes formFade {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-view h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
    line-height: 1.2;
}
.form-view .subtitle {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.input-group {
    margin-bottom: 18px;
    position: relative;
}
.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 7px;
    letter-spacing: 0.02em;
}

/* Input with optional left icon */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"],
.input-group input[type="tel"],
.input-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--input-bg);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.22s ease;
    outline: none;
    -webkit-appearance: none;
}

/* When inside input-wrap (with icon), add left padding */
.input-wrap input[type="text"],
.input-wrap input[type="email"],
.input-wrap input[type="password"] {
    padding-left: 42px;
}

.input-group input:focus,
.input-group select:focus {
    background: var(--surface);
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px var(--brand-teal-soft);
}
.input-wrap:focus-within .input-icon { color: var(--brand-teal); }
.input-group input.input-error {
    border-color: var(--error-red) !important;
    box-shadow: 0 0 0 4px var(--error-bg);
}

/* Password wrapper (for toggle button) */
.pass-wrapper {
    position: relative;
}
.pass-wrapper input { padding-right: 48px; }
/* When input-wrap + pass-wrapper are combined, both left icon and right toggle coexist */
.input-wrap.pass-wrapper input { padding-left: 42px; padding-right: 48px; }

/* Password toggle button — both old (.toggle-btn) and new (.toggle-pass) class */
.toggle-btn,
.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0.7;
    border: none;
    background: none;
    font-size: 1.05rem;
    transition: color 0.2s, opacity 0.2s;
    padding: 4px;
}
.toggle-btn:hover,
.toggle-pass:hover { color: var(--brand-navy); opacity: 1; }

/* Password strength */
.strength-meter,
.strength-track {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
    display: none;
}
.strength-bar,
.strength-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}
.strength-label,
.strength-text {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 5px;
    display: none;
}

.pass-requirements {
    margin-top: 10px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}
.req-item {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.req-item i { font-size: 0.8rem; color: var(--border); transition: color 0.2s; }
.req-item.met { color: var(--brand-teal); }
.req-item.met i { color: var(--brand-teal); }
.req-item.fail i { color: var(--error-red); }

/* Error / success messages */
.msg-error {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--error-red);
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 5px;
}
.msg-error.show { display: flex; }
.msg-success {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--brand-teal);
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 5px;
}
.msg-success.show { display: flex; }

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 4px;
}
.checkbox-group input[type="checkbox"] {
    width: 17px; height: 17px;
    accent-color: var(--brand-teal);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 4px;
}
.checkbox-group label {
    font-size: 0.83rem;
    color: var(--text-sub);
    cursor: pointer;
    line-height: 1.55;
}
.checkbox-group label a { color: var(--brand-teal); font-weight: 700; text-decoration: none; }
.checkbox-group label a:hover { text-decoration: underline; }

/* Forgot link */
.forgot-link {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 18px;
}
.forgot-link a {
    font-size: 0.82rem;
    color: var(--brand-teal);
    font-weight: 600;
    text-decoration: none;
}
.forgot-link a:hover { text-decoration: underline; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-submit {
    width: 100%;
    padding: 14.5px 20px;
    background: var(--brand-navy);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}
.btn-submit:hover:not(:disabled) {
    background: var(--brand-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.22);
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Spinner inside btn-submit (.spinner = old, .btn-spinner = reference alias) */
.btn-submit .spinner,
.btn-submit .btn-spinner {
    width: 17px; height: 17px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
    display: none;
}
.btn-submit.loading .btn-text,
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .spinner,
.btn-submit.loading .btn-spinner { display: block; }

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

/* Google / social button */
.btn-google {
    width: 100%;
    padding: 13px 20px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 10px;
    text-decoration: none;
    cursor: pointer;
}
.btn-google:hover { background: var(--input-bg); border-color: #b8c5dd; }
.btn-google img { width: 18px; }

/* Divider (old .divider + new .auth-divider) */
.divider,
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.divider::before, .divider::after,
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Footer / helper text */
.footer-text,
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.87rem;
    color: var(--text-sub);
}
.footer-text a, .auth-footer a,
.footer-text button, .auth-footer button {
    color: var(--brand-teal);
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}
.footer-text a:hover, .auth-footer a:hover { text-decoration: underline; }

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-sub);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    margin-bottom: 26px;
    transition: color 0.2s;
    padding: 0;
    text-decoration: none;
}
.back-link:hover { color: var(--brand-navy); }
.back-link i { font-size: 0.95rem; }

/* ============================================================
   OTP INPUTS
   ============================================================ */
.otp-wrapper,
.otp-wrap {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin: 20px 0;
}
.otp-input,
.otp-box {
    width: 50px; height: 56px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    font-family: 'Sora', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    color: var(--brand-navy);
    background: var(--input-bg);
    outline: none;
    transition: all 0.2s;
}
.otp-input:focus,
.otp-box:focus { border-color: var(--brand-teal); background: white; box-shadow: 0 0 0 4px var(--brand-teal-soft); }
.otp-input.otp-filled,
.otp-box.filled  { border-color: var(--brand-teal); background: var(--brand-teal-soft); }
.otp-input.otp-error,
.otp-box.error   { border-color: var(--error-red); background: var(--error-bg); animation: shakeX 420ms ease; }

/* Resend */
.resend-row {
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-sub);
    margin-top: 16px;
}
.resend-btn {
    background: none; border: none;
    color: var(--brand-teal); font-weight: 700;
    cursor: pointer; font-size: 0.84rem;
    font-family: inherit;
    text-decoration: none;
}
.resend-btn:disabled { color: var(--text-muted); cursor: default; }
#countdown { font-weight: 800; color: var(--brand-navy); }

/* Email hint */
.email-hint {
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-sub);
    margin-bottom: 4px;
}
.email-hint strong { color: var(--brand-navy); font-weight: 700; }

/* Info box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--brand-teal-soft);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--r-md);
    padding: 13px 15px;
    font-size: 0.83rem;
    color: var(--text-sub);
    margin-bottom: 20px;
    line-height: 1.5;
}
.info-box i { color: var(--brand-teal); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* Success icon */
.success-icon-wrap { text-align: center; margin: 16px 0 22px; }
.success-icon-wrap i { font-size: 3.8rem; color: var(--brand-teal); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay,
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 30, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-overlay.show,
.modal-backdrop.show { display: flex; }

.modal-card {
    width: 92%;
    max-width: 400px;
    background: #fff;
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(5,10,30,0.18);
    text-align: center;
    animation: modalIn 240ms var(--ease-spring);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-card .modal-icon i { font-size: 3.5rem; color: var(--brand-teal); }
.modal-card h3 { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--brand-navy); margin: 12px 0 8px; }
.modal-card p  { color: var(--text-sub); font-size: 0.88rem; line-height: 1.6; margin-bottom: 22px; }
.modal-actions { display: flex; gap: 8px; justify-content: center; }
.btn-modal { padding: 11px 20px; border-radius: var(--r-sm); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.9rem; transition: 0.2s; }
.btn-primary-modal { background: var(--brand-navy); color: white; }
.btn-primary-modal:hover { background: var(--brand-navy-light); }
.btn-ghost { background: white; border: 1.5px solid var(--border); color: var(--brand-navy); }
.btn-ghost:hover { background: var(--input-bg); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes shakeX {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-6px); }
    40%  { transform: translateX(6px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}
.shake { animation: shakeX 420ms ease; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .auth-hero { display: none; }
    .auth-panel { flex: 1; }
}
@media (max-width: 480px) {
    .auth-panel { padding: 24px; }
    .auth-container { padding-top: 36px; }
    .otp-input, .otp-box { width: 43px; height: 50px; font-size: 1.25rem; }
    .form-view h2 { font-size: 1.65rem; }
    .pass-requirements { grid-template-columns: 1fr; }
}

/* ============================================================
   MERCHANT AUTH ADDITIONS
   ============================================================ */

/* User-type toggle tabs */
.user-type-toggle {
    display: flex;
    gap: 6px;
    background: var(--input-bg);
    border-radius: var(--r-md);
    padding: 4px;
    margin-bottom: 22px;
}
.user-type-toggle .toggle-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: calc(var(--r-md) - 2px);
    border: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s var(--ease-out);
}
.user-type-toggle .toggle-tab:hover {
    color: var(--text-sub);
}
.user-type-toggle .toggle-tab.active {
    background: var(--surface);
    color: var(--text-main);
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.user-type-toggle .toggle-tab.merchant-tab.active {
    color: var(--merchant-purple);
}

/* Role badge */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.user-badge {
    background: var(--brand-primary-soft, rgba(242,166,90,0.10));
    color: var(--brand-primary, #F2A65A);
    border: 1px solid var(--brand-primary-mid, rgba(242,166,90,0.22));
}
.merchant-badge {
    background: var(--merchant-purple-light);
    color: var(--merchant-purple);
    border: 1px solid rgba(108, 61, 232, 0.18);
}

/* accent-purple for h2 spans */
.accent-purple { color: var(--merchant-purple); }

/* Phone input row (flag + number) */
.phone-row {
    display: flex;
    gap: 8px;
}
.phone-row select {
    width: 110px;
    flex-shrink: 0;
}
.phone-row .input-wrap {
    flex: 1;
}

/* Checkbox/terms row for merchant */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--merchant-purple);
    cursor: pointer;
}
.checkbox-row label {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.5;
    cursor: pointer;
}
.checkbox-row label a {
    color: var(--merchant-purple);
    text-decoration: none;
}
.checkbox-row label a:hover { text-decoration: underline; }

/* Forgot row for merchant login */
.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    margin-top: -6px;
}
.forgot-row .forgot-link {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--merchant-purple);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}
.forgot-row .forgot-link:hover { text-decoration: underline; }

/* Email hint in verify view */
.email-hint {
    font-size: 0.82rem;
    color: var(--text-sub);
    margin-bottom: 18px;
    text-align: center;
}
.email-hint strong { color: var(--text-main); }

/* Merchant hero overrides (purple orbs instead of teal) */
.merchant-hero .hero-badge { background: rgba(108, 61, 232, 0.18); }
.merchant-hero .hero-badge-dot { background: var(--merchant-purple) !important; box-shadow: 0 0 6px var(--merchant-purple) !important; }
.merchant-hero .hero-content h1 em { color: var(--merchant-purple); font-style: normal; }
.merchant-hero .slider-dot.active { background: var(--merchant-purple) !important; }
.merchant-hero .slider-fill { background: linear-gradient(90deg, var(--merchant-purple), var(--merchant-purple-deep)) !important; }
