/* نامی ۱٫۱ — استایل‌های قابلیت‌های جدید (پنل‌ها، نقشه، تماس با ما، خدمات پستی، دستیار) */
/* فقط افزودنی؛ استایل‌های اصلی اپ دست‌نخورده مانده‌اند. */

.leaflet-container { font-family: inherit; background: #e8ecf1; }
.dark .leaflet-container { background: #10192a; }
.leaflet-tile-pane { filter: saturate(.85); }
.dark .leaflet-tile-pane { filter: invert(.92) hue-rotate(180deg) brightness(.95) contrast(.9) saturate(.8); }
.nami-ext-marker { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #fff; border: 1.5px solid var(--ext-marker, #12B7A6); color: var(--ext-marker, #12B7A6); box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.nami-ext-marker svg { width: 16px; height: 16px; }
.nami-user-dot { width: 16px; height: 16px; border-radius: 50%; background: #12B7A6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(18,183,166,.18), 0 2px 6px rgba(0,0,0,.2); }
.nami-map-card { position: absolute; z-index: 600; }
.nami-leaflet-popup .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.16); }

.nm-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 2px 9px; height: 24px; border-radius: 999px; }
.nm-badge-teal { background: rgba(18,183,166,.12); color: #12B7A6; }
.nm-badge-amber { background: rgba(245,165,36,.14); color: #9a6200; }
.nm-badge-blue { background: rgba(91,141,239,.12); color: #4a76d8; }
.dark .nm-badge-amber { color: #f5c76a; }

.nm-fab { position: absolute; bottom: 96px; inset-inline-start: 16px; z-index: 40; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }

/* آیکون‌های اجتماعی */
.nm-social { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.nm-social svg { width: 22px; height: 22px; }
.nm-social-label { font-size: 11px; text-align: center; margin-top: 6px; }

/* فرم پنل‌ها */
.nm-input, .nm-textarea { width: 100%; height: 48px; border-radius: 12px; padding: 0 14px; font-size: 14px; font-family: inherit; border: 1px solid #e6e8ee; background: #fff; color: #0b1424; }
.nm-textarea { height: auto; padding: 12px 14px; line-height: 1.9; resize: vertical; }
.dark .nm-input, .dark .nm-textarea { background: #141e31; border-color: rgba(255,255,255,.09); color: #eef1f6; }
.nm-input:focus, .nm-textarea:focus { outline: 2px solid rgba(18,183,166,.35); outline-offset: 0; border-color: #12B7A6; }
.nm-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; }
.nm-hint { font-size: 11px; margin-top: 5px; }

/* ردیف‌های کلید-مقدار پنل مدیریت */
.nm-kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(0,0,0,.07); font-size: 13px; }
.nm-kv:last-child { border-bottom: 0; }
.dark .nm-kv { border-color: rgba(255,255,255,.08); }

/* نوار پیشرفت پنل مدیریت */
.nm-bar { height: 8px; border-radius: 999px; background: rgba(0,0,0,.07); overflow: hidden; }
.nm-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #12B7A6, #0e9f92); }
.dark .nm-bar { background: rgba(255,255,255,.09); }

/* جدول موبایل پنل مدیریت */
.nm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 12.5px; }
.dark .nm-row { border-color: rgba(255,255,255,.07); }

/* گالری محصولات در فرم کسب‌وکار */
.nm-chip-x { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.05); }
.dark .nm-chip-x { background: rgba(255,255,255,.07); }
.nm-chip-x button { color: #d33; font-weight: 800; padding: 0 2px; }

/* تایم‌لاین دستیار (پیام‌ها) */
.nm-msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nm-action-card { text-align: right; border-radius: 14px; border: 1px solid #e6e8ee; background: #fff; padding: 10px 12px; display: block; width: 100%; font-size: 12.5px; }
.dark .nm-action-card { background: #141e31; border-color: rgba(255,255,255,.09); }
.nm-action-card:active { background: rgba(0,0,0,.04); }

/* صفحهٔ دستیار: استیکر یادآور */
.nm-reminder-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #12B7A6; border: 1px dashed rgba(18,183,166,.5); border-radius: 8px; padding: 3px 8px; margin-top: 6px; }

/* اسکرول محتوای پنل‌ها */
.nm-scrollarea { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* اسکرین‌های الحاقی باید زیر نوار ناوبری جا بگیرند */
#nami-ext-root .screen-pad { padding-bottom: 116px; }
#nami-ext-root .nm-scrollarea { overflow-y: auto; }

/* پاپ‌آپ تأیید دستیار */
.nm-confirm { border-radius: 16px; border: 1px solid rgba(18,183,166,.4); background: rgba(18,183,166,.06); padding: 12px; }

/* ---------- کلاس‌های کمکی که در CSS اصلی کامپایل نشده‌اند ---------- */
.top-3 { top: .75rem; }
.inset-x-4 { left: 1rem; right: 1rem; }
.bottom-3 { bottom: .75rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.max-w-sm { max-width: 24rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.h-13 { height: 3.25rem; }
.bg-teal\/12 { background-color: rgba(18, 183, 166, .12); }
.bg-amber\/14 { background-color: rgba(245, 165, 36, .14); }
.active\:opacity-70:active { opacity: .7; }
.dark .divide-white\/6 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(255,255,255,.06); }
.dark .border-white\/6 { border-color: rgba(255,255,255,.06); }
.nm-input.flex-1 { height: 44px; }
.nm-input.!h-11 { height: 44px; }
.nm-input.!h-10 { height: 40px; }
#nami-ext-root .h-\[3px\] { height: 3px; }
/* کارت اطلاعات نقشه بالای نوار ناوبری قرار بگیرد */
.nami-map-card.bottom-3 { bottom: 100px; }

/* ترتیب لایه‌های نقشه */
.nami-map-card.z-\[1000\] { z-index: 1000; }
.dark .active\:bg-white\/4:active { background-color: rgba(255,255,255,.04); }
