/* General Body Styles */
body.auth-page {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #1a1a1a, #333333, #1a1a1a);
    color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh !important; /* Override inline styles */
    margin: 0;
    overflow: hidden; /* Hide scrollbars */
}

.auth-page .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Particle Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 4rem 3.5rem;
    background: rgba(10, 10, 10, 0.85);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo */
.logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4af37, #b8860b);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: #101010;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.7), inset 0 0 15px rgba(0,0,0,0.3);
    border: 4px solid #d4af37;
}

.logo i {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

/* Headings */
h2 {
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

/* Form Group */
.form-group {
    position: relative;
    margin-bottom: 3rem;
}

.form-group i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 1.4rem;
    transition: color 0.4s ease;
}

.form-group input {
    width: 70%;
    padding: 18px 18px 18px 55px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    color: #f5f5f5;
    font-size: 1.2rem;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #b0b0b0;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input:focus + i {
    color: #b8860b;
}

/* Submit Button */
.submit-button {
    width: 70%;
    padding: 18px;
    background: linear-gradient(145deg, #d4af37, #b8860b);
    border: none;
    border-radius: 20px;
    color: #101010;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.submit-button:hover, .submit-button:focus {
    background: linear-gradient(145deg, #e0c568, #c99a2e);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
    transform: translateY(-5px);
    outline: none;
}

/* Links */
.auth-links {
    margin-top: 2.5rem;
    font-size: 1.1rem;
}

.auth-links a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.auth-links a:hover {
    color: #f5f5f5;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.9);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 500px) {
    .auth-container {
        width: 95%;
        max-width: 450px;
        height: auto;
        border-radius: 25px;
        padding: 2.5rem;
        margin: auto;
    }

    .logo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }

    .form-group input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        font-size: 1rem;
    }

    .form-group i {
        left: 15px;
        font-size: 1.1rem;
    }

    .submit-button {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
    }

    .auth-links {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}
