/* =================================================================
   QUANTUM NEXUS SIGN-IN v7.0 — Jaw-Dropping Edition
   Matches landing page premium design language
   ================================================================= */

/* ─── Design Tokens ─── */
:root {
    /* Core Palette */
    --bg-primary: #0a0b14;
    --bg-secondary: #12142a;
    --bg-card: rgba(15, 17, 35, 0.88);
    --bg-card-solid: #0f1123;

    /* Accent Colors */
    --purple-primary: #8b5cf6;
    --purple-secondary: #7c3aed;
    --purple-glow: #a78bfa;
    --indigo: #667eea;
    --accent-cyan: #00f2fe;
    --accent-pink: #ec4899;
    --accent-orange: #ff9d5c;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #fff 0%, #00f2fe 25%, #fff 50%, #764ba2 75%, #fff 100%);
    --gradient-border: linear-gradient(45deg, var(--accent-cyan), var(--purple-primary), var(--accent-pink), var(--accent-cyan));
    --gradient-button: linear-gradient(135deg, #667eea 0%, #8b5cf6 50%, #00f2fe 100%);

    /* Animation Design System (from landing page) */
    --ease-standard: cubic-bezier(0.2, 0, 0, 1);
    --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 800ms;
    --duration-dramatic: 1200ms;
    --stagger-interval: 120ms;
    --gradient-flow-duration: 8s;

    /* Surfaces */
    --surface-elevated: rgba(30, 41, 59, 0.9);
    --surface-hover: rgba(51, 65, 85, 0.95);

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
}

/* ─── Reset (scoped) ─── */
body.signin-page,
body.signin-page * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.signin-page {
    background: var(--bg-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    min-height: 100vh;
    color: var(--text-primary) !important;
    overflow-x: hidden;
}

/* Kill base.html pseudo-element bleed (grid overlay + purple orb) */
body.signin-page::before,
body.signin-page::after {
    content: none !important;
    display: none !important;
}

/* Hide base.html chrome */
body.signin-page nav.navbar,
body.signin-page .legal-footer,
body.signin-page .animated-grid,
body.signin-page .gradient-orbs,
body.signin-page .orb,
body.signin-page .container-fluid,
body.signin-page .quantum-nav,
body.signin-page header:not(.login-header),
body.signin-page footer,
body.signin-page .footer,
body.signin-page .quantum-footer {
    display: none !important;
}

body.signin-page .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    position: relative !important;
    z-index: auto !important;
}

/* ─── Background System ─── */

/* Moving Grid */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: transparent;
    position: relative;
}

.login-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Aurora Effect — dual conic gradients for depth (matches landing page) */
.aurora-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora {
    position: absolute;
    width: 150%;
    height: 200%;
    top: -50%;
    left: -25%;
    opacity: 0.09;
    filter: blur(80px);
    pointer-events: none;
    animation: auroraShift 12s ease-in-out infinite alternate;
    will-change: transform;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(0, 242, 254, 0.45) 0deg,
        rgba(139, 92, 246, 0.35) 60deg,
        rgba(236, 72, 153, 0.3) 120deg,
        rgba(0, 255, 136, 0.25) 180deg,
        rgba(0, 242, 254, 0.35) 240deg,
        rgba(139, 92, 246, 0.25) 300deg,
        rgba(0, 242, 254, 0.45) 360deg
    );
}

.aurora-2 {
    position: absolute;
    width: 150%;
    height: 200%;
    top: -50%;
    left: -25%;
    opacity: 0.06;
    filter: blur(80px);
    pointer-events: none;
    transform: rotate(60deg);
    animation: auroraShift2 16s ease-in-out infinite alternate;
    animation-delay: -6s;
    will-change: transform;
    background: conic-gradient(
        from 180deg at 50% 50%,
        rgba(0, 242, 254, 0.35) 0deg,
        rgba(0, 255, 136, 0.2) 60deg,
        rgba(139, 92, 246, 0.3) 120deg,
        rgba(236, 72, 153, 0.25) 180deg,
        rgba(102, 126, 234, 0.2) 240deg,
        rgba(0, 242, 254, 0.3) 300deg,
        rgba(139, 92, 246, 0.35) 360deg
    );
}

@keyframes auroraShift {
    0%   { transform: rotate(0deg)   scale(1); }
    33%  { transform: rotate(8deg)   scale(1.05); }
    66%  { transform: rotate(-5deg)  scale(0.95); }
    100% { transform: rotate(3deg)   scale(1.02); }
}

@keyframes auroraShift2 {
    0%   { transform: rotate(60deg)  scale(1.02); }
    33%  { transform: rotate(52deg)  scale(0.95); }
    66%  { transform: rotate(68deg)  scale(1.08); }
    100% { transform: rotate(57deg)  scale(1); }
}

/* Quantum Background Layers */
.quantum-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.quantum-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.quantum-layer-1 {
    background:
        radial-gradient(circle at 20% 30%, rgba(118, 75, 162, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.12) 0%, transparent 50%);
    animation: quantumFloat1 15s ease-in-out infinite;
}

.quantum-layer-2 {
    background:
        radial-gradient(circle at 60% 20%, rgba(240, 147, 251, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 40%);
    animation: quantumFloat2 20s ease-in-out infinite reverse;
}

.quantum-layer-3 {
    background:
        radial-gradient(circle at 70% 50%, rgba(0, 255, 136, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(0, 212, 255, 0.07) 0%, transparent 45%);
    animation: quantumFloat3Layer 25s ease-in-out infinite;
}

@keyframes quantumFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(30px, -30px) rotate(120deg); }
    66%      { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes quantumFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50%      { transform: translate(-40px, -40px) rotate(180deg) scale(1.1); }
}

@keyframes quantumFloat3Layer {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-20px, 30px) scale(1.15); }
    50%  { transform: translate(30px, -15px) scale(0.95); }
    75%  { transform: translate(-10px, -25px) scale(1.08); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Holographic Orbs */
.holographic-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 420px; height: 420px;
    top: -200px; right: -200px;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.28), transparent 50%);
    filter: blur(50px);
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 360px; height: 360px;
    bottom: -180px; left: -180px;
    background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.25), transparent 50%);
    filter: blur(50px);
    animation: orbFloat2 26s ease-in-out infinite;
}

.orb-3 {
    width: 260px; height: 260px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, rgba(0, 242, 254, 0.18), transparent 50%);
    filter: blur(35px);
    animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-50px, 50px) scale(1.1); }
    66%      { transform: translate(50px, -30px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, -60px) scale(1.12); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50%      { transform: translate(-50%, -50%) scale(1.18) rotate(180deg); }
}

/* Floating Particles (CSS-only) */
.particle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--purple-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--purple-glow), 0 0 20px var(--purple-glow);
    animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.particle:nth-child(1)  { left: 5%;  animation-delay: 0s;  animation-duration: 18s; }
.particle:nth-child(2)  { left: 15%; animation-delay: 2s;  animation-duration: 22s; }
.particle:nth-child(3)  { left: 25%; animation-delay: 4s;  animation-duration: 20s; }
.particle:nth-child(4)  { left: 35%; animation-delay: 6s;  animation-duration: 19s; }
.particle:nth-child(5)  { left: 45%; animation-delay: 8s;  animation-duration: 21s; }
.particle:nth-child(6)  { left: 55%; animation-delay: 10s; animation-duration: 18s; }
.particle:nth-child(7)  { left: 65%; animation-delay: 12s; animation-duration: 23s; }
.particle:nth-child(8)  { left: 75%; animation-delay: 14s; animation-duration: 20s; }
.particle:nth-child(9)  { left: 85%; animation-delay: 16s; animation-duration: 19s; }
.particle:nth-child(10) { left: 95%; animation-delay: 18s; animation-duration: 22s; }

/* Cyber Lines */
.cyber-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cyber-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-glow), transparent);
    animation: lineSweep 8s ease-in-out infinite;
}

.cyber-line:nth-child(1) { top: 10%; animation-delay: 0s; }
.cyber-line:nth-child(2) { top: 30%; animation-delay: 2s; }
.cyber-line:nth-child(3) { top: 50%; animation-delay: 4s; }
.cyber-line:nth-child(4) { top: 70%; animation-delay: 6s; }
.cyber-line:nth-child(5) { top: 90%; animation-delay: 8s; }

@keyframes lineSweep {
    0%   { width: 0;    left: 0;    opacity: 0; }
    5%   { opacity: 1; }
    50%  { width: 100%; left: 0; }
    95%  { opacity: 1; }
    100% { width: 0;    left: 100%; opacity: 0; }
}

/* Full-viewport mouse glow */
.mouse-glow {
    position: fixed;
    width: 100%;
    height: 100vh;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: radial-gradient(
        600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(0, 242, 254, 0.08) 0%,
        rgba(139, 92, 246, 0.05) 25%,
        transparent 60%
    );
}

.mouse-glow.active {
    opacity: 1;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
}

/* ─── Auth Container — Glassmorphism with Rotating Border ─── */
.auth-container {
    width: 100%;
    max-width: 520px;
    background: var(--bg-card-solid);
    border-radius: 24px;
    overflow: visible;
    position: relative;
    z-index: 10;
    border: none;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: containerEntry var(--duration-slow) var(--ease-emphasized) both;
}

/* Rotating gradient border — masked so only the 2px ring shows */
.auth-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: var(--gradient-border);
    background-size: 400% 400%;
    border-radius: 26px;
    z-index: -1;
    opacity: 0.6;
    animation: borderRotate 6s linear infinite;
    transition: opacity 0.4s ease;
    /* Mask out the centre so only the border ring is visible */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.auth-container:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mouse-following radial glow */
.card-glow-effect {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 242, 254, 0.1) 0%,
        rgba(139, 92, 246, 0.06) 30%,
        transparent 60%
    );
}

.auth-container:hover .card-glow-effect {
    opacity: 1;
}

/* Container scan-line accent */
.auth-container > .scanline-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    z-index: 2;
    animation: scanline 4s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes containerEntry {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* ─── Form Header — Animated Gradient Text ─── */
.form-header {
    padding: 2.75rem 2.5rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

/* Header shimmer sweep */
.form-header::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    animation: headerShimmer 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes headerShimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* Corner accent marks — removed (visual noise) */

/* Animated gradient title — hero style */
.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGradient var(--gradient-flow-duration) ease infinite;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.25));
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.form-header a {
    position: relative;
    z-index: 2;
}

/* Easter Egg */
.form-header h2:hover {
    animation: heroGradient 2s ease infinite, titleRainbow 3s linear infinite;
}

@keyframes titleRainbow {
    0%   { filter: hue-rotate(0deg) drop-shadow(0 2px 8px rgba(139, 92, 246, 0.25)); }
    100% { filter: hue-rotate(360deg) drop-shadow(0 2px 8px rgba(139, 92, 246, 0.25)); }
}

/* ─── Version Badge — Rotating Gradient Ring ─── */
.version-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1.5px solid rgba(0, 242, 254, 0.3);
    position: relative;
    z-index: 2;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.35);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 242, 254, 0);
    }
}

/* ─── Back to Home ─── */
.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s var(--ease-standard);
    margin-bottom: 1.2rem;
}

.back-to-home:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateX(-4px);
    color: white;
    border-color: rgba(139, 92, 246, 0.3);
}

/* ─── Notice Cards — Corner Accents ─── */
.beta-notice,
.educational-notice {
    margin: 1.25rem 2.5rem 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(22, 25, 43, 0.9) 0%, rgba(16, 19, 27, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-standard);
}

.beta-notice:hover,
.educational-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Scan line on top of notices */
.beta-notice::before,
.educational-notice::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--purple-glow), transparent);
    animation: scanLine 3.5s linear infinite;
}

@keyframes scanLine {
    0%   { left: -100%; }
    100% { left: 100%; }
}

@keyframes cornerPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

/* Corner accent on notices */
.beta-notice::after {
    content: '';
    position: absolute;
    bottom: 8px; right: 8px;
    width: 16px; height: 16px;
    border-bottom: 1.5px solid rgba(139, 92, 246, 0.25);
    border-right: 1.5px solid rgba(139, 92, 246, 0.25);
    border-radius: 0 0 4px 0;
    animation: cornerPulse 3s ease-in-out infinite 1s;
    pointer-events: none;
}

.educational-notice {
    border-color: rgba(255, 157, 92, 0.15);
}

.educational-notice::before {
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.educational-notice::after {
    content: '';
    position: absolute;
    bottom: 8px; right: 8px;
    width: 16px; height: 16px;
    border-bottom: 1.5px solid rgba(255, 157, 92, 0.25);
    border-right: 1.5px solid rgba(255, 157, 92, 0.25);
    border-radius: 0 0 4px 0;
    animation: cornerPulse 3s ease-in-out infinite 1s;
    pointer-events: none;
}

.beta-notice:hover {
    border-color: rgba(139, 92, 246, 0.35);
}

.educational-notice:hover {
    border-color: rgba(255, 157, 92, 0.35);
}

.beta-notice-content,
.educational-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    position: relative;
    z-index: 2;
}

.beta-notice i,
.educational-notice i {
    font-size: 1.15rem;
    background: linear-gradient(135deg, rgba(30, 33, 55, 0.9) 0%, rgba(40, 43, 65, 0.9) 100%);
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.beta-notice i {
    color: var(--purple-glow);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.educational-notice i {
    color: var(--accent-orange);
    box-shadow: 0 0 12px rgba(255, 157, 92, 0.25);
}

.beta-notice-text,
.educational-notice-text {
    flex: 1;
    line-height: 1.5;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.beta-notice-text strong,
.educational-notice-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: #ffffff;
    font-size: 0.9rem;
}

/* ─── Form Body ─── */
.form-body {
    padding: 2rem 2.5rem 2.25rem;
}

.form-group {
    margin-bottom: 1.6rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ─── Input Fields — Neon Focus ─── */
.form-control,
.form-input {
    width: 100%;
    padding: 0.9rem 1.15rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1.5px solid rgba(139, 92, 246, 0.18);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: inherit;
    outline: none;
    position: relative;
    transition:
        border-color 0.3s var(--ease-standard),
        box-shadow 0.3s var(--ease-standard),
        transform 0.3s var(--ease-standard),
        background 0.3s var(--ease-standard);
}

.form-control::placeholder,
.form-input::placeholder {
    color: var(--text-muted);
}

.form-control:hover,
.form-input:hover {
    border-color: rgba(139, 92, 246, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.form-control:focus,
.form-input:focus {
    border-color: var(--accent-cyan);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    box-shadow:
        0 0 0 3px rgba(0, 242, 254, 0.1),
        0 0 24px rgba(0, 242, 254, 0.15);
}

/* Lift the whole password row so toggle stays aligned */
.password-wrapper:focus-within {
    transform: translateY(-2px);
    transition: transform 0.3s var(--ease-standard);
}

/* ─── Password Toggle ─── */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 3;
}

.password-toggle:hover {
    color: var(--accent-cyan);
}

/* ─── Remember Me — Cyber Checkbox ─── */
.remember-me {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.7rem 0.85rem;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remember-me:hover {
    background: rgba(139, 92, 246, 0.09);
}

.remember-me input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--ease-spring);
    flex-shrink: 0;
    margin: 0;
}

.remember-me input[type="checkbox"]:hover {
    border-color: var(--purple-primary);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.remember-me input[type="checkbox"]:checked {
    background: var(--gradient-purple);
    border-color: transparent;
    animation: checkPulse 0.5s var(--ease-spring);
}

@keyframes checkPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.remember-me input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: bold;
    animation: checkAppear 0.35s var(--ease-spring);
}

@keyframes checkAppear {
    0%   { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(360deg); opacity: 1; }
}

.remember-me label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

/* ─── Submit Button — Shine Sweep + Glow ─── */
.btn-submit,
.submit-btn {
    width: 100%;
    padding: 0.95rem;
    background: var(--gradient-button);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow:
        0 6px 20px rgba(139, 92, 246, 0.35),
        0 0 40px rgba(139, 92, 246, 0.12);
    animation: buttonGradientFlow 4s ease infinite;
    transition:
        transform 0.35s var(--ease-spring),
        box-shadow 0.35s var(--ease-standard);
}

@keyframes buttonGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Shine sweep on hover */
.btn-submit::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 60%
    );
    transition: left 0.7s ease;
    z-index: 1;
}

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

.btn-submit:hover,
.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 35px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(0, 242, 254, 0.2);
}

.btn-submit:active,
.submit-btn:active {
    transform: translateY(-1px) scale(1);
}

/* Loading state */
.btn-submit.loading,
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.75;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.btn-submit.loading::before,
.submit-btn.loading::before {
    display: none;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

/* Disabled state */
.btn-submit.disabled,
.btn-submit[disabled] {
    background: linear-gradient(90deg, #4a5568, #718096);
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-submit.disabled::before,
.btn-submit[disabled]::before {
    display: none;
}

/* ─── Waitlist / Signup Section ─── */
.waitlist-section {
    padding: 2rem 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(139, 92, 246, 0.03) 100%);
}

.waitlist-section h6 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.waitlist-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.15rem;
}

.btn-signup,
.signup-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: rgba(0, 242, 254, 0.06);
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-cyan);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-standard);
}

.btn-signup::before,
.signup-link::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(0, 242, 254, 0.15) 50%,
        transparent 60%
    );
    transition: left 0.6s ease;
}

.btn-signup:hover::before,
.signup-link:hover::before {
    left: 100%;
}

.btn-signup:hover,
.signup-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.5);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.2);
}

/* ─── Error & Flash Messages ─── */
.text-danger {
    color: #f87171;
    font-size: 0.83rem;
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    animation: fieldShake 0.3s ease;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-3px); }
    75%      { transform: translateX(3px); }
}

.flash-messages,
.signin-flash-messages {
    padding: 1rem 2.5rem 0.5rem;
}

.flash-message,
.signin-alert {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    animation: alertSlideIn 0.45s var(--ease-emphasized);
    border: 1px solid;
}

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

.flash-message.alert-danger,
.flash-message.alert-error,
.signin-alert-danger,
.signin-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.flash-message.alert-success,
.signin-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.flash-message.alert-warning,
.signin-alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.flash-message.alert-info,
.signin-alert-info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

/* ─── Logo (signin.html variant) ─── */
.auth-logo {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.auth-logo:hover {
    opacity: 0.85;
}

.auth-logo-container {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.auth-logo-text {
    display: flex;
    flex-direction: column;
}

.auth-logo-text span {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #764ba2 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-logo-beta {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 12px;
    padding: 2px 8px;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

/* ─── Header Bar (login.html variant) ─── */
.login-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: linear-gradient(to bottom,
        rgba(10, 11, 20, 0.92) 0%,
        rgba(10, 11, 20, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-section:hover {
    transform: translateX(3px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.login-indicator {
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* ─── 3D Holographic Animation (login.html) ─── */
.login-3d-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 0;
    pointer-events: none;
    perspective: 1000px;
}

/* ─── 3D Holographic Animation (signin.html) ─── */
.signin-3d-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    perspective: 1000px;
}

.hologram-card-signin,
.hologram-card-login {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg,
        rgba(10, 14, 39, 0.5),
        rgba(139, 92, 246, 0.1) 50%,
        rgba(0, 242, 254, 0.1));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: cardFloat 9s ease-in-out infinite;
    box-shadow:
        0 25px 50px rgba(0, 242, 254, 0.1),
        inset 0 0 30px rgba(0, 242, 254, 0.03);
}

@keyframes cardFloat {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    33%      { transform: rotateY(-25deg) rotateX(10deg) translateY(-20px); }
    66%      { transform: rotateY(-5deg) rotateX(0deg) translateY(-10px); }
}

.card-glow-signin,
.card-glow-login {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(1.08); }
}

.hologram-content {
    width: 80%;
    height: 80%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #764ba2, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoPulse 5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: brightness(1.2); }
    50%      { transform: scale(1.05); filter: brightness(1.6); }
}

/* Orbit rings (login.html) */
.orbit-ring-login,
.orbit-ring-login-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 50%;
    animation: orbitSpin 12s linear infinite;
}

.orbit-ring-login {
    width: 450px;
    height: 450px;
    margin: -225px 0 0 -225px;
}

.orbit-ring-login-2 {
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-color: rgba(139, 92, 246, 0.08);
    animation-duration: 18s;
    animation-direction: reverse;
}

@keyframes orbitSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Data streams (login.html) */
.data-streams-login {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 28px;
}

.stream-login {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 254, 0.3), transparent);
    animation: dataStream 3s linear infinite;
}

.stream-login-1 { left: 25%; animation-delay: 0s; }
.stream-login-2 { left: 50%; animation-delay: 0.8s; }
.stream-login-3 { left: 75%; animation-delay: 1.6s; }
.stream-login-4 { left: 90%; animation-delay: 2.4s; }

@keyframes dataStream {
    0%   { transform: translateY(-100%); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}


/* ─── Responsive ─── */
@media (max-width: 768px) {
    .auth-container {
        max-width: 100%;
        border-radius: 18px;
    }

    .auth-container::before {
        border-radius: 20px;
    }

    .form-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-body {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .signin-help-hint {
        margin: 0 1.5rem;
    }

    .beta-notice,
    .educational-notice {
        margin: 1.25rem 1.5rem 0;
    }

    .waitlist-section {
        padding: 1.5rem;
    }

    .holographic-orb {
        filter: blur(60px);
        opacity: 0.5;
    }

    .cyber-lines {
        opacity: 0.4;
    }

    .signin-3d-container,
    .login-3d-container {
        width: 300px;
        height: 300px;
    }

    .hologram-card-signin,
    .hologram-card-login {
        width: 250px;
        height: 250px;
    }

    .login-wrapper {
        padding: 2rem 1rem;
    }

    .auth-logo {
        top: 1rem;
        left: 1rem;
    }

    .auth-logo img {
        width: 36px;
        height: 36px;
    }

    .auth-logo-container {
        width: 40px;
        height: 40px;
    }

    .auth-logo-text span {
        font-size: 1.15rem;
    }

    .auth-logo-beta {
        font-size: 0.6rem;
        padding: 1px 5px;
    }

    .flash-messages,
    .signin-flash-messages {
        padding: 0.85rem 1.5rem 0.5rem;
    }

    .btn-wallet-connect {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    .wallet-provider-item {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 0 0.25rem;
        border-radius: 14px;
    }

    .auth-container::before {
        border-radius: 16px;
    }

    .form-header {
        padding: 1.75rem 1.25rem 1.25rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.88rem;
    }

    .form-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .signin-help-hint {
        margin: 0 1.25rem;
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .beta-notice,
    .educational-notice {
        margin: 1rem 1.25rem 0;
        padding: 0.85rem;
    }

    .form-group {
        margin-bottom: 1.4rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .btn-submit {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .version-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .login-header {
        padding: 1rem;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .btn-wallet-connect {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .wallet-provider-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }

    .wallet-connect-section {
        margin-top: 1rem;
    }
}

/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .aurora,
    .cyber-lines,
    .particle-field {
        display: none !important;
    }
}

/* Focus-visible outlines */
.form-control:focus-visible,
.btn-submit:focus-visible,
.btn-signup:focus-visible,
.btn-wallet-connect:focus-visible,
.wallet-provider-item:focus-visible,
.back-to-home:focus-visible,
.remember-me input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Backdrop-filter fallback */
@supports not (backdrop-filter: blur(20px)) {
    .auth-container {
        background: var(--bg-card-solid);
    }

    .login-header {
        background: rgba(10, 11, 20, 0.98);
    }
}

/* ─── Utility: Smooth fade-out for JS ─── */
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ─── Help Hint Banner ─── */
.signin-help-hint {
    margin: 0 2.5rem;
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(118, 75, 162, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.6;
}

.signin-help-hint a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.signin-help-hint a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* ─── Wallet Connect Section ─── */
.wallet-connect-section {
    margin-top: 2rem;
    text-align: center;
}

.wallet-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.wallet-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.wallet-divider-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-wallet-connect {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface-hover) 100%);
    color: white;
    border: 2px solid rgba(0, 242, 254, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-wallet-connect:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow:
        0 8px 25px rgba(0, 242, 254, 0.4),
        0 0 40px rgba(0, 242, 254, 0.2);
    background: linear-gradient(135deg, var(--surface-elevated) 0%, rgba(59, 79, 107, 0.95) 100%);
}

.btn-wallet-connect:active {
    transform: translateY(-1px);
}

.btn-wallet-connect.loading {
    background: linear-gradient(90deg, var(--surface-hover) 0%, var(--surface-elevated) 100%);
    cursor: not-allowed;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.btn-wallet-connect i {
    font-size: 1.1rem;
}

.wallet-provider-list {
    margin-top: 0.75rem;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.wallet-provider-item {
    width: 100%;
    padding: 0.7rem 0.85rem;
    background: var(--surface-elevated);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wallet-provider-item:hover {
    border-color: rgba(0, 242, 254, 0.55);
    background: var(--surface-hover);
}

.wallet-providers-hint {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.75rem;
}

/* ─── Waitlist & Resend Sections (supplements original .waitlist-section above) ─── */
.waitlist-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.resend-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 14px;
    text-align: center;
}

.resend-text {
    color: rgba(245, 158, 11, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.resend-section form {
    margin: 0;
}

.resend-btn {
    width: 100%;
}


