/* ===== Authentication Screen ===== */
.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: linear-gradient(135deg, hsl(30, 25%, 94%) 0%, hsl(30, 30%, 88%) 100%);
}

.auth-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    animation: slideUp var(--transition-base);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-header h1 {
    font-size: var(--font-size-2xl);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
}

.auth-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    background: var(--color-bg);
    padding: var(--space-xs);
    border-radius: var(--radius);
}

.auth-tab {
    flex: 1;
    padding: var(--space-md);
    border: none;
    background: transparent;
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-tab.active {
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.auth-form {
    animation: fadeIn var(--transition-base);
}

.auth-form h2 {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.auth-error {
    background: hsl(0, 70%, 95%);
    color: var(--color-danger);
    padding: var(--space-md);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
    display: none;
}

.auth-error:not(:empty) {
    display: block;
}

.btn-auth {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--space-md);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: hsl(140, 60%, 95%);
    border-radius: var(--radius);
}

.btn-logout {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: var(--font-size-xl);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .auth-container {
        padding: var(--space-lg);
    }

    .auth-header h1 {
        font-size: var(--font-size-xl);
    }
}