/* ═══════════════════════════════════════════════════════════
   AUTH PAGE - Claude Warm Literary Style
══════════════════════════════════════════════════════════════ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--parchment);
    position: relative;
    overflow: hidden;
}

/* Warm ambient glow - very subtle */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.15;
}

.auth-wrapper::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 100, 66, 0.12) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.auth-wrapper::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 100, 66, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -80px;
}

/* Auth Container - Elevated Ivory Card */
.auth-container {
    background: var(--ivory);
    border: 1px solid var(--border-cream);
    border-radius: 16px;
    box-shadow: var(--shadow-whisper);
    padding: 48px 44px;
    max-width: 460px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(32px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Auth Header - Serif Typography */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo {
    display: inline-flex;
    margin-bottom: 24px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.auth-header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.20;
    color: var(--anthropic-near-black);
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 17px;
    line-height: 1.60;
    color: var(--olive-gray);
    margin: 0;
}

/* Form - Clean & Warm */
.auth-form { 
    margin-bottom: 32px; 
}

.auth-form .form-group { 
    margin-bottom: 24px; 
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--olive-gray);
    margin-bottom: 8px;
}

.auth-form .form-control {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border: 1px solid var(--border-warm);
    border-radius: 12px;
    transition: all 0.2s ease;
    background: var(--pure-white);
    color: var(--anthropic-near-black);
    font-family: var(--font-sans);
}

.auth-form .form-control:focus {
    border-color: var(--focus-blue);
    background: var(--pure-white);
    box-shadow: 0 0 0 1px var(--focus-blue);
    outline: none;
}

.auth-form .form-control::placeholder { 
    color: var(--stone-gray); 
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 12px;
    font-family: var(--font-sans);
}

/* Footer - Warm Typography */
.auth-footer {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-cream);
}

.auth-footer p {
    margin: 0;
    color: var(--olive-gray);
    font-size: 15px;
    line-height: 1.60;
}

.auth-footer a {
    color: var(--terracotta-brand);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-footer a:hover {
    color: var(--coral-accent);
    text-decoration: underline;
}

/* Alert - Warm Error */
.alert-danger {
    background: rgba(181, 51, 51, 0.08);
    border: 1px solid rgba(181, 51, 51, 0.2);
    color: var(--error-crimson);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.60;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

@media (max-width: 576px) {
    .auth-container { 
        padding: 32px 24px; 
    }
    .auth-header h1 { 
        font-size: 1.6rem; 
    }
    .auth-wrapper {
        padding: 20px;
    }
}
