/* ================= RESET & BASE ================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-900: #0A1F44;
    --navy-800: #0F2A5C;
    --navy-700: #173B7A;
    --gold-500: #C9A227;
    --gold-400: #DDB43A;
    --gold-300: #E8C766;
    --gold-soft: rgba(201, 162, 39, 0.12);
    --emerald: #059669;
    --emerald-soft: rgba(5, 150, 105, 0.1);
    --red-500: #DC2626;
    --red-600: #B91C1C;
    --red-soft: rgba(220, 38, 38, 0.1);
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --border-light: rgba(255,255,255,0.1);
    --shadow-sm: 0 4px 16px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 12px 32px rgba(10, 31, 68, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.16);
    --shadow-gold: 0 12px 30px rgba(201, 162, 39, 0.35);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

::selection { background: var(--gold-500); color: var(--navy-900); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ================= LAYOUT ================= */
.register-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.register-form-side {
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    background: var(--bg-white);
    position: relative;
    overflow-y: auto;
}

.register-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    border-radius: 12px;
    font-size: 22px;
    box-shadow: var(--shadow-gold);
}
.logo-text .accent { color: var(--gold-500); }

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    transition: var(--transition);
}
.back-home:hover { background: var(--bg-light); color: var(--navy-900); }

.register-form-wrapper {
    max-width: 460px;
    width: 100%;
    margin: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.form-title { text-align: right; margin-bottom: 28px; }
.form-title h1 {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 900;
    color: var(--navy-900);
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 10px;
}
.form-title h1 .accent {
    color: var(--gold-500);
    position: relative;
    display: inline-block;
}
.form-title h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 2px; right: 0; left: 0;
    height: 6px;
    background: rgba(201, 162, 39, 0.2);
    z-index: -1;
    border-radius: 3px;
}
.form-title p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ---------- تب موکل/وکیل ---------- */
.user-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: var(--bg-light);
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    position: relative;
}
.user-type-tabs::before {
    content: '';
    position: absolute;
    top: 5px; bottom: 5px; right: 5px;
    width: calc(50% - 5px);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: 10px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(10, 31, 68, 0.2);
}
.user-type-tabs[data-active="lawyer"]::before {
    transform: translateX(calc(-100% - 4px));
}
.user-type-tab {
    position: relative;
    z-index: 2;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
}
.user-type-tab.active { color: #fff; }
.user-type-tab i { font-size: 15px; }

/* ---------- فرم ---------- */
.register-form { display: grid; gap: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group { display: grid; gap: 8px; }
.registration-language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-light);
}
.registration-language-options label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
}
.registration-language-options input { accent-color: var(--blue-600, #2563eb); }
.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-900);
}
.form-group label .optional {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.input-wrap { position: relative; }
.input-wrap input,
.input-wrap select {
    width: 100%;
    padding: 14px 46px 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.input-wrap input::placeholder { color: var(--text-light); font-size: 14px; }
.input-wrap input:focus,
.input-wrap select:focus {
    outline: none;
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}
.input-wrap input.error {
    border-color: var(--red-500);
    background: #FEF2F2;
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 15px;
    pointer-events: none;
    transition: color 0.3s ease;
}
.input-wrap input:focus ~ .input-icon,
.input-wrap select:focus ~ .input-icon { color: var(--gold-500); }
.input-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition);
}
.input-toggle:hover { color: var(--navy-900); background: rgba(10, 31, 68, 0.06); }

/* ---------- قدرت رمز عبور ---------- */
.password-strength { display: grid; gap: 6px; margin-top: 4px; }
.strength-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
.strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    transition: background 0.3s ease;
}
.strength-bar.weak { background: #EF4444; }
.strength-bar.fair { background: #F59E0B; }
.strength-bar.good { background: #3B82F6; }
.strength-bar.strong { background: #10B981; }
.strength-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---------- آپلود تصویر ---------- */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.file-upload:hover { border-color: var(--gold-500); background: var(--gold-soft); }
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.file-upload-content .icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--gold-500);
    border-radius: 12px;
    font-size: 20px;
}
.file-upload-content .title { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.file-upload-content .sub { font-size: 11.5px; color: var(--text-muted); }
.file-preview {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.file-preview.show { display: flex; }
.file-preview img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}
.file-preview .info { flex: 1; text-align: right; min-width: 0; }
.file-preview .name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.file-preview .size { font-size: 11px; color: var(--text-muted); }
.file-preview .remove {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--red-soft);
    color: var(--red-500);
    border-radius: 8px;
    font-size: 12px;
    transition: var(--transition);
}
.file-preview .remove:hover { background: var(--red-500); color: #fff; }

/* ---------- تخصص‌ها ---------- */
.specialty-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    position: relative;
    cursor: pointer;
    user-select: none;
}
.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.chip .chip-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    background: #fff;
    transition: var(--transition);
}
.chip .chip-inner:hover { border-color: var(--gold-500); color: var(--navy-900); }
.chip input:checked ~ .chip-inner {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-color: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* ---------- چک‌باکس ---------- */
.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-body);
    cursor: pointer;
    user-select: none;
    line-height: 1.8;
}
.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.checkbox-wrap .check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: #fff;
    transition: var(--transition);
    color: transparent;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 3px;
}
.checkbox-wrap input:checked ~ .check-box {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-color: var(--gold-500);
    color: var(--navy-900);
}
.checkbox-wrap a { color: var(--gold-500); font-weight: 700; }
.checkbox-wrap a:hover { color: var(--gold-400); text-decoration: underline; }

/* ---------- دکمه ثبت‌نام ---------- */
.btn-submit {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    transition: var(--transition);
    box-shadow: 0 10px 26px rgba(10, 31, 68, 0.25);
    position: relative;
    overflow: hidden;
}
.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(10, 31, 68, 0.35);
}
.btn-submit:disabled { opacity: 0.7; pointer-events: none; }
.btn-submit .btn-loader { display: none; align-items: center; gap: 10px; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loader { display: inline-flex; }
.btn-loader .spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- جداکننده ---------- */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 500;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ---------- ثبت‌نام گوگل ---------- */
.btn-google {
    width: 100%;
    padding: 13px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.btn-google:hover:not(:disabled) {
    border-color: var(--navy-900);
    background: var(--bg-light);
    color: var(--navy-900);
}
.btn-google:disabled { opacity: 0.6; pointer-events: none; }
.btn-google i { font-size: 17px; }

/* ---------- لینک ورود ---------- */
.login-link {
    text-align: center;
    margin-top: 22px;
    font-size: 14.5px;
    color: var(--text-muted);
}
.login-link a {
    color: var(--gold-500);
    font-weight: 800;
    transition: var(--transition);
}
.login-link a:hover { color: var(--gold-400); text-decoration: underline; }

.form-footer {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* ---------- فیلدهای وکیل ---------- */
.form-lawyer-fields { display: none; }
.form-lawyer-fields.show { display: grid; gap: 16px; }
.lawyer-form-fields{display:grid;gap:16px}.required-mark{color:var(--red-500);font-weight:900}.btn-otp{align-self:start;padding:9px 14px;border-radius:9px;background:var(--navy-800);color:#fff;font-size:13px;font-weight:800}.btn-otp:disabled{opacity:.6;cursor:wait}.otp-verify-row{display:flex;gap:8px}.otp-verify-row input{min-width:0;flex:1;padding:10px 12px;border:1px solid var(--border);border-radius:9px;font:inherit}.phone-verified-note{color:#047857;font-weight:800}.register-form [hidden]{display:none!important}.file-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.lawyer-policy{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-light);font-size:13px}.lawyer-policy summary{font-weight:800;color:var(--navy-800);cursor:pointer}.lawyer-policy p{margin-top:8px;color:var(--text-body);line-height:1.9}

/* ================= ستون تصویری ================= */
.register-visual-side {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
}
.register-visual-side::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}
.register-visual-side::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(30, 75, 148, 0.5), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}
.visual-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.visual-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    text-align: right;
}
.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-soft);
    color: var(--gold-400);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}
.visual-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}
.visual-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.visual-content h2 .highlight {
    color: var(--gold-400);
    position: relative;
    display: inline-block;
}
.visual-content h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 3px; right: 0; left: 0;
    height: 8px;
    background: rgba(201, 162, 39, 0.2);
    z-index: -1;
    border-radius: 4px;
}
.visual-content > p {
    font-size: 15.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    margin-bottom: 36px;
}

.visual-features { display: grid; gap: 18px; margin-bottom: 40px; }
.visual-feature { display: flex; align-items: flex-start; gap: 14px; }
.visual-feature .vf-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--gold-400);
    border-radius: 12px;
    font-size: 18px;
    flex-shrink: 0;
}
.visual-feature h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.visual-feature p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

.visual-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}
.visual-stat .num {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-400);
    display: block;
    margin-bottom: 3px;
}
.visual-stat .label { font-size: 12.5px; color: rgba(255,255,255,0.6); }

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
    background: #fff;
    border-radius: 22px;
    max-width: 420px;
    width: 100%;
    padding: 32px 26px 26px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }
.modal::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.modal.success::before { background: linear-gradient(90deg, var(--emerald), #34D399); }
.modal.error::before { background: linear-gradient(90deg, var(--red-500), #F87171); }
.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--gold-500);
    animation: modalIconIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.success .modal-icon { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: var(--emerald); }
.modal.error .modal-icon { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: var(--red-500); }
@keyframes modalIconIn {
    0% { transform: scale(0) rotate(-45deg); }
    100% { transform: scale(1) rotate(0); }
}
.modal h3 { font-size: 19px; font-weight: 900; color: var(--navy-900); margin-bottom: 10px; line-height: 1.5; }
.modal p { font-size: 14.5px; color: var(--text-muted); line-height: 1.9; margin-bottom: 22px; white-space: pre-line; }
.btn-modal {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(10, 31, 68, 0.25);
    cursor: pointer;
    border: none;
}
.btn-modal:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 31, 68, 0.35); }

/* ================= TOAST ================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--navy-900);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    animation: toastIn 0.3s ease;
    pointer-events: auto;
    border-right: 4px solid var(--gold-500);
}
.toast.success { border-right-color: var(--emerald); }
.toast.error { border-right-color: var(--red-500); }
.toast i { font-size: 18px; }
@keyframes toastIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .register-page { grid-template-columns: 1fr; }
    .register-visual-side { display: none; }
    .register-form-side { padding: 30px; }
}
@media (max-width: 520px) {
    .register-form-side { padding: 24px 18px; }
    .register-header { margin-bottom: 24px; }
    .logo { font-size: 19px; }
    .logo-icon { width: 38px; height: 38px; font-size: 19px; }
    .back-home span { display: none; }
    .form-title h1 { font-size: 1.3rem; }
    .user-type-tab { font-size: 13.5px; padding: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .input-wrap input { font-size: 14.5px; padding: 13px 42px 13px 14px; }
    .btn-submit { font-size: 15px; padding: 15px; }
    .toast-container { left: 12px; right: 12px; bottom: 12px; }
    .toast { min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.iran-city-picker{position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:700;max-height:min(340px,55vh);overflow:auto;padding:9px;border:1px solid #e0e7f0;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(14,34,59,.18)}.iran-city-picker[hidden]{display:none}.iran-city-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:7px}.iran-city-option{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:42px;padding:8px 10px;border:1px solid #e6ebf1;border-radius:11px;background:linear-gradient(145deg,#fff,#f8fafc);color:#30445c;font-family:inherit;font-size:13px;font-weight:600;text-align:right;cursor:pointer;transition:.15s}.iran-city-option:hover{border-color:#d5ba5e;background:#fffbeb;color:#102d56;transform:translateY(-1px)}.iran-city-option i{color:#b48a12;font-size:10px}.iran-city-empty{grid-column:1/-1;margin:0;padding:18px;text-align:center;color:#8290a2}
.profile-photo-upload-group{align-content:start}.profile-photo-preview{width:110px;height:110px;object-fit:cover;border-radius:50%;border:3px solid #fff;outline:2px solid #d6b548;box-shadow:0 6px 18px #102d5622;margin:4px auto 0}.profile-photo-preview[hidden]{display:none}
