/* Base styles */
body.auth-page {
    background: #0F172A;
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    /* position: relative; */
    /* overflow: hidden; */
}

/* Animated background elements */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(transparent 7px, rgba(0, 255, 255, 0.03) 8px), linear-gradient(90deg, transparent 7px, rgba(0, 255, 255, 0.03) 8px);
    background-size: 8px 8px;
    z-index: 0;
}

.neon-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

    .neon-circle:nth-child(1) {
        top: -150px;
        left: -150px;
        width: 300px;
        height: 300px;
        background: rgba(255, 0, 255, 0.15);
    }

    .neon-circle:nth-child(2) {
        bottom: -150px;
        right: -150px;
        width: 400px;
        height: 400px;
        background: rgba(0, 255, 255, 0.15);
    }

/* Glass Card */
.auth-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

    .auth-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, transparent, rgba(0, 255, 255, 0.1), transparent );
        transform: rotate(45deg);
        animation: shine 6s linear infinite;
        z-index: -1;
    }

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Typography */
.auth-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.1);
}

/* Form Elements */
.auth-input {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 2px solid rgba(0, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 1rem 1.2rem !important;
    color: #fff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .auth-input:focus {
        background: rgba(15, 23, 42, 0.8) !important;
        border-color: rgba(0, 255, 255, 0.6) !important;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2) !important;
    }

    .auth-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

/* Input Groups */
.input-group-text {
    background: transparent !important;
    border: none !important;
    color: rgba(0, 255, 255, 0.8);
    font-size: 1.2rem;
}

/* Button */
.auth-btn {
    /*background: linear-gradient(45deg, #00ffff, #ff00ff);*/
    /*color: #fff;*/
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .auth-btn::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: 0.5s;
    }

    .auth-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    }

        .auth-btn:hover::before {
            left: 100%;
        }

/* Links */
.auth-link {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

    .auth-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #00ffff, #ff00ff);
        transition: width 0.3s ease;
    }

    .auth-link:hover {
        color: #ff00ff;
        text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    }

        .auth-link:hover::after {
            width: 100%;
        }

/* Checkbox */
.form-check-input {
    background-color: rgba(15, 23, 42, 0.6);
    border-color: rgba(0, 255, 255, 0.4);
    width: 1.2em;
    height: 1.2em;
    border-radius: 6px;
}

    .form-check-input:checked {
        background-color: #00ffff;
        border-color: #00ffff;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    }

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding-left: 0.5rem;
}

/* Alert Messages */
.alert {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Logo animation */
.logo-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

    .logo-wrapper img {
        position: relative;
        z-index: 1;
    }

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.2);
    filter: blur(20px);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem .5rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}
