/* ===== LAZARITO - AUTH PAGES ===== */
:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --radius-md: 10px;
    --radius-lg: 16px;
}

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

.auth-body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.auth-card {
    background: var(--bg-card);
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 2rem;
    animation: auth-pop 0.35s ease;
}

@keyframes auth-pop {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-brand { text-align: center; margin-bottom: 1.75rem; }
.auth-logo {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    margin-bottom: 0.75rem;
}
.auth-brand h1 { font-size: 1.6rem; color: var(--primary-color); }
.auth-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }

.auth-form { display: flex; flex-direction: column; gap: 1rem; }

.auth-field { display: flex; flex-direction: column; gap: 0.35rem; }
.auth-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

.auth-input-wrap { position: relative; display: flex; align-items: center; }
.auth-input-wrap > i {
    position: absolute; left: 0.85rem; color: var(--text-secondary); font-size: 1.05rem;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.auth-toggle-pw {
    position: absolute; right: 0.6rem; background: none; border: none;
    color: var(--text-secondary); cursor: pointer; font-size: 1.05rem; padding: 0.25rem;
}

.auth-remember {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.88rem; color: var(--text-secondary);
}
.auth-remember input { width: auto; }

.auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff; border: none; border-radius: var(--radius-md);
    padding: 0.8rem; font-size: 0.98rem; font-weight: 600; cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3); }
.auth-btn:active { transform: translateY(0); }

.auth-links { margin-top: 1.25rem; text-align: center; font-size: 0.88rem; }
.auth-links a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }

.auth-flashes { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.auth-flash {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 0.85rem; border-radius: var(--radius-md); font-size: 0.88rem;
}
.auth-flash-info { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }
.auth-flash-error { background: #fef2f2; color: #b91c1c; border-left: 4px solid var(--danger-color); }

.auth-hint { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.auth-hint ul { margin: 0.35rem 0 0 1.1rem; }

.pw-meter { height: 6px; border-radius: 3px; background: var(--border-color); overflow: hidden; }
.pw-meter > span { display: block; height: 100%; width: 0; transition: width 0.25s, background 0.25s; }

.auth-center { text-align: center; }
.auth-center .ri-error-warning-line { font-size: 2.5rem; color: var(--danger-color); }
