/* ==========================================================================
   Gardoon — Auth pages (login / register)
   Extracted from account/auth/login.blade.php + register.blade.php inline <style>.
   Register block is the superset; shared rules live here once.
   ========================================================================== */

body.auth-body {
    background:
        radial-gradient(ellipse 700px 420px at 85% 10%, rgba(14, 116, 144, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 560px 380px at 10% 25%, rgba(6, 37, 62, 0.55) 0%, transparent 60%),
        #0a0a0a !important;
    color: #F2F2F2;
    min-height: 100vh;
}

.auth-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    color: #F2F2F2;
}

.auth-card .ht-btn {
    background: #2dd4bf;
    border-color: transparent;
    border-radius: 0;
    color: #034940;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.35);
    outline: 2px solid transparent;
    outline-offset: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease, outline-offset 0.2s ease;
}

.auth-card .ht-btn:hover,
.auth-card .ht-btn:focus-visible {
    background: #14b8a6;
    color: #034940;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(45, 212, 191, 0.4);
    outline-color: #2dd4bf;
    outline-offset: 3px;
}

.auth-card h1 {
    color: #fff;
}

.auth-card .text-muted {
    color: rgba(242, 242, 242, 0.6) !important;
}

.auth-body a:hover,
.auth-body a:focus-visible {
    color: #2dd4bf;
}

.auth-card .form-label {
    color: rgba(242, 242, 242, 0.85);
}

.auth-card .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.auth-card .form-control:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(45, 212, 191, 0.5);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.15);
}

.auth-card .form-check-label {
    color: rgba(242, 242, 242, 0.75);
}

.auth-card a {
    color: #7dd3fc;
    text-decoration: none;
}

.auth-card a:hover {
    color: #2dd4bf;
}

/* Readable remember-me checkbox on dark theme + attached to label in RTL */
.auth-body .form-check-input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.auth-body .form-check-input:checked {
    background-color: #2dd4bf;
    border-color: #2dd4bf;
}

.auth-body .form-check-input:focus {
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.15);
}

html[dir="rtl"] .auth-body .form-check {
    padding-left: 0;
    padding-right: 1.5em;
    text-align: right;
}

html[dir="rtl"] .auth-body .form-check .form-check-input {
    float: right;
    margin-left: 0;
    margin-right: -1.5em;
}

.auth-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    background: rgba(45, 212, 191, 0.14);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-alert.alert-danger {
    background: rgba(140, 3, 0, 0.25);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fecaca;
}

html[dir="rtl"] body, html[dir="rtl"] input, html[dir="rtl"] button {
    font-family: "IRANYekanX", sans-serif;
}

/* Register-only: account type toggle + legal fields */
.account-type-toggle {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    margin-bottom: 20px;
}

.account-type-btn {
    flex: 1;
    border: 0;
    background: transparent;
    color: rgba(242, 242, 242, 0.65);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 8px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
}

.account-type-btn.active {
    background: rgba(45, 212, 191, 0.16);
    border: 1px solid rgba(45, 212, 191, 0.4);
    color: #2dd4bf;
}

#legal-fields {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    margin-top: 4px;
}
