:root {
    /* Claude-inspired pastel colors */
    --color-primary: #d4a574;
    --color-primary-light: #e8c9a6;
    --color-bg: #f5f0e8;
    --color-bg-secondary: #faf7f2;
    --color-text: #2c2415;
    --color-text-light: #6b5d47;
    --color-accent: #c88f5f;
    --color-success: #b8c9a4;
    --color-error: #d67070;
    --color-card: #ffffff;
    --color-border: #e8dfd0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Shadows */
    --shadow-md: 0 4px 16px rgba(212, 165, 116, 0.12);
    --shadow-lg: 0 8px 32px rgba(212, 165, 116, 0.16);
    
    /* Transitions */
    --transition-base: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

.auth-left {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-brand {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.auth-logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.auth-brand h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
}

.auth-brand p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.auth-illustration {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-illustration h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.auth-illustration p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
}

.benefits {
    margin-top: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.benefit-item svg {
    color: var(--color-success);
    background: white;
    border-radius: 50%;
    padding: 4px;
}

.auth-right {
    background: var(--color-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

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

.auth-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
}

.auth-subtitle {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

/* Messages */
.message {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: none;
    animation: slideDown 0.3s ease;
}

.message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
    display: block;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    display: block;
}

/* Form Styles */
.auth-form {
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--color-bg-secondary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-container span {
    color: var(--color-text-light);
}

.checkbox-container a {
    color: var(--color-primary);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

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

.auth-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.auth-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: var(--spacing-lg) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--color-border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--color-card);
    padding: 0 var(--spacing-sm);
    color: var(--color-text-light);
}

.auth-footer {
    text-align: center;
}

.auth-footer p {
    margin: var(--spacing-sm) 0;
    color: var(--color-text-light);
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

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

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        padding: var(--spacing-lg);
        min-height: 40vh;
    }
    
    .auth-logo {
        height: 60px;
    }
    
    .auth-brand h1 {
        font-size: 2rem;
    }
    
    .auth-illustration h2 {
        font-size: 1.5rem;
    }
    
    .auth-illustration p {
        font-size: 1rem;
    }
    
    .benefits {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: var(--spacing-md);
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
