/* Authentication Styles */
html, body {
    overflow: hidden;
    height: 100%;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    background: rgba(245, 222, 179, 0.08);
    border: 2px solid rgba(245, 222, 179, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-box h1 {
    text-align: center;
    color: #f5deb3;
    font-size: 1.8em;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #fff, #f5deb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form h2 {
    color: #f5deb3;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form .form-group label {
    display: block;
    color: #f5deb3;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.95em;
}

.auth-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(245, 222, 179, 0.3);
    border-radius: 8px;
    background: rgba(245, 222, 179, 0.05);
    color: #fff;
    font-size: 0.95em;
    box-sizing: border-box;
    transition: all 0.3s;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #f5deb3;
    background: rgba(245, 222, 179, 0.1);
    box-shadow: 0 0 10px rgba(245, 222, 179, 0.2);
}

.auth-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #f5deb3;
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 222, 179, 0.2);
    margin-top: 10px;
}

.auth-btn:hover {
    background: #e8d4a0;
    box-shadow: 0 6px 20px rgba(245, 222, 179, 0.3);
    transform: translateY(-2px);
}

.auth-btn:active {
    transform: translateY(0);
}

.form-switch {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    font-size: 0.9em;
}

.form-switch a {
    color: #f5deb3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.form-switch a:hover {
    color: #fff;
    text-decoration: underline;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.message.error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .auth-box {
        padding: 25px;
        border-radius: 15px;
    }

    .auth-box h1 {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .auth-form h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }

    .auth-form .form-group {
        margin-bottom: 12px;
    }

    .auth-form .form-group input {
        padding: 8px;
        font-size: 0.9em;
    }

    .auth-btn {
        padding: 10px;
        font-size: 0.9em;
    }

    .form-switch {
        font-size: 0.85em;
    }
}
