/* Authentication Page Styles */

:root {
    --auth-primary: #800020;
    --auth-primary-hover: #5c0017;
    --auth-glass-bg: rgba(255, 255, 255, 0.12);
    --auth-glass-border: rgba(255, 255, 255, 0.15);
    --auth-text-light: #ffffff;
    --auth-text-muted: rgba(255, 255, 255, 0.75);
}

.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/auth-bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    padding: 2rem;
    gap: 5rem;
    align-items: center;
}

/* Hero Section */
.auth-hero {
    flex: 1.2;
    color: var(--auth-text-light);
    display: none;
    /* Hidden on small screens */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .auth-hero {
        display: block;
    }
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    opacity: 1;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    max-width: 500px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 480px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Form Section */
.auth-form-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--auth-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-glass-border);
    border-radius: 1.5rem;
    padding: 3.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.form-title {
    font-family: 'Outfit', sans-serif;
    color: var(--auth-text-light);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.form-subtitle {
    color: var(--auth-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.form-label {
    color: var(--auth-text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-input-field {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: box-shadow 0.2s;
    color: #1a1a1a;
}

.auth-input-field:focus {
    box-shadow: 0 0 0 3px rgba(25, 115, 232, 0.4);
}

.forgot-link {
    color: var(--auth-text-light);
    font-size: 0.875rem;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 1;
}

.auth-btn-primary {
    background: var(--auth-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1.125rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 1rem;
}

.auth-btn-primary:hover {
    background: var(--auth-primary-hover);
}

.auth-btn-primary:active {
    transform: scale(0.98);
}

/* Separator */
.separator-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.separator-text {
    color: var(--auth-text-muted);
    font-size: 0.875rem;
}

/* Google Button */
.google-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--auth-text-light);
    border: 1px solid var(--auth-glass-border);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Signup prompt */
.signup-prompt {
    text-align: center;
    margin-top: 2rem;
    color: var(--auth-text-light);
    font-size: 0.875rem;
}

.signup-link {
    font-weight: 600;
    color: white;
    text-decoration: underline;
}

/* Error banner */
.error-banner {
    background: rgba(255, 82, 82, 0.2);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: white;
    margin-bottom: 1.5rem;
}

.error-text {
    margin: 0;
}