/* ===================================
   Authentication Pages Styles
   =================================== */

.auth-page {
    min-height: 100vh;
    background: var(--navy-darkest);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Visual Side */
.auth-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    overflow: hidden;
}

.auth-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(45, 58, 74, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(27, 38, 59, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--navy-darkest) 100%);
}

.auth-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.auth-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.auth-anchor {
    width: 60px;
    height: 72px;
    color: var(--gold);
}

.auth-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--gold);
}

.auth-quote {
    max-width: 400px;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.auth-quote cite {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: var(--space-sm);
}

.auth-features {
    text-align: left;
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(27, 38, 59, 0.5);
    border: 1px solid rgba(197, 179, 141, 0.2);
    border-radius: 8px;
}

.auth-features h3 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.auth-features ul {
    list-style: none;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--cream-muted);
    font-size: 0.95rem;
}

.auth-features li svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.auth-price {
    margin-top: var(--space-md);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--cream-muted);
    text-align: center;
}

/* Form Side */
.auth-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    background: var(--navy-mid);
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-form-container h1 {
    margin-bottom: var(--space-xs);
}

.auth-subtitle {
    color: var(--cream-muted);
    margin-bottom: var(--space-xl);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cream-muted);
    margin-bottom: 8px;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--cream);
    background: rgba(10, 20, 32, 0.8);
    border: 1px solid rgba(197, 179, 141, 0.2);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.auth-form input::placeholder {
    color: rgba(232, 228, 220, 0.4);
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 179, 141, 0.1);
}

.auth-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c5b38d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

.form-hint {
    font-size: 0.75rem;
    color: rgba(232, 228, 220, 0.5);
    margin-top: 6px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--cream-muted);
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(197, 179, 141, 0.4);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.checkbox-label input:checked + .checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--navy-darkest);
    font-size: 12px;
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--gold);
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(197, 179, 141, 0.2);
}

.auth-divider span {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(232, 228, 220, 0.4);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 1rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 179, 141, 0.2);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

.auth-switch {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--cream-muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--gold);
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-visual {
        display: none;
    }
    
    .auth-form-section {
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-form-section {
        padding: var(--space-lg);
    }
    
    .form-options {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
}
