/* --- PREMIUM AUTH STYLES --- */

/* Align with Landing Page Palette */
:root {
    --auth-accent: var(--accent-success);
    /* Neon Green/Lime to match landing page */
}

/* Input Groups with Icons */
.auth-input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

/* Specific Input Styling */
.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 48px !important;
    color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--auth-accent) !important;
    box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.15), 0 0 20px rgba(198, 255, 0, 0.3);
    outline: none;
}

.auth-input:focus+.auth-icon {
    color: var(--auth-accent);
}

/* Redesigned Cyber Modal - Matched to feature-card from landing_styles.css */
.cyber-modal {
    background: rgba(0, 0, 0, 0.6) !important;
    /* Slightly darker for better contrast */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 32px !important;
    position: relative;
    overflow-y: auto !important;
    max-height: 85dvh !important;
    padding: 40px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 90% !important;
    max-width: 420px !important;
}

/* Neon Ring Container */
.neon-ring-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.neon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.neon-ring::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--auth-accent);
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotate 4s linear infinite;
    opacity: 0.8;
}

.neon-ring i {
    font-size: 2.5rem;
    color: var(--auth-accent);
    filter: drop-shadow(0 0 10px var(--auth-accent));
    transition: all 0.3s ease;
}

.neon-ring.pulsing i {
    animation: shieldPulse 2s infinite ease-in-out;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shieldPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--auth-accent));
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 25px var(--auth-accent));
        opacity: 1;
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--auth-accent));
        opacity: 0.8;
    }
}

/* Professional Google Button - Standardized & Mobile Optimized */
.auth-btn-google-professional {
    background: #ffffff !important;
    color: #3c4043 !important;
    border: none !important;
    padding: 0 16px !important;
    height: 52px !important;
    /* Larger for mobile taps */
    border-radius: 4px !important;
    font-weight: 500 !important;
    font-family: 'Roboto', 'Outfit', sans-serif !important;
    font-size: 16px !important;
    /* Slightly larger text */
    letter-spacing: 0.25px !important;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow:
        0 2px 4px 0 rgba(0, 0, 0, 0.25),
        0 0 1px 0 rgba(0, 0, 0, 0.08) !important;
}

.auth-btn-google-professional:hover {
    background-color: #f8f9fa !important;
    box-shadow:
        0 3px 6px 0 rgba(0, 0, 0, 0.3),
        0 0 2px 0 rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

.auth-btn-google-professional:active {
    background-color: #f1f3f4 !important;
    transform: translateY(0);
}

.google-icon-wrapper {
    display: flex;
    align-items: center;
}

.auth-close-btn {
    background: rgba(198, 255, 0, 0.05) !important;
    border: 1px solid rgba(198, 255, 0, 0.3) !important;
    color: var(--auth-accent) !important;
    margin-top: 16px !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    width: auto !important;
    box-shadow: 0 4px 15px rgba(198, 255, 0, 0.1) !important;
}

.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}