﻿/* Auth page styles extracted from Blade views */
:root {
    --auth-primary: #0b0d3e;
    --auth-accent: #634d9f;
    --auth-text: #111827;
    --auth-muted: #64748b;
    --auth-surface: #ffffff;
    --auth-border: #e5e7eb;
    --auth-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}
* { box-sizing: border-box; }
body.auth-page {
    font-family: 'Public Sans', sans-serif;
    background: #f6f4f4;
    color: var(--auth-text);
    min-height: 100vh;
    margin: 0;
}
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 12%, rgba(11, 13, 62, 0.08), transparent 35%),
        radial-gradient(circle at 88% 22%, rgba(99, 77, 159, 0.08), transparent 40%),
        radial-gradient(circle at 30% 90%, rgba(11, 13, 62, 0.08), transparent 35%),
        linear-gradient(135deg, #faf7f7 0%, #f6f4f4 100%);
}
.auth-nav {
    padding: 26px 0 10px;
}
.auth-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
}
.alzad-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}
.auth-lang select {
    border: 1px solid var(--auth-border);
    background: #fff;
    color: var(--auth-text);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
}
.auth-card {
    width: min(480px, 100%);
    background: var(--auth-surface);
    border-radius: 28px;
    padding: 38px 36px;
    box-shadow: var(--auth-shadow);
    border: 1px solid #eef1f6;
}
.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}
.auth-subtitle {
    text-align: center;
    color: var(--auth-muted);
    margin-bottom: 28px;
    font-weight: 500;
}
.auth-field {
    margin-bottom: 18px;
}
.auth-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.auth-input-wrap {
    position: relative;
}
.auth-input {
    width: 100%;
    border: none;
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--auth-text);
}
.auth-input:focus {
    outline: 2px solid rgba(99, 77, 159, 0.25);
    background: #fff;
}
.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.auth-input-action {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
}
.auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--auth-muted);
    margin-bottom: 20px;
}
.auth-button {
    width: 100%;
    border: none;
    background: var(--auth-primary);
    color: #fff;
    padding: 14px 18px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 16px 30px rgba(11, 13, 62, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.auth-footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 24px;
    flex-wrap: wrap;
}
.auth-footer-links a { color: inherit; font-weight: 600; }
.auth-footer-links a:hover { color: var(--auth-accent); }
.auth-link {
    font-size: 0.75rem;
    color: var(--auth-accent);
    font-weight: 700;
}
.auth-muted {
    text-align: center;
    font-weight: 600;
    color: var(--auth-muted);
}
.auth-link-primary {
    color: var(--auth-accent);
    font-weight: 800;
}
@media (max-width: 576px) {
    .auth-card { padding: 32px 24px; }
    .alzad-logo { width: 120px; }
}
html[dir="rtl"] .auth-input {
    padding-left: 16px;
    padding-right: 44px;
}
html[dir="rtl"] .auth-input-icon {
    left: auto;
    right: 16px;
}
html[dir="rtl"] .auth-input-action {
    right: auto;
    left: 14px;
}
html[dir="rtl"] .auth-title,
html[dir="rtl"] .auth-subtitle {
    text-align: right;
}
html[dir="rtl"] .auth-label {
    flex-direction: inherit;
}
html[dir="rtl"] .auth-remember {
    flex-direction: row-reverse;
}
