/* AUTHENTICATION SCREEN */
#auth-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-bg, radial-gradient(circle at top right, #2a2a2a, #0d0d0d));
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: opacity 0.5s ease;
}

[data-theme="day"] #auth-screen {
    background: linear-gradient(160deg, #f4f7f2 0%, #e6ede2 40%, #f0f5ec 100%);
}

#auth-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    text-align: center;
}

.auth-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.auth-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.auth-input:focus {
    border-color: var(--accent-color);
}

[data-theme="day"] .auth-input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a2e1a;
}

[data-theme="day"] .auth-title {
    color: #1a2e1a;
}

[data-theme="day"] .auth-switch {
    color: #5a6b5a;
}

.auth-switch {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-bottom: 15px;
    min-height: 20px;
}

.error-message:empty {
    min-height: 0;
    margin-bottom: 0;
}
