/* AniTrack Authentication Styles 
    Covers Login and Signup Glassmorphism 
*/

/* 1. Global Setup for Auth Pages */
body.home {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../img/login-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 2. Layout Containers */
.auth-page {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* 3. The Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    color: white;
}

/* Login Card: Side-by-side */
.login-card {
    display: flex;
    max-width: 950px;
    width: 100%;
    align-items: center;
    gap: 40px;
}

/* Signup Card: Centered Column */
.signup-card {
    max-width: 520px;
    width: 100%;
}

/* 4. Typography */
.gold-text {
    color: #DDB75A;
    font-family: 'Inria Serif', serif;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.auth-subtitle {
    margin-bottom: 30px;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.4;
}

.centered-text {
    text-align: center;
}

/* 5. Form Elements */
.login-form-container {
    flex: 1.2;
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 14px 20px;
    color: #fff;
    margin-bottom: 18px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.glass-input:focus {
    border-color: #DDB75A;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.name-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.name-row .glass-input {
    margin-bottom: 0; /* Override for the row container */
}

/* 6. Form Options (Remember Me / Forgot Pwd) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-link {
    color: #DDB75A;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* 7. Buttons */
.auth-btn {
    width: 100%;
    background-color: #DDB75A;
    color: #1a1a1a;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.auth-btn:hover {
    background-color: #c4a14e;
    transform: translateY(-2px);
}

/* 8. Mascot Section (Login Only) */
.login-mascot-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mascot-circle {
    background-color: #e1c15a;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mascot-circle img {
    width: 75%;
    height: auto;
}

/* 9. Footer Text Links */
.switch-auth {
    margin-top: 25px;
    font-size: 0.95rem;
}

.switch-auth a {
    color: #DDB75A;
    font-weight: 700;
    text-decoration: none;
}

.switch-auth a:hover {
    text-decoration: underline;
}

/* 10. Responsive Design */
@media (max-width: 850px) {
    .login-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .login-form-container {
        width: 100%;
    }

    .mascot-circle {
        width: 200px;
        height: 200px;
        margin-top: 20px;
    }

    .name-row {
        flex-direction: column;
        gap: 0;
    }

    .name-row .glass-input {
        margin-bottom: 18px;
    }
}