/* ============================================
   Torah Tracker — auth
   Phase 11.5C: Split from app.css
   ============================================ */

/* ---- Auth Screen ---- */
.auth-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100dvh;
    padding-bottom: 0;
}

.auth-logo {
    text-align: center;
    margin-bottom: 48px;
}

.auth-logo-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.auth-logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.form-input {
    width: 100%;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

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

.form-input::placeholder {
    color: var(--text-tertiary);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--accent-blue);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}

.btn-secondary:active {
    opacity: 0.8;
}

.auth-toggle {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.auth-error {
    background: rgba(255, 69, 58, 0.15);
    border: 1px solid rgba(255, 69, 58, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--accent-red);
    display: none;
}

.auth-error.visible {
    display: block;
}


