/* Authentication Page Styles for LeviShare */

:root {
    --auth-primary: #1a56db;
    --auth-primary-hover: #1245b5;
    --auth-glass-bg: rgba(255, 255, 255, 0.04);
    --auth-glass-border: rgba(255, 255, 255, 0.08);
    --auth-text-light: #ffffff;
    --auth-text-muted: rgba(255, 255, 255, 0.65);
}

.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 100%);
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Hero Section */
.auth-hero {
    flex: 1.2;
    color: var(--auth-text-light);
    display: none;
    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: 2.5rem;
    opacity: 1;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-family: 'Outfit', sans-serif;
}

.hero-title {
    font-size: 4.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);
    background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    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(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--auth-glass-border);
    border-radius: 1.5rem;
    padding: 3.5rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.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.95rem;
    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.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: all 0.2s;
    color: white;
}

.auth-input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-input-field:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.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: all 0.2s;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.auth-btn-primary:hover {
    background: var(--auth-primary-hover);
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.4);
}

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

.auth-inline-link {
    color: #60a5fa !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-inline-link:hover {
    color: #93c5fd !important;
    text-decoration: underline;
}

.auth-support-text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem;
}

.onboarding-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.25rem;
    color: white;
}

.onboarding-eyebrow {
    margin: 0 0 0.5rem 0;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.onboarding-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: white !important;
}

.onboarding-description {
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5;
}

.error-banner {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    margin-bottom: 1.5rem;
}

.error-text {
    margin: 0;
}

@media (max-width: 1023px) {
    .auth-container {
        padding: 1rem;
        justify-content: center;
    }

    .glass-card {
        padding: 2.5rem 2rem;
        border-radius: 1.25rem;
    }
}
