/* ==========================================================================
   VAG BRAND — AFFILIATE PARTNER ONBOARDING PORTAL
   STYLE: DARK GLASS + MULTI-COLOR PREMIUM SINGLE-PAGE UI
   ========================================================================== */

:root {
    /* Base Dark Surfaces */
    --dg-bg-base: #060D17;
    --dg-bg-card: rgba(15, 23, 42, 0.78);
    --dg-bg-section: rgba(30, 41, 59, 0.52);
    --dg-bg-section-hover: rgba(30, 41, 59, 0.75);
    --dg-bg-input: rgba(15, 23, 42, 0.75);
    --dg-bg-input-focus: rgba(15, 23, 42, 0.95);

    /* Glass Borders */
    --dg-border-card: rgba(255, 255, 255, 0.12);
    --dg-border-section: rgba(255, 255, 255, 0.08);
    --dg-border-input: rgba(255, 255, 255, 0.16);
    --dg-border-hover: rgba(255, 255, 255, 0.32);

    /* High-Contrast Typography */
    --dg-text-white: #FFFFFF;
    --dg-text-heading: #F8FAFC;
    --dg-text-label: #E2E8F0;
    --dg-text-body: #CBD5E1;
    --dg-text-muted: #94A3B8;
    --dg-text-subtle: #64748B;

    /* Controlled Multi-Color System */
    --dg-emerald: #10B981;
    --dg-emerald-dark: #059669;
    --dg-emerald-glow: rgba(16, 185, 129, 0.28);
    --dg-emerald-tint: rgba(16, 185, 129, 0.12);
    --dg-emerald-border: rgba(16, 185, 129, 0.40);

    --dg-teal: #14B8A6;
    --dg-cyan: #06B6D4;
    --dg-cyan-tint: rgba(6, 182, 212, 0.12);
    --dg-cyan-border: rgba(6, 182, 212, 0.38);

    --dg-blue: #3B82F6;
    --dg-blue-tint: rgba(59, 130, 246, 0.12);
    --dg-blue-border: rgba(59, 130, 246, 0.38);

    --dg-purple: #8B5CF6;
    --dg-purple-tint: rgba(139, 92, 246, 0.14);
    --dg-purple-border: rgba(139, 92, 246, 0.40);

    --dg-gold: #F59E0B;
    --dg-gold-tint: rgba(245, 158, 11, 0.12);
    --dg-gold-border: rgba(245, 158, 11, 0.35);

    --dg-error: #EF4444;
    --dg-error-bg: rgba(239, 68, 68, 0.15);
    --dg-error-border: rgba(239, 68, 68, 0.45);

    /* Dimensions & Shadows */
    --dg-radius-card: 28px;
    --dg-radius-section: 20px;
    --dg-radius-input: 13px;

    --dg-shadow-card: 0 30px 80px -15px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(255, 255, 255, 0.1);
    --dg-shadow-btn: 0 12px 32px -4px rgba(16, 185, 129, 0.42), 0 4px 14px -2px rgba(59, 130, 246, 0.3);
    --dg-shadow-btn-hover: 0 16px 40px -4px rgba(16, 185, 129, 0.55), 0 6px 18px -2px rgba(139, 92, 246, 0.35);
}

/* --------------------------------------------------------------------------
   PAGE BACKGROUND: SOPHISTICATED DARK MULTI-COLOR CANVAS
   -------------------------------------------------------------------------- */
#pageRegister {
    background-color: var(--dg-bg-base) !important;
    background-image:
        radial-gradient(circle at 12% 12%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.13) 0%, transparent 50%),
        radial-gradient(circle at 20% 85%, rgba(6, 182, 212, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 82% 82%, rgba(245, 158, 11, 0.10) 0%, transparent 40%),
        linear-gradient(150deg, #060D17 0%, #0A1424 35%, #0D1629 70%, #061118 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: var(--dg-text-body);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/* Subtle Ambient Noise / Glow Orbs for Registration */
#pageRegister::before {
    content: "";
    position: fixed;
    top: 5%;
    left: 15%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

#pageRegister::after {
    content: "";
    position: fixed;
    bottom: 10%;
    right: 12%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.13) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* Main Outer Container (Centered Premium Layout) */
.reg-dark-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 20px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   TOP BRAND BAR (DARK GLASS HEADER)
   -------------------------------------------------------------------------- */
.reg-dark-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dg-border-card);
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.reg-dark-brand-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reg-dark-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.reg-dark-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.reg-dark-brand-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
}

.reg-dark-portal-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dg-text-white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 4px 12px;
    border-radius: 999px;
}

.reg-dark-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dg-emerald);
    box-shadow: 0 0 8px var(--dg-emerald);
    display: inline-block;
}

.reg-dark-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reg-dark-login-prompt {
    font-size: 13px;
    color: var(--dg-text-muted);
}

.reg-dark-btn-login-outline {
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-emerald);
    text-decoration: none;
    padding: 6px 16px;
    border: 1.5px solid var(--dg-emerald);
    border-radius: 10px;
    transition: all 0.2s ease;
    background: var(--dg-emerald-tint);
}

.reg-dark-btn-login-outline:hover {
    background: var(--dg-emerald);
    color: #FFFFFF;
    box-shadow: 0 0 14px var(--dg-emerald-glow);
}

/* --------------------------------------------------------------------------
   DEDICATED TOP PROMO BANNER (NEVER TOUCHING FORM CARD)
   -------------------------------------------------------------------------- */
.reg-dark-banner-frame {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    background: rgba(15, 23, 42, 0.65);
    margin-bottom: 26px; /* Generous breathing room, NEVER touching form */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reg-dark-banner-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
}

.reg-dark-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 19px;
}

/* --------------------------------------------------------------------------
   MAIN GLASS REGISTRATION CONTAINER
   -------------------------------------------------------------------------- */
.reg-dark-card {
    background: var(--dg-bg-card);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid var(--dg-border-card);
    border-radius: var(--dg-radius-card);
    padding: clamp(24px, 4.5vw, 46px);
    box-shadow: var(--dg-shadow-card);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Header Area Inside Card */
.reg-dark-header {
    text-align: center;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    position: relative;
}

.reg-dark-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.16) 100%);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.35);
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.reg-dark-title {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 900;
    color: var(--dg-text-white);
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.reg-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, #A7F3D0 60%, #67E8F9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reg-dark-subtitle {
    font-size: 14.5px;
    color: var(--dg-text-body);
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.55;
}

/* Multi-Color Trust Highlights Strip */
.reg-dark-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.reg-dark-trust-pill {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reg-dark-trust-pill.emerald {
    background: var(--dg-emerald-tint);
    border: 1px solid var(--dg-emerald-border);
    color: #6EE7B7;
}

.reg-dark-trust-pill.blue {
    background: var(--dg-blue-tint);
    border: 1px solid var(--dg-blue-border);
    color: #93C5FD;
}

.reg-dark-trust-pill.purple {
    background: var(--dg-purple-tint);
    border: 1px solid var(--dg-purple-border);
    color: #C4B5FD;
}

.reg-dark-trust-pill.gold {
    background: var(--dg-gold-tint);
    border: 1px solid var(--dg-gold-border);
    color: #FCD34D;
}

/* --------------------------------------------------------------------------
   DARK FORM SECTIONS (SLIGHTLY LIGHTER CHARCOAL/GREEN SURFACES)
   -------------------------------------------------------------------------- */
.reg-dark-section {
    background: var(--dg-bg-section);
    border: 1px solid var(--dg-border-section);
    border-radius: var(--dg-radius-section);
    padding: clamp(20px, 3.2vw, 30px);
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.reg-dark-section:hover {
    background: var(--dg-bg-section-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.reg-dark-sec-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section Number Badges (Controlled Multi-Color Theme) */
.reg-dark-sec-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.sec-emerald .reg-dark-sec-num {
    background: var(--dg-emerald-tint);
    color: #34D399;
    border: 1px solid var(--dg-emerald-border);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.sec-blue .reg-dark-sec-num {
    background: var(--dg-blue-tint);
    color: #60A5FA;
    border: 1px solid var(--dg-blue-border);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.sec-purple .reg-dark-sec-num {
    background: var(--dg-purple-tint);
    color: #A78BFA;
    border: 1px solid var(--dg-purple-border);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.sec-teal .reg-dark-sec-num {
    background: var(--dg-cyan-tint);
    color: #22D3EE;
    border: 1px solid var(--dg-cyan-border);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.sec-indigo .reg-dark-sec-num {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #818CF8;
    border: 1px solid rgba(129, 140, 248, 0.4);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.reg-dark-sec-titles {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reg-dark-sec-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--dg-text-white);
    margin: 0;
    letter-spacing: -0.01em;
}

.reg-dark-sec-desc {
    font-size: 12.5px;
    color: var(--dg-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   INPUT FIELD ARCHITECTURE & 2-COLUMN GRIDS
   -------------------------------------------------------------------------- */
.reg-dark-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

.reg-dark-row-2col:last-child {
    margin-bottom: 0;
}

.reg-dark-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    width: 100%;
}

.reg-dark-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dg-text-label);
    display: flex;
    align-items: center;
    gap: 4px;
}

.reg-dark-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reg-dark-req {
    color: #F87171;
    font-weight: 800;
}

.reg-dark-tag-hint {
    font-size: 11px;
    font-weight: 800;
    color: #34D399;
    background: var(--dg-emerald-tint);
    border: 1px solid var(--dg-emerald-border);
    padding: 2px 8px;
    border-radius: 999px;
}

.reg-dark-tag-optional {
    font-size: 11px;
    font-weight: 600;
    color: var(--dg-text-subtle);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 999px;
}

/* Input Wrapper & High-Contrast Surfaces */
.reg-dark-input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.reg-dark-input-icon {
    position: absolute;
    left: 16px;
    font-size: 16px;
    color: var(--dg-text-muted);
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}

.reg-dark-input,
.reg-v2-input,
.reg-glass-input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 48px;
    background: var(--dg-bg-input);
    border: 1.5px solid var(--dg-border-input);
    border-radius: var(--dg-radius-input);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dg-text-white);
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.reg-dark-input::placeholder,
.reg-v2-input::placeholder,
.reg-glass-input::placeholder {
    color: var(--dg-text-muted);
    font-weight: 500;
}

.reg-dark-input:hover,
.reg-v2-input:hover,
.reg-glass-input:hover {
    border-color: var(--dg-border-hover);
    background: rgba(30, 41, 59, 0.7);
}

.reg-dark-input:focus,
.reg-v2-input:focus,
.reg-glass-input:focus {
    border-color: var(--dg-emerald);
    background: var(--dg-bg-input-focus);
    box-shadow: 0 0 0 4px var(--dg-emerald-glow), 0 0 20px rgba(16, 185, 129, 0.2);
    outline: none;
    color: #FFFFFF;
}

/* Dark Mobile Input with +91 Prefix */
.reg-dark-phone-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.reg-dark-phone-prefix {
    position: absolute;
    left: 10px;
    font-size: 13.5px;
    font-weight: 800;
    color: #F8FAFC;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 10px;
    border-radius: 9px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reg-dark-phone-box input {
    padding-left: 96px;
}

/* Dark Address Textarea */
.textarea-dark-box {
    align-items: flex-start;
}

.reg-dark-textarea,
.reg-v2-textarea,
.reg-glass-textarea {
    width: 100%;
    min-height: 90px;
    padding: 14px 16px 14px 48px;
    background: var(--dg-bg-input);
    border: 1.5px solid var(--dg-border-input);
    border-radius: var(--dg-radius-input);
    font-size: 14px;
    font-weight: 500;
    color: var(--dg-text-white);
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    resize: vertical;
    line-height: 1.5;
}

.reg-dark-textarea:focus,
.reg-v2-textarea:focus,
.reg-glass-textarea:focus {
    border-color: var(--dg-emerald);
    background: var(--dg-bg-input-focus);
    box-shadow: 0 0 0 4px var(--dg-emerald-glow), 0 0 20px rgba(16, 185, 129, 0.2);
    outline: none;
    color: #FFFFFF;
}

.reg-dark-helper {
    font-size: 11.5px;
    color: var(--dg-text-muted);
    line-height: 1.4;
    margin-top: 3px;
}

.code-font {
    font-family: 'JetBrains Mono', 'Roboto Mono', 'SF Pro Text', monospace !important;
    letter-spacing: 0.06em;
    font-weight: 700;
}

/* Error States */
.reg-dark-input.has-error,
.reg-v2-input.has-error,
.reg-glass-input.has-error,
.reg-dark-textarea.has-error,
.reg-v2-textarea.has-error,
.reg-glass-textarea.has-error {
    border-color: var(--dg-error) !important;
    background: var(--dg-error-bg) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.reg-field-error-msg {
    display: none;
    font-size: 11.5px;
    font-weight: 700;
    color: #F87171;
    margin-top: 5px;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   03. PAPERLESS KYC BANNER (SUBTLE EMERALD/TEAL GLASS)
   -------------------------------------------------------------------------- */
.reg-dark-paperless-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.10) 100%);
    border: 1px solid var(--dg-emerald-border);
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.paperless-icon {
    font-size: 20px;
    color: #34D399;
    flex-shrink: 0;
}

.paperless-text {
    font-size: 13px;
    color: #D1FAE5;
    line-height: 1.45;
}

.paperless-text strong {
    font-weight: 800;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   04. PLATFORM SELECTOR (DARK GLASS MULTI-SELECT, NO URL FIELDS)
   -------------------------------------------------------------------------- */
.reg-dark-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.platform-opt-card {
    background: var(--dg-bg-input);
    border: 1.5px solid var(--dg-border-input);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.platform-opt-card:hover {
    border-color: var(--dg-border-hover);
    background: rgba(30, 41, 59, 0.85);
    transform: translateY(-1px);
}

.platform-opt-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-opt-icon {
    font-size: 18px;
    line-height: 1;
}

.platform-opt-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-text-white);
}

.platform-opt-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: transparent;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Selected Platform: Glowing Emerald / Teal State */
.platform-opt-card.selected {
    border-color: var(--dg-emerald);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.16) 100%);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.25), inset 0 0 12px rgba(16, 185, 129, 0.1);
}

.platform-opt-card.selected .platform-opt-name {
    color: #FFFFFF;
    font-weight: 800;
}

.platform-opt-card.selected .platform-opt-checkbox {
    background: var(--dg-emerald);
    border-color: var(--dg-emerald);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Selected Platforms Tag Summary Bar */
.reg-dark-selected-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 14px;
}

.reg-dark-selected-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--dg-text-muted);
}

.reg-dark-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid var(--dg-emerald-border);
    color: #6EE7B7;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.selected-platform-remove {
    background: transparent;
    border: none;
    color: #34D399;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.selected-platform-remove:hover {
    color: #F87171;
}

/* --------------------------------------------------------------------------
   05. LIVE PHOTO VERIFICATION (DARK GLASS BIOMETRIC AREA)
   -------------------------------------------------------------------------- */
.reg-dark-camera-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid var(--dg-blue-border);
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.cam-prompt-icon {
    font-size: 20px;
    color: #60A5FA;
    flex-shrink: 0;
}

.cam-prompt-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #DBEAFE;
}

.reg-dark-camera-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-sizing: border-box;
}

/* Camera Viewport with Multi-Color Ambient Glow */
.camera-viewport {
    width: 100%;
    max-width: 360px;
    height: 270px;
    margin: 0 auto 18px;
    background: #020617;
    border-radius: 16px;
    border: 2px solid rgba(16, 185, 129, 0.45);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.18), 0 0 30px rgba(59, 130, 246, 0.12);
}

/* Biometric Viewfinder Reticles */
.camera-reticle {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--dg-emerald);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 8px var(--dg-emerald);
}

.camera-reticle.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.camera-reticle.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.camera-reticle.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.camera-reticle.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.camera-face-oval {
    position: absolute;
    width: 160px;
    height: 200px;
    border: 2px dashed rgba(52, 211, 153, 0.7);
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.camera-stream-video,
.camera-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

.reg-dark-camera-standby {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dg-text-muted);
    padding: 20px;
}

.standby-icon {
    font-size: 44px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.3));
}

.standby-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--dg-text-white);
}

.standby-sub {
    font-size: 12px;
    color: var(--dg-text-muted);
    margin-top: 4px;
}

/* Camera Action Buttons */
.reg-dark-camera-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.reg-dark-btn-cam-primary,
.reg-dark-btn-cam-capture,
.reg-dark-btn-cam-outline,
.reg-dark-btn-cam-danger {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    font-family: inherit;
}

.reg-dark-btn-cam-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.reg-dark-btn-cam-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.reg-dark-btn-cam-capture {
    background: linear-gradient(135deg, #059669 0%, #0D9488 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.reg-dark-btn-cam-capture:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6);
}

.reg-dark-btn-cam-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dg-text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.reg-dark-btn-cam-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.reg-dark-btn-cam-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1.5px solid rgba(239, 68, 68, 0.35);
}

.reg-dark-btn-cam-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

.reg-dark-cam-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border: 1px solid var(--dg-emerald-border);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 12px;
}

.reg-dark-fallback-wrap {
    font-size: 12px;
    color: var(--dg-text-muted);
    margin-top: 10px;
}

.fallback-upload-trigger {
    color: #34D399;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
}

/* --------------------------------------------------------------------------
   CONSENT CHECKBOXES (DARK GLASS BLOCK)
   -------------------------------------------------------------------------- */
.reg-dark-consent-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 26px;
}

.reg-dark-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--dg-text-body);
    line-height: 1.45;
    cursor: pointer;
}

.reg-dark-checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: var(--dg-emerald);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.reg-dark-checkbox-row a {
    color: #34D399;
    font-weight: 700;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   STRONG MULTI-COLOR CTA BUTTON
   -------------------------------------------------------------------------- */
.reg-dark-btn-submit {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #059669 0%, #0D9488 50%, #2563EB 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--dg-shadow-btn);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.reg-dark-btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.reg-dark-btn-submit:hover {
    background: linear-gradient(135deg, #10B981 0%, #14B8A6 50%, #3B82F6 100%);
    box-shadow: var(--dg-shadow-btn-hover);
    transform: translateY(-2px);
}

.reg-dark-btn-submit:hover::before {
    left: 100%;
}

.reg-dark-btn-submit:active {
    transform: translateY(0);
}

.reg-dark-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Link */
.reg-dark-footer {
    text-align: center;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    color: var(--dg-text-muted);
}

.reg-dark-footer-link {
    color: #34D399;
    font-weight: 800;
    text-decoration: none;
    margin-left: 4px;
    display: inline-block;
}

.reg-dark-footer-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   MATCHING DARK GLASS OTP VERIFICATION SCREEN
   -------------------------------------------------------------------------- */
.reg-dark-otp-card {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--dg-border-card);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--dg-shadow-card);
    text-align: center;
}

.reg-dark-otp-header {
    margin-bottom: 22px;
}

.otp-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid var(--dg-emerald-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.otp-main-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--dg-text-white);
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.otp-main-sub {
    font-size: 14px;
    color: var(--dg-text-body);
    margin: 0 0 14px 0;
}

.otp-email-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-text-white);
}

.otp-paste-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #7DD3FC;
    background: rgba(2, 132, 199, 0.14);
    border: 1px solid rgba(2, 132, 199, 0.35);
    padding: 7px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.otp-inputs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.otp-box {
    width: 52px;
    height: 58px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: var(--dg-bg-input);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    color: var(--dg-text-white);
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.otp-box:focus {
    border-color: var(--dg-emerald);
    box-shadow: 0 0 0 4px var(--dg-emerald-glow), 0 0 18px rgba(16, 185, 129, 0.3);
    outline: none;
    background: var(--dg-bg-input-focus);
}

.otp-box.filled {
    border-color: var(--dg-emerald);
    background: rgba(16, 185, 129, 0.15);
}

.otp-timer-text {
    font-size: 13px;
    text-align: center;
    margin-top: 18px;
    color: var(--dg-text-muted);
}

.otp-resend-link {
    font-weight: 800;
    color: #38BDF8;
    cursor: pointer;
    text-decoration: underline;
}

.otp-resend-link.disabled {
    color: var(--dg-text-subtle);
    pointer-events: none;
    text-decoration: none;
}

.reg-dark-btn-back {
    width: 100%;
    margin-top: 16px;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-text-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.reg-dark-btn-back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--dg-text-white);
}

/* --------------------------------------------------------------------------
   MATCHING DARK GLASS SUCCESS CELEBRATION CARD
   -------------------------------------------------------------------------- */
.reg-dark-success-card {
    text-align: center;
    padding: 36px 20px;
}

.reg-dark-success-badge {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    margin: 0 auto 18px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
}

.reg-dark-success-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--dg-text-white);
    margin: 0 0 8px 0;
}

.reg-dark-success-desc {
    font-size: 14.5px;
    color: var(--dg-text-body);
    max-width: 460px;
    margin: 0 auto 24px;
    line-height: 1.55;
}

.reg-dark-success-id-box {
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px dashed var(--dg-emerald-border);
    border-radius: 14px;
    padding: 16px 24px;
    display: inline-block;
    margin-bottom: 26px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.reg-dark-success-id-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #34D399;
    margin-bottom: 4px;
}

.reg-dark-success-id-val {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    font-family: monospace;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE & TABLET DELIBERATE ARCHITECTURE)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .reg-dark-container {
        padding: 16px 12px 60px;
    }

    .reg-dark-top-bar {
        padding: 10px 14px;
        margin-bottom: 18px;
    }

    .reg-dark-portal-tag {
        display: none;
    }

    .reg-dark-card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .reg-dark-row-2col {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .reg-dark-platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .otp-inputs-wrapper {
        gap: 6px;
    }

    .otp-box {
        width: 44px;
        height: 52px;
        font-size: 20px;
        border-radius: 10px;
    }

    .camera-viewport {
        height: 230px;
    }

    .camera-face-oval {
        width: 140px;
        height: 170px;
    }
}

@media (max-width: 380px) {
    .otp-box {
        width: 38px;
        height: 48px;
        font-size: 18px;
    }

    .reg-dark-platform-grid {
        grid-template-columns: 1fr;
    }

    .reg-dark-btn-submit {
        height: 52px;
        font-size: 15px;
    }
}

/* ==========================================================================
   EXACT PREMIUM GLASS LOGIN UI REPRODUCTION (REFERENCE DESIGN BENCHMARK)
   ========================================================================== */

/* Full Page Root Environment */
#pageLogin,
.login-page-root {
    background-color: #030712 !important;
    background-image:
        radial-gradient(circle at 12% 16%, rgba(0, 242, 254, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 78%, rgba(147, 51, 234, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 14% 82%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        linear-gradient(155deg, #030712 0%, #071224 35%, #050d1a 70%, #02050e 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: #F8FAFC;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Hide global header/footer/ticker on login page to match reference */
body.route-login-active #siteHeader,
body.route-login-active #siteFooter,
body.route-login-active #topHeadlineStrip,
body:has(#pageLogin:not([style*="display: none"])) #siteHeader,
body:has(#pageLogin:not([style*="display: none"])) #siteFooter,
body:has(#pageLogin:not([style*="display: none"])) #topHeadlineStrip {
    display: none !important;
}

/* Background Ambient Lighting & SVG Curved Streaks */
.login-bg-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.login-decor-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decor-glow-tl {
    top: -120px;
    left: -100px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
    filter: blur(65px);
}

.decor-glow-br {
    bottom: -140px;
    right: -100px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.26) 0%, rgba(168, 85, 247, 0.12) 45%, transparent 70%);
    filter: blur(70px);
}

.decor-glow-bl {
    bottom: 30px;
    left: -100px;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(0, 242, 254, 0.1) 50%, transparent 70%);
    filter: blur(60px);
}

.login-decor-streak-right {
    position: absolute;
    top: 0%;
    right: -10px;
    pointer-events: none;
    opacity: 0.95;
    max-width: 52vw;
}

.login-decor-streak-left {
    position: absolute;
    top: 10%;
    left: -10px;
    pointer-events: none;
    opacity: 0.92;
    max-width: 48vw;
}

.login-glass-pebble {
    position: absolute;
    pointer-events: none;
    border-radius: 50% 40% 60% 50% / 45% 55% 45% 55%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(10, 18, 36, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        inset 0 1.5px 3px rgba(255, 255, 255, 0.28), 
        inset -4px -4px 10px rgba(0, 0, 0, 0.75),
        0 24px 48px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-pebble-1 {
    width: 270px;
    height: 200px;
    bottom: 6%;
    left: -80px;
    transform: rotate(-15deg);
    border-left: 2.5px solid rgba(0, 242, 254, 0.55);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.22), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.login-pebble-2 {
    width: 190px;
    height: 155px;
    bottom: 24%;
    left: 25px;
    transform: rotate(25deg);
    border-top: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.2);
}

/* Outer Flex Container */
.login-dark-container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 38px 24px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Top Promotional Banner (Centered, Balanced, Never touching card) */
.login-banner-frame {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 30px auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 40px -4px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 242, 254, 0.15);
    background: #091224;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
    line-height: 0;
}

.login-banner-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px -4px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 242, 254, 0.28);
}

.login-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.login-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

/* Main Floating Glass Login Card */
.login-glass-card {
    width: 100%;
    max-width: 700px;
    background: rgba(9, 18, 36, 0.76);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 28px;
    padding: 44px 48px 38px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* Dual Glowing Border: Cyan/Teal on left/bottom, Violet/Purple on right/top */
    border: 1.5px solid transparent;
    background-image: 
        linear-gradient(rgba(9, 18, 36, 0.82), rgba(9, 18, 36, 0.82)), 
        linear-gradient(125deg, rgba(0, 242, 254, 0.9) 0%, rgba(6, 182, 212, 0.55) 30%, rgba(139, 92, 246, 0.6) 65%, rgba(192, 132, 252, 0.95) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    /* Multi-color outer ambient glow */
    box-shadow: 
        0 28px 70px -12px rgba(0, 0, 0, 0.85),
        -16px 14px 45px -6px rgba(0, 242, 254, 0.32),
        20px 18px 50px -6px rgba(168, 85, 247, 0.38),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.16);
}

/* Subtle inner ambient organic glow reflection */
.login-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: 
        radial-gradient(ellipse 360px 220px at 15% 45%, rgba(16, 185, 129, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 320px 250px at 85% 45%, rgba(0, 242, 254, 0.04) 0%, transparent 70%),
        radial-gradient(circle at 95% 95%, rgba(168, 85, 247, 0.09) 0%, transparent 50%);
    z-index: 0;
}

.login-glass-header,
.login-glass-form,
.login-security-strip,
.login-register-cta-wrap {
    position: relative;
    z-index: 1;
}

/* Header Elements inside Card */
.login-glass-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

/* Header Organic Leaves Silhouettes */
.login-header-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.login-leaf-left {
    position: absolute;
    left: 12%;
    top: 5px;
    opacity: 0.75;
    filter: blur(0.5px);
}

.login-leaf-right {
    position: absolute;
    right: 12%;
    top: 5px;
    opacity: 0.7;
    filter: blur(0.5px);
}

.login-partner-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.login-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(8, 28, 48, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    color: #00f2fe;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.login-badge-icon {
    flex-shrink: 0;
}

.login-glass-title {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.login-heading-accent {
    color: #00f2fe;
    background: linear-gradient(135deg, #00f2fe 0%, #00ffc2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.login-glass-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.login-glass-form {
    width: 100%;
}

.login-field-wrap {
    margin-bottom: 22px;
    text-align: left;
}

.login-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 9px;
    letter-spacing: 0.01em;
}

.login-required {
    color: #00f2fe;
    margin-left: 2px;
}

.login-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(13, 24, 48, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    height: 56px;
    padding: 0 16px;
    transition: all 0.25s ease;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.login-input-box:focus-within {
    border-color: #00f2fe;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.22), 0 0 18px rgba(0, 242, 254, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.25);
    background: rgba(13, 24, 48, 0.88);
}

.login-input-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: #00f2fe;
    transition: all 0.2s ease;
}

.login-input-box:focus-within .login-input-icon-box {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
    color: #FFFFFF;
}

.login-glass-input {
    flex: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #FFFFFF;
    padding: 0;
}

.login-glass-input::placeholder {
    color: #64748B;
    opacity: 0.9;
}

/* Luminous Gradient Button (Green -> Cyan -> Blue) */
.login-submit-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #00e676 0%, #00d4ff 52%, #006aff 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px -4px rgba(0, 212, 255, 0.5), 0 4px 16px rgba(0, 230, 118, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

/* Faint concentric ripple rings engraved on right side matching reference image */
.login-submit-btn::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: 
        radial-gradient(circle, transparent 12px, rgba(255, 255, 255, 0.14) 13px, transparent 15px, 
                                 transparent 23px, rgba(255, 255, 255, 0.10) 24px, transparent 26px, 
                                 transparent 34px, rgba(255, 255, 255, 0.06) 35px, transparent 37px);
    pointer-events: none;
    opacity: 0.85;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 34px -4px rgba(0, 212, 255, 0.65), 0 6px 20px rgba(0, 230, 118, 0.45);
}

.login-submit-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.login-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.login-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-btn-arrow {
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.login-submit-btn:hover .login-btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   ERROR MESSAGE & RED BAR REMOVAL: STRICT ZERO SPACE IN NORMAL STATE
   ========================================================================== */
#routeLoginEmailError,
#routeLoginOtpError,
.login-inline-error {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    height: 0;
    min-height: 0;
    overflow: hidden;
}

#routeLoginEmailError:empty,
#routeLoginOtpError:empty,
.login-inline-error:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
}

#routeLoginEmailError:not(:empty),
#routeLoginOtpError:not(:empty),
.login-inline-error:not(:empty) {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 14px !important;
    padding: 12px 18px !important;
    height: auto !important;
    min-height: 44px !important;
    background: rgba(220, 38, 38, 0.14) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    border-radius: 12px !important;
    color: #FCA5A5 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.18) !important;
    animation: loginErrorFadeIn 0.25s ease-out;
    visibility: visible !important;
}

/* Guard against any rogue lines/bars below the button or inside form */
.login-glass-form,
.login-submit-btn,
.login-security-strip {
    border-bottom-color: rgba(56, 189, 248, 0.22);
    text-decoration: none !important;
}

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

/* Security Feature Strip */
.login-security-strip {
    background: rgba(13, 24, 48, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    padding: 14px 22px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.login-sec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.login-sec-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.38);
}

.sec-icon-amber {
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.38);
}

.sec-icon-green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.38);
}

.login-sec-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.login-sec-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
}

.login-sec-sub {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.25;
}

.login-sec-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 14px;
    flex-shrink: 0;
    border: none;
}

/* Register CTA */
.login-register-cta-wrap {
    text-align: center;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.login-cta-question {
    font-size: 13.5px;
    color: #94A3B8;
}

.login-cta-link {
    font-size: 14.5px;
    font-weight: 700;
    color: #00f2fe;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.login-cta-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(0, 242, 254, 0.5);
}

.login-cta-link .cta-arrow {
    transition: transform 0.2s ease;
}

.login-cta-link:hover .cta-arrow {
    transform: translateX(4px);
}

.login-cta-link:hover .cta-arrow {
    transform: translateX(4px);
}

/* OTP Screen Elements (Identical Glass Aesthetics) */
.login-otp-info-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-sizing: border-box;
    text-align: left;
}

.login-otp-info-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-otp-info-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.login-otp-info-sub {
    font-size: 12px;
    color: #94A3B8;
}

.login-otp-email-highlight {
    font-size: 13.5px;
    font-weight: 700;
    color: #00f2fe;
    word-break: break-all;
}

.login-otp-label-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.login-otp-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 10px;
}

.login-otp-input {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    background: rgba(13, 24, 48, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    color: #FFFFFF;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.login-otp-input:focus {
    border-color: #00f2fe;
    background: rgba(13, 24, 48, 0.9);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.login-otp-input.filled {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
}

.login-paste-hint {
    text-align: center;
    font-size: 12px;
    color: #64748B;
    margin-top: 10px;
}

.login-timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding: 0 4px;
}

.login-timer-text {
    font-size: 12.5px;
    color: #94A3B8;
}

.login-timer-text strong {
    color: #00f2fe;
    font-weight: 700;
}

.login-resend-btn {
    font-size: 12.5px;
    font-weight: 700;
    color: #00f2fe;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-resend-btn:hover:not(.disabled) {
    color: #38bdf8;
    text-decoration: underline;
}

.login-resend-btn.disabled {
    color: #64748B;
    pointer-events: none;
    opacity: 0.6;
}

.login-back-btn {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-back-btn:hover {
    border-color: rgba(0, 242, 254, 0.4);
    color: #FFFFFF;
    background: rgba(0, 242, 254, 0.06);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .login-dark-container {
        padding: 32px 18px 70px;
    }

    .login-glass-card {
        padding: 34px 28px 30px;
        border-radius: 22px;
    }

    .login-glass-title {
        font-size: 32px;
    }

    .login-glass-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .login-security-strip {
        padding: 12px 16px;
    }

    .login-sec-item {
        gap: 8px;
    }

    .login-sec-title {
        font-size: 11.5px;
    }

    .login-sec-sub {
        font-size: 9.5px;
    }

    .login-sec-divider {
        margin: 0 8px;
    }

    .login-otp-input {
        width: 44px;
        height: 52px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-dark-container {
        padding: 22px 14px 60px;
    }

    .login-banner-frame {
        margin-bottom: 22px;
        border-radius: 12px;
    }

    .login-banner-img {
        border-radius: 11px;
    }

    .login-glass-card {
        padding: 26px 18px 24px;
        border-radius: 18px;
    }

    .login-glass-title {
        font-size: 26px;
    }

    .login-glass-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .login-input-box {
        height: 52px;
        padding: 0 12px;
    }

    .login-submit-btn {
        height: 52px;
        font-size: 15px;
    }

    .login-security-strip {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .login-sec-item {
        width: 100%;
        justify-content: flex-start;
    }

    .login-sec-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .login-otp-grid {
        gap: 6px;
    }

    .login-otp-input {
        width: 38px;
        height: 48px;
        font-size: 18px;
        border-radius: 8px;
    }
}

/* ==========================================================================
   SPONSOR REFERRAL LOCK & VERIFIED BADGES (REGISTRATION)
   ========================================================================== */
.reg-sponsor-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dg-teal);
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reg-dark-input.is-locked {
    background: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(20, 184, 166, 0.5) !important;
    color: #F8FAFC !important;
    cursor: not-allowed !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    box-shadow: 0 0 14px rgba(20, 184, 166, 0.15) !important;
}

.reg-sponsor-verify-status {
    position: absolute;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dg-emerald);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.reg-sponsor-notice {
    font-size: 12px;
    color: var(--dg-text-body);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
    line-height: 1.4;
}

.sponsor-highlight-name {
    color: var(--dg-emerald);
    font-weight: 800;
}

/* ==========================================================================
   DASHBOARD PERMANENT SPONSOR REFERRAL CARD
   ========================================================================== */
.sponsor-link-app-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.88) 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(20, 184, 166, 0.2);
    position: relative;
    overflow: hidden;
}

.sponsor-link-app-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--dg-emerald), var(--dg-teal), var(--dg-blue));
}

.sponsor-link-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.sponsor-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #F8FAFC;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(59, 130, 246, 0.25));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 8px;
}

.sponsor-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.sponsor-card-desc {
    font-size: 12.5px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.45;
    max-width: 580px;
}

.sponsor-id-chip-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sponsor-id-label {
    font-size: 10px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.sponsor-id-val-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sponsor-id-val {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 15px;
    font-weight: 800;
    color: #10B981;
    letter-spacing: 0.04em;
}

.btn-copy-sponsor-id {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #F8FAFC;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
    transition: all 0.2s ease;
}

.btn-copy-sponsor-id:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10B981;
}

.sponsor-link-box-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.sponsor-url-display-wrap {
    flex: 1;
    min-width: 240px;
}

.sponsor-url-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 4px;
}

.sponsor-url-text {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 13px;
    font-weight: 600;
    color: #38BDF8;
    word-break: break-all;
}

.sponsor-actions-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-sponsor-copy {
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-sponsor-share {
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 9px;
    border-color: rgba(56, 189, 248, 0.4);
    color: #38BDF8;
}

.btn-sponsor-share:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38BDF8;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .sponsor-link-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .sponsor-id-chip-box {
        align-items: flex-start;
    }

    .sponsor-link-box-row {
        flex-direction: column;
        align-items: stretch;
    }

    .sponsor-actions-wrap {
        width: 100%;
    }

    .btn-sponsor-copy,
    .btn-sponsor-share {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   PROMINENT DASHBOARD PERMANENT REFERRAL CARD
   ========================================================================== */
.dash-referral-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
    border: 1px solid rgba(0, 242, 254, 0.35);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 242, 254, 0.12);
    position: relative;
    overflow: hidden;
}

.dash-referral-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00f2fe 0%, #10b981 100%);
}

.dash-referral-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-referral-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.32);
    border-radius: 999px;
    padding: 4px 12px;
}

.dash-referral-tag-icon {
    font-size: 13px;
}

.dash-referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-referral-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.dash-referral-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.dash-referral-sponsor-group {
    margin-bottom: 16px;
}

.dash-referral-sponsor-val-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dash-referral-sponsor-id {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 18px;
    font-weight: 800;
    color: #00f2fe;
    letter-spacing: 0.05em;
}

.dash-referral-sponsor-val-wrap .btn-copy-sponsor-id {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 6px;
    color: #f8fafc;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 8px;
    transition: all 0.2s ease;
}

.dash-referral-sponsor-val-wrap .btn-copy-sponsor-id:hover {
    background: rgba(0, 242, 254, 0.25);
    border-color: #00f2fe;
}

.dash-referral-link-group {
    margin-bottom: 18px;
}

.dash-referral-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 4px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-referral-input-wrap:focus-within {
    border-color: rgba(0, 242, 254, 0.55);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.dash-referral-input-icon {
    font-size: 14px;
    color: #64748b;
}

.dash-referral-link-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #38bdf8;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 0;
    cursor: text;
}

.dash-referral-actions-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.dash-referral-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-referral-btn.btn-copy-link {
    background: linear-gradient(135deg, #00f2fe 0%, #06b6d4 50%, #0284c7 100%);
    color: #05131f;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.25);
}

.dash-referral-btn.btn-copy-link:hover {
    box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45);
    transform: translateY(-1px);
}

.dash-referral-btn.btn-open-reg {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dash-referral-btn.btn-open-reg:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 254, 0.5);
    color: #00f2fe;
    transform: translateY(-1px);
}

.dash-referral-btn .dash-btn-arrow {
    transition: transform 0.2s ease;
}

.dash-referral-btn.btn-open-reg:hover .dash-btn-arrow {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .dash-referral-hero-card {
        padding: 16px;
    }
    .dash-referral-actions-group {
        flex-direction: column;
        width: 100%;
    }
    .dash-referral-btn {
        width: 100%;
    }
    .dash-referral-sponsor-id {
        font-size: 16px;
    }
    .dash-referral-link-input {
        font-size: 12px;
    }
}


