/* ==========================================================================
   آریا تفکیک — سیستم طراحی پایه (نسخه‌ی ۲)
   موبایل-محور، ریسپانسیو، حالت روشن/تاریک، حس‌وحال هواشناسی
   ========================================================================== */

/* ---------- فونت محلی ---------- */
@font-face { font-family:'Vazirmatn'; src:url("../fonts/Vazirmatn-Light.6458eed8cf92.woff2") format('woff2');   font-weight:300; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url("../fonts/Vazirmatn-Regular.cdc140628f11.woff2") format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url("../fonts/Vazirmatn-Medium.dd2193b32cbe.woff2") format('woff2');  font-weight:500; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url("../fonts/Vazirmatn-Bold.7958481fe611.woff2") format('woff2');    font-weight:700; font-display:swap; }

/* ---------- تم روشن (پیش‌فرض) ---------- */
:root {
    --bg-top: #dce9fb;
    --bg-bottom: #f4f8fd;
    --surface: #ffffff;
    --surface-2: #eef4fc;
    --text: #16283c;
    --text-muted: #5f7288;
    --accent: #4f79d7;
    --accent-hover: #1d4ed8;
    --accent-contrast: #ffffff;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --border: #e2e9f2;
    --shadow: 0 8px 24px rgba(23, 51, 92, 0.08);
    --shadow-sm: 0 2px 8px rgba(23, 51, 92, 0.06);
    --danger: #dc2626;
    --success: #16a34a;

    --season-tint: 120, 170, 255;   /* هاله‌ی فصلی؛ در season.css بازنویسی می‌شود */
    --season-glow: 0.30;

    --radius: 14px;
    --radius-lg: 22px;
    --radius-sm: 11px;
    --container: 1140px;
    --header-h: 64px;

    color-scheme: light;
}

/* ---------- تم تاریک ---------- */
[data-theme="dark"] {
    --bg-top: #0b1524;
    --bg-bottom: #0f1b2e;
    --surface: #16223a;
    --surface-2: #1c2a45;
    --text: #e8eff8;
    --text-muted: #9db0c8;
    --accent: #60a5fa;
    --accent-hover: #7db4fb;
    --accent-contrast: #0b1524;
    --accent-soft: rgba(96, 165, 250, 0.16);
    --border: #263650;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
    --season-glow: 0.26;
    color-scheme: dark;
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text);
    /* هاله‌ی فصلی + گرادیان آسمان */
    background:
        radial-gradient(80% 60% at 50% -8%, rgba(var(--season-tint), var(--season-glow)), transparent 62%),
        radial-gradient(70% 50% at 100% 108%, rgba(var(--season-tint), calc(var(--season-glow) * 0.6)), transparent 60%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 42%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    transition: color 0.3s ease;
}

h1, h2, h3 { line-height: 1.35; font-weight: 700; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }

/* ---------- هدر ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; width: 34px; height: 34px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }

.header-actions { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- دکمه‌ها ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 0 20px; border: 1px solid transparent;
    border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--accent-contrast);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover {
    color: var(--accent-contrast); transform: translateY(-2px);
    box-shadow: 0 9px 24px color-mix(in srgb, var(--accent) 38%, transparent);
}
.btn-primary:active { transform: translateY(0); }
/* درخشش ملایم روی دکمه‌ی اصلی */
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.6s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text); border-color: darkslategray; }
.btn-ghostt { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text); border-color: var(--border); margin-top: 2px; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.btn-ghostt:hover { background: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* دکمه‌ی آیکونی (کلید تم) */
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text);
    cursor: pointer; transition: all 0.18s ease;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ---------- کارت ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }

.main-content { padding-block: 20px 48px; min-height: calc(100vh - var(--header-h) - 120px); }

/* ---------- پیام‌ها ---------- */
.messages { padding-top: 14px; position: relative; z-index: 3; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--border); font-size: 0.95rem; }
.alert-error   { background: rgba(220,38,38,0.10); border-color: rgba(220,38,38,.3); color: var(--danger); }
.alert-success { background: rgba(22,163,74,0.10); border-color: rgba(22,163,74,.3); color: var(--success); }

/* ---------- فرم‌ها ---------- */
.form-field { margin-bottom: 17px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form-field input {
    width: 100%; min-height: 50px; padding: 0 15px; font-family: inherit; font-size: 1rem; color: var(--text);
    background: color-mix(in srgb, var(--surface-2) 85%, transparent);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field input::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); }
.form-field input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-field .helptext, .form-field .errorlist { font-size: 0.82rem; margin-top: 5px; list-style: none; padding: 0; }
.form-field .helptext { color: var(--text-muted); }
.form-field .errorlist { color: var(--danger); }

/* ---------- فوتر ---------- */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 55%, transparent); padding-block: 22px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.site-footer p { margin: 0; }

/* ==========================================================================
   صفحه‌های ورود / ثبت‌نام — طراحی خاص و دلنشین
   ========================================================================== */
body.auth-page::before,
body.auth-page::after {
    content: ''; position: fixed; border-radius: 50%; filter: blur(70px);
    pointer-events: none; z-index: 0;
}
body.auth-page::before {
    width: 42vw; height: 42vw; max-width: 420px; max-height: 420px;
    background: rgba(var(--season-tint), 0.55);
    top: -8%; inset-inline-start: -6%; opacity: 0.55;
    animation: float-orb 14s ease-in-out infinite;
}
body.auth-page::after {
    width: 38vw; height: 38vw; max-width: 380px; max-height: 380px;
    background: color-mix(in srgb, var(--accent) 60%, transparent);
    bottom: -10%; inset-inline-end: -6%; opacity: 0.35;
    animation: float-orb 18s ease-in-out infinite reverse;
}
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4%, 6%); }
}

.auth-wrap {
    max-width: 430px; margin-inline: auto; margin-block: 30px;
    position: relative; z-index: 2;
}
.auth-card {
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    box-shadow: 0 24px 60px rgba(23, 51, 92, 0.16);
}
[data-theme="dark"] .auth-card { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }

.auth-brand {
    width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center;
    border-radius: 50%; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
.auth-brand svg { width: 34px; height: 34px; }
.auth-title { text-align: center; margin-bottom: 4px; font-size: 1.5rem; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px; }

.auth-links { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.auth-links .link-muted { text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.auth-links .link-muted:hover { color: var(--accent); }

/* ---------- افکت فصلی: لایه پشت محتوا ---------- */
#season-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }

/* ---------- ریسپانسیو ---------- */
@media (min-width: 640px) {
    .container { padding-inline: 24px; }
    .brand { font-size: 1.3rem; }
    .brand-mark { width: 38px; height: 38px; }
    .auth-card { padding: 38px 34px; }
}
@media (min-width: 1024px) {
    .main-content { padding-block: 20px 44px; }
}

/* ---------- احترام به «کاهش حرکت» ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}





/* --- آیکون‌های بدون قاب هدر + ابزار ریسپانسیو --- */
.icon-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; color: var(--text-muted);
    transition: color 0.18s ease, transform 0.18s ease;
}
.icon-link:hover { color: var(--accent); transform: translateY(-1px); }
.icon-link svg { width: 24px; height: 24px; }

/* روی موبایل فقط نشانِ لوگو دیده می‌شود تا هدر شلوغ نشود */
.brand-name { display: none; }
@media (min-width: 640px) { .brand-name { display: inline; } }

.btn > svg { width: 18px; height: 18px; flex-shrink: 0; }

.icon-link.bordered {
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.icon-link.bordered:hover { background: var(--accent-soft); }



/* --- textarea و فیلد فایل --- */
.form-field textarea {
    width: 100%; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.7;
    font-family: inherit; font-size: 1rem; color: var(--text);
    background: color-mix(in srgb, var(--surface-2) 85%, transparent);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-field textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); }

.form-field input[type="file"] {
    width: 100%; padding: 9px 12px; font-family: inherit; font-size: 0.9rem; color: var(--text-muted);
    background: color-mix(in srgb, var(--surface-2) 85%, transparent);
    border: 1.5px dashed var(--border); border-radius: var(--radius-sm); cursor: pointer;
}
.form-field input[type="file"]::file-selector-button {
    font-family: inherit; font-weight: 600; margin-inline-end: 12px; padding: 8px 14px;
    border: none; border-radius: var(--radius-sm); cursor: pointer;
    background: var(--accent-soft); color: var(--accent);
}
.form-field input[type="file"]::file-selector-button:hover { background: var(--accent); color: var(--accent-contrast); }



/* عناصر هدر کمی کوچک‌تر تا از لبه‌های بالا و پایین نوار فاصله بگیرند */
.site-header .btn { min-height: 38px; }
.site-header .icon-btn { width: 40px; height: 38px; }
.site-header .icon-link { width: 38px; height: 36px; }



/* نشان قرمز روی آیکون پشتیبانی */
.support-icon { position: relative; overflow: visible; }
.support-badge {
    position: absolute; bottom: -4px; inset-inline-start: -4px;
    min-width: 17px; height: 17px; padding: 0 4px;
    display: grid; place-items: center;
    background: #dc2626; color: #fff; font-size: 0.68rem; font-weight: 700;
    border-radius: 20px; border: 2px solid var(--surface); line-height: 1;
}




/* ==================== فوتر ==================== */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
}
.footer-grid {
    max-width: 1100px; margin-inline: auto; padding: 34px 24px 24px;
    display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media (min-width: 720px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}
.footer-col h3 { font-size: 1rem; color: var(--text); margin: 0 0 14px; }

/* درباره ما — متنِ ترازشده */
.footer-about p {
    margin: 0; line-height: 2; font-size: 0.9rem;
    text-align: justify; text-align-last: right;
}

/* گزینه‌های ارتباط با ما */
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.9rem; transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-links svg { width: 17px; height: 17px; flex-shrink: 0; }

/* نمادها (زرین‌پال و اینماد) */
/* نمادها (زرین‌پال و اینماد) — وسط‌چین */
.footer-symbols { text-align: center; }
.footer-badges {
    display: inline-flex; align-items: center; gap: 16px;
}
.badge-zarinpal, .badge-enamad { display: flex; justify-content: center; }
.badge-zarinpal img, .badge-enamad img { max-width: 130px; height: auto; }
.footer-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* کپی‌رایت */
.footer-bottom {
    border-top: 1px solid var(--border); text-align: center;
    padding: 16px 20px; font-size: 0.82rem; color: var(--text-muted);
}




/* ==================== لودر اولیه ==================== */
#page-loader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    background: var(--bg-bottom, #0b1524);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 54px; height: 54px; border-radius: 50%;
    border: 4px solid color-mix(in srgb, var(--accent) 25%, transparent);
    border-top-color: var(--accent);
    animation: loader-spin 0.8s linear infinite;
}
.loader-text { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 1px; }
@keyframes loader-spin { to { transform: rotate(360deg); } }











/* ==================== بلوک‌های آمار ==================== */
.stats-section { max-width: 1000px; margin: 0 auto 26px; }
.stats-section h2 { font-size: 1.3rem; margin-top: 20px; text-align: center; }
.stats-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) { .stats-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } .stats-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stat-label { margin-top: 6px; font-size: 0.9rem; color: var(--text-muted); }

.stats-personal .stat-num { color: #16a34a; }







/* ==================== بلوک‌های آمار ==================== */
.stats-section {
    max-width: 1000px; margin-top: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}

/* تیتر راست‌چین + نقطه‌ی سفیدِ نبض‌دار */
.stats-section h2 {
    font-size: 1.3rem; margin: 0 0 20px; text-align: right;
    display: flex; align-items: center; gap: 10px;
}
.stats-section h2 .stat-dot {
    width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
    background: #fff;
    animation: stat-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes stat-dot-pulse {
    0%, 100% { box-shadow: 0 0 4px 1px rgba(255,255,255,0.4); opacity: 0.65; }
    50%      { box-shadow: 0 0 14px 4px rgba(255,255,255,0.85); opacity: 1; }
}

.stats-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) {
    .stats-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .stats-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px 16px; text-align: center;
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stat-label { margin-top: 6px; font-size: 0.9rem; color: var(--text-muted); }

.stats-personal .stat-num { color: #16a34a; }


.nav-panel-link { position: relative; }
.ticket-badge {
    position: absolute; margin-right: -105px; margin-bottom: -15px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: #dc2626; color: #fff; font-size: 0.72rem; font-weight: 700;
    border-radius: 20px; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px var(--surface); animation: badge-pulse 1.6s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--surface), 0 0 4px 1px rgba(220,38,38,0.5); }
    50%      { box-shadow: 0 0 0 2px var(--surface), 0 0 10px 3px rgba(220,38,38,0.8); }
}


.admin-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.admin-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.admin-actions .btn svg { width: 19px; height: 19px; }
.btn-admin-panel {
    background: linear-gradient(135deg, #486c9d, #374151); color: #fff; border: none; font-weight: 700;
    margin-top: 10px;
}
.btn-admin-panel:hover { color: #fff; transform: translateY(-1px); }
.btn-admin-tickets {
    background: transparent; color: var(--accent); border: 1.5px solid var(--accent); font-weight: 700; position: relative;
    margin-top: 10px;
}
.btn-admin-tickets:hover { background: var(--accent); color: var(--accent-contrast); }
.inline-badge {
    min-width: 20px; height: 20px; padding: 0 6px; background: #dc2626; color: #fff;
    font-size: 0.75rem; font-weight: 700; border-radius: 20px; display: inline-flex;
    align-items: center; justify-content: center;
}




/* ==================== صفحات خطا ==================== */
.error-page {
    max-width: 560px; margin-inline: auto; text-align: center;
    padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.error-code {
    font-size: 6rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--accent), #7c3aed, #f7ce55);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 25%, transparent);
}
.error-title { font-size: 1.4rem; margin: 6px 0 0; }
.error-text { color: var(--text-muted); line-height: 2; margin: 0 0 10px; }
.error-page .btn { min-width: 200px; }


.news-icon { position: relative; }
.news-live-dot {
    position: absolute; inset-block-start: 6px; inset-inline-end: 6px;
    width: 7px; height: 7px; border-radius: 50%; background: #dc2626;
    box-shadow: 0 0 0 2px var(--surface);
    animation: news-dot-blink 1.6s ease-in-out infinite;
}
@keyframes news-dot-blink {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 0 2px var(--surface), 0 0 3px 1px rgba(220,38,38,0.5); }
    50%      { opacity: 1;   box-shadow: 0 0 0 2px var(--surface), 0 0 9px 3px rgba(220,38,38,0.9); }
}


.btn-custom-map {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    font-weight: 700;
    height: 60px;
}
.btn-custom-map:hover { background: var(--accent); color: var(--accent-contrast); transform: translateY(-1px); }
.btn-custom-map svg { width: 19px; height: 19px; }





/* ==================== درخواست نقشه سفارشی ==================== */
.cmr-wrap { max-width: 820px; margin-inline: auto; padding: 10px 0 40px; }
.cmr-block {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px 28px 22px; box-shadow: var(--shadow-sm);
}
.cmr-title { font-size: 1.5rem; margin: 0 0 20px; text-align: right; }
.cmr-text p {
    line-height: 2.1; margin: 0 0 14px; color: var(--text);
    text-align: justify; text-align-last: right;   /* تراز، با آخرین خط راست‌چین */
}

/* دکمه‌ی گوشه‌ی پایین‑راست */
.cmr-action { display: flex; justify-content: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.cmr-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 14px;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cmr-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 50%, transparent); }
.cmr-btn svg { width: 19px; height: 19px; }