/* ============================================================
   SATR — page-specific styles for auth.html
   (extracted from the former inline <style> block; selectors
   already owned by shared files now live there — do NOT
   re-add .logo-sub, .form-group, .form-label, .form-input,
   .btn-primary or shared responsive rules here)
   ============================================================ */

/* Auth Card */
.auth-wrapper {
    width: 100%; max-width: 440px;
    padding: 20px;
    position: relative;
}

.auth-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 36px 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900; color: #000;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.logo-title { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.auth-heading { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-subheading { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 28px; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-input::placeholder { color: var(--text-muted); }
.form-input.ltr { direction: ltr; }

.input-icon-wrap { position: relative; }
.input-icon { position: absolute; top: 50%; transform: translateY(-50%); right: 12px; color: var(--text-muted); font-size: 1.1rem; pointer-events: none; }
.input-icon-wrap .form-input { padding-right: 38px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-full);
    font-family: inherit; font-weight: 800; font-size: 1rem;
    border: none; transition: all var(--transition); cursor: pointer;
    width: 100%;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--text-muted); font-size: 0.85rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-switch a { color: var(--primary); font-weight: 700; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

.error-msg {
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.2);
    color: var(--red);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: none;
}

.success-msg {
    background: var(--primary-dim);
    border: 1px solid rgba(0,214,143,0.2);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: none;
}

.back-link {
    display: flex; align-items: center; gap: 6px;
    text-align: center; justify-content: center;
    margin-top: 18px;
    font-size: 0.85rem; color: var(--text-muted);
}
.back-link:hover { color: var(--text-primary); }

.hidden { display: none !important; }

/* Login helper links (forgot password / resend confirmation) */
.auth-aux-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.auth-aux-links a {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

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

/* Spinner (uses shared satr-spin keyframes from components.css) */
.spinner { animation: satr-spin 0.8s linear infinite; }

@media (max-width: 600px) {
    .logo-title { font-size: 1.7rem; }
    .auth-heading { font-size: 1.25rem; }
}
