/* Decto × Neshan — discovery map + profile location picker polish */

.nm-marker-icon-wrap {
    background: none !important;
    border: none !important;
    /* Leaflet positions this node — never apply transform here */
    will-change: opacity;
}

/* ── مارکر لوکس — مطب آبی · کلینیک زرد طلایی ── */
.nm-pin {
    position: relative;
    width: 48px;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.nm-pin--doctor {
    filter: drop-shadow(0 10px 18px rgba(29, 78, 216, 0.42)) drop-shadow(0 2px 6px rgba(37, 99, 235, 0.28));
}

.nm-pin--clinic {
    filter: drop-shadow(0 10px 18px rgba(180, 134, 11, 0.42)) drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.nm-pin__aura {
    display: none;
}

.nm-pin__ring {
    display: none;
}

.nm-pin--doctor .nm-pin__aura {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.45), transparent 68%);
}

.nm-pin--clinic .nm-pin__aura {
    background: radial-gradient(circle, rgba(245, 215, 100, 0.5), transparent 68%);
}

.nm-pin__stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 10px;
    margin-left: -1.5px;
    border-radius: 0 0 3px 3px;
    z-index: 0;
}

.nm-pin--doctor .nm-pin__stem {
    background: linear-gradient(180deg, #2563eb, #1e40af);
}

.nm-pin--clinic .nm-pin__stem {
    background: linear-gradient(180deg, #d4af37, #b8860b);
}

.nm-pin__core {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 10px;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid rgba(255, 255, 255, 0.96);
    overflow: hidden;
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.35),
        inset 0 -3px 10px rgba(0, 0, 0, 0.12);
}

.nm-pin--doctor .nm-pin__core {
    background: linear-gradient(145deg, #93c5fd 0%, #3b82f6 42%, #1d4ed8 100%);
}

.nm-pin--clinic .nm-pin__core {
    background: linear-gradient(145deg, #fde68a 0%, #f5c842 38%, #d4af37 72%, #b8860b 100%);
}

.nm-pin__shine {
    position: absolute;
    inset: 2px 2px 55% 2px;
    border-radius: 50% 50% 40% 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.nm-pin__core svg {
    transform: rotate(45deg);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.nm-marker-icon-wrap.nm-marker--active .nm-pin--doctor {
    animation: nmPinBounce 0.6s ease;
    filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.65)) drop-shadow(0 12px 24px rgba(29, 78, 216, 0.5));
}

.nm-marker-icon-wrap.nm-marker--active .nm-pin--clinic {
    animation: nmPinBounce 0.6s ease;
    filter: drop-shadow(0 0 16px rgba(245, 200, 66, 0.7)) drop-shadow(0 12px 24px rgba(180, 134, 11, 0.48));
}

@keyframes nmPinAura {
    0%, 100% { transform: scale(0.92); opacity: 0.45; }
    50% { transform: scale(1.08); opacity: 0.7; }
}

.nm-user-loc {
    position: relative;
    width: 28px;
    height: 28px;
}

.nm-user-loc__dot {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, #4F9BFF, #1D4ED8);
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(29, 78, 216, 0.45);
    z-index: 2;
}

.nm-user-loc__pulse {
    display: none;
}

@keyframes nmPinDrop {
    from { opacity: 0; transform: translateY(-18px) scale(0.6); }
    to { opacity: 1; transform: none; }
}

@keyframes nmPinPulse {
    0% { transform: scale(0.55); opacity: 0.7; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes nmPinBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
}

@keyframes nmUserPulse {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Fullscreen doctors map modal */
.decto-map-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483700;
    background: rgba(15, 28, 24, 0.94);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.decto-map-modal.is-visible {
    opacity: 1;
}

.decto-map-modal[hidden] {
    display: none !important;
}

body.decto-map-open {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    overscroll-behavior: none;
    touch-action: manipulation;
}

body.decto-map-open .global-auth-bottom-nav,
body.decto-map-open #bnBottomNavSpacer,
body.decto-map-open .bn-site-promo,
body.decto-map-open .bn-ai-doctor-promo {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* ── decto map chrome ── */
.dm-chrome {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(53, 95, 88, 0.08);
    box-shadow: 0 8px 32px rgba(15, 36, 28, 0.08);
    position: relative;
    z-index: 8;
}

.dm-chrome--decto::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 166, 107, 0.65) 50%, transparent);
}

.dm-brand-lockup {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.dm-brand__glow {
    position: absolute;
    top: -8px;
    left: 50%;
    width: 140px;
    height: 40px;
    margin-left: -70px;
    background: radial-gradient(ellipse, rgba(201, 166, 107, 0.35), transparent 70%);
    pointer-events: none;
    animation: dmBrandGlow 3s ease-in-out infinite;
}

.dm-brand__curve {
    width: 88px;
    height: 18px;
    color: #c9a66b;
    margin-bottom: 2px;
    opacity: 0.9;
}

.dm-brand__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    font-family: var(--bn-font-display, 'Cormorant Garamond', 'Vazirmatn', serif);
}

.dm-brand__decto {
    color: var(--decto-emerald-deep, #274842);
    text-transform: lowercase;
}

.dm-brand__map {
    color: #2563eb;
    text-transform: lowercase;
    margin-right: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dm-chrome__subtitle {
    margin: 4px 0 0;
    font-size: 0.72rem;
    color: var(--decto-text-soft, #6f756f);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.decto-map-modal.dm-intro-play .dm-brand__curve {
    animation: dmCurveDraw 0.9s ease both;
}

.decto-map-modal.dm-intro-play .dm-brand__title {
    animation: dmTitlePop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes dmBrandGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes dmCurveDraw {
    from { stroke-dashoffset: 120; opacity: 0; }
    to { opacity: 1; }
}

@keyframes dmTitlePop {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

.dm-chrome__btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: var(--decto-ivory, #faf8f4);
    color: var(--decto-emerald-deep, #274842);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
}

.dm-chrome__btn:hover {
    transform: scale(1.04);
    background: #fff;
}

.dm-chrome__btn--gps {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

/* نوار فیلتر + شب/روز — یک ردیف زیر AI */
.dm-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.dm-map-theme-btn {
    position: relative;
    z-index: 7;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #b45309;
    background: rgba(255, 251, 235, 0.96);
    border: 1px solid rgba(201, 166, 107, 0.45);
    box-shadow: 0 8px 24px rgba(15, 36, 28, 0.18);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.dm-map-theme-btn:hover {
    transform: scale(1.05);
}

.dm-map-theme-btn i {
    font-size: 1.05rem;
}

.dm-map-theme-btn.is-night {
    color: #c7d2fe;
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(129, 140, 248, 0.45);
}

.dm-map-theme-btn__auto-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dm-map-theme-btn.is-auto .dm-map-theme-btn__auto-dot {
    opacity: 1;
    transform: scale(1);
}

/* پروفایل پزشک/کلینیک — دکمه شب/روز گوشه راست بالای نقشه */
.decto-map-modal--single .dm-map-search,
.decto-map-modal--single .dm-map-ai,
.decto-map-modal--single .dm-map-filters {
    display: none !important;
}

.decto-map-modal--single .dm-map-hud {
    top: 10px;
    left: 12px;
    right: 12px;
    gap: 0;
    pointer-events: none;
}

.decto-map-modal--single .dm-map-toolbar {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: auto;
    justify-content: flex-end;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .dm-map-theme-btn {
        width: 40px;
        height: 40px;
    }

    .dm-map-filter {
        padding: 5px 9px;
        font-size: 0.68rem;
    }

    .dm-map-toolbar {
        gap: 6px;
    }
}

/* بدون دکمه زوم — تداخل با کنترل‌های نقشه */
.dm-canvas .leaflet-control-zoom {
    display: none !important;
}

.dm-canvas-wrap {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dm-canvas {
    flex: 1;
    min-height: 0;
    position: relative;
    background: linear-gradient(160deg, #dce8f8 0%, #e8eef5 45%, #f0ebe3 100%);
    overflow: hidden;
    touch-action: pan-x pan-y;
    contain: strict;
}

.dm-canvas.neshan-map-ready {
    animation: none;
}

.decto-map-modal.dm-intro-play .dm-canvas.neshan-map-ready {
    animation: dmMapCinematic 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dmMapCinematic {
    0% { opacity: 0; transform: scale(1.04); filter: blur(4px); }
    60% { opacity: 1; filter: blur(0); }
    100% { transform: scale(1); }
}

/* FX overlay on map */
.dm-fx-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 450;
    overflow: hidden;
}

.dm-scan {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dm-scan.is-scanning {
    opacity: 1;
}

.dm-scan__beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140vmax;
    height: 140vmax;
    margin: -70vmax 0 0 -70vmax;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 280deg,
        rgba(37, 99, 235, 0.12) 300deg,
        rgba(201, 166, 107, 0.2) 320deg,
        transparent 360deg
    );
    animation: dmRadarSweep 2s cubic-bezier(0.4, 0, 0.2, 1) 1;
}

@keyframes dmRadarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dm-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(15, 28, 24, 0.12) 100%);
}

.dm-corner-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.45;
}

.dm-corner-glow {
    display: none;
}

@keyframes dmCornerFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.35; }
    50% { transform: translate(8px, -6px); opacity: 0.55; }
}

/* HUD — search + filters */
.dm-map-hud {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.dm-map-hud > * {
    pointer-events: auto;
}

.dm-map-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.dm-map-search i {
    color: #3b82f6;
}

.dm-map-search__clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dm-map-search__clear:hover {
    background: rgba(37, 99, 235, 0.18);
}

.dm-map-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}

/* HUD — AI smart search */
.dm-map-ai {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(197, 164, 109, 0.08), rgba(37, 99, 235, 0.06) 45%, rgba(255, 255, 255, 0.97));
    border: 1px solid rgba(197, 164, 109, 0.22);
    box-shadow: 0 6px 20px rgba(197, 164, 109, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.decto-map-modal--ai-active .dm-map-ai {
    border-color: rgba(197, 164, 109, 0.45);
    box-shadow: 0 12px 40px rgba(197, 164, 109, 0.22), 0 0 0 1px rgba(167, 139, 250, 0.15);
}

.dm-map-ai__composer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dm-map-ai__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #29483d;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(197, 164, 109, 0.15));
    border: 1px solid rgba(197, 164, 109, 0.25);
}

.dm-map-ai__badge i {
    font-size: 0.72rem;
    animation: dmAiBadgeSparkle 2.4s ease-in-out infinite;
}

@keyframes dmAiBadgeSparkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12) rotate(8deg); }
}

.dm-map-ai__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.84rem;
    outline: none;
    color: var(--decto-emerald-deep, #274842);
}

.dm-map-ai__input::placeholder {
    color: rgba(109, 40, 217, 0.45);
}

.dm-map-ai__submit {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6366f1 55%, #3b82f6);
    box-shadow: 0 6px 18px rgba(23, 56, 47, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.dm-map-ai__submit:hover:not(:disabled) {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(23, 56, 47, 0.45);
}

.dm-map-ai__submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.dm-map-ai__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dm-map-ai__chip {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(197, 164, 109, 0.2);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.66rem;
    font-weight: 600;
    color: #17382f;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.dm-map-ai__chip:hover {
    transform: translateY(-1px);
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(197, 164, 109, 0.35);
}

.dm-map-ai__loading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #29483d;
}

.dm-map-ai__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
    animation: dmAiDotPulse 1.2s ease-in-out infinite;
}

.dm-map-ai__dot:nth-child(2) { animation-delay: 0.15s; }
.dm-map-ai__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dmAiDotPulse {
    0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1.15); }
}

.dm-map-ai__result {
    position: relative;
    padding: 10px 36px 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(197, 164, 109, 0.18);
    animation: dmAiResultIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dmAiResultIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.dm-map-ai__clear {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.dm-map-ai__clear:hover {
    background: rgba(220, 38, 38, 0.22);
    color: #b91c1c;
    transform: scale(1.08);
}

.dm-map-ai__reply {
    margin: 0 0 6px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--decto-emerald-deep, #274842);
    font-weight: 600;
}

.dm-map-ai__intent {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dm-map-ai__intent span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 600;
    color: #17382f;
    background: rgba(167, 139, 250, 0.15);
}

.dm-map-ai__intent i {
    font-size: 0.62rem;
    opacity: 0.85;
}

/* پروفایل پزشک/کلینیک — HUD جستجو مخفی؛ فقط دکمه شب/روز دیده می‌شود */

.dm-map-filters {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.dm-map-filter {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(53, 95, 88, 0.12);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--decto-emerald-deep, #274842);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dm-map-filter.is-active,
.dm-map-filter:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(201, 166, 107, 0.1));
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.dm-map-filter--near.is-active {
    color: #1d4ed8;
}

.dm-map-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483702;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
    max-width: 560px;
    margin: 0 auto;
}

.dm-map-dock > * {
    pointer-events: auto;
}

.decto-map-modal--sheet-open .dm-suggest-rail {
    opacity: 0.55;
    transform: translateY(6px) scale(0.98);
}

.dm-map-legend {
    position: absolute;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 14px;
    z-index: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    color: var(--decto-text-soft, #6f756f);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.dm-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
}

.dm-legend-dot--doctor {
    background: linear-gradient(145deg, #93c5fd, #2563eb);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.dm-legend-dot--clinic {
    background: linear-gradient(145deg, #fde68a, #d4af37);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.28);
}
.dm-legend-dot--you { background: #1d4ed8; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35); }
.dm-legend-dot--ai {
    background: linear-gradient(145deg, #c4b5fd, #8b5cf6);
    box-shadow: 0 0 8px rgba(197, 164, 109, 0.65);
    animation: dmAiLegendPulse 1.8s ease-in-out infinite;
}

.dm-legend-ai {
    color: #29483d;
    font-weight: 700;
}

@keyframes dmAiLegendPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(197, 164, 109, 0.4); }
    50% { box-shadow: 0 0 12px rgba(197, 164, 109, 0.85); }
}

.decto-map-modal--ai-active .dm-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 400;
    background: radial-gradient(ellipse at 50% 45%, rgba(197, 164, 109, 0.06), transparent 65%);
    animation: dmAiMapVeil 3s ease-in-out infinite;
}

@keyframes dmAiMapVeil {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Marker FX — visual transforms only on inner pin, not Leaflet wrapper */
.nm-marker-icon-wrap.nm-marker--stagger .nm-pin {
    opacity: 0;
    animation: nmMarkerStagger 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--nm-stagger, 0ms) forwards;
}

.nm-marker-icon-wrap.nm-marker--hidden {
    opacity: 0.18 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease;
}

.nm-marker-icon-wrap.nm-marker--hidden .nm-pin {
    filter: grayscale(0.55) blur(0.4px);
    transform: scale(0.86);
    transition: filter 0.25s ease, transform 0.25s ease;
}

/* AI search — glowing markers */
.nm-marker-icon-wrap.nm-marker--ai-dim {
    opacity: 0.32 !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease;
}

.nm-marker-icon-wrap.nm-marker--ai-dim .nm-pin {
    filter: grayscale(0.4) saturate(0.55);
    transform: scale(0.9);
}

.nm-marker-icon-wrap.nm-marker--ai-glow .nm-pin {
    filter: drop-shadow(0 0 14px rgba(197, 164, 109, 0.75)) drop-shadow(0 10px 22px rgba(23, 56, 47, 0.45));
    transform: scale(1.08);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nm-marker-icon-wrap.nm-marker--ai-glow .nm-pin__ring {
    background: rgba(197, 164, 109, 0.55);
    animation: nmAiRingPulse 1.6s ease-out infinite;
}

.nm-marker-icon-wrap.nm-marker--ai-top .nm-pin {
    filter: drop-shadow(0 0 22px rgba(167, 139, 250, 0.95)) drop-shadow(0 14px 28px rgba(23, 56, 47, 0.55));
    transform: scale(1.22);
    z-index: 900 !important;
}

.nm-marker-icon-wrap.nm-marker--ai-top .nm-pin__core {
    border-color: rgba(233, 213, 255, 0.98);
    box-shadow: inset 0 0 12px rgba(167, 139, 250, 0.35);
}

.nm-marker-icon-wrap.nm-marker--ai-pulse .nm-pin::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(167, 139, 250, 0.55);
    animation: nmAiHalo 2s ease-out infinite;
    pointer-events: none;
}

@keyframes nmAiRingPulse {
    0% { transform: scale(0.5); opacity: 0.85; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes nmAiHalo {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

.nm-marker-icon-wrap.nm-marker--ping .nm-pin {
    animation: nmPinPing 0.65s ease;
}

@keyframes nmMarkerStagger {
    from { opacity: 0; transform: translateY(-24px) scale(0.5); }
    to { opacity: 1; transform: none; }
}

@keyframes nmPinPing {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.dm-sheet__address {
    margin: 0 0 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.06);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--decto-emerald-deep, #274842);
}

.dm-sheet__address i {
    color: #2563eb;
    margin-left: 6px;
}

.dm-sheet__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #4c1d95;
    text-decoration: none;
    border: 1px solid rgba(168, 85, 247, 0.28);
    background: linear-gradient(135deg, rgba(245, 230, 255, 0.95), rgba(255, 248, 230, 0.98));
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(109, 40, 217, 0.12);
}

.dm-sheet__nav-link:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background: linear-gradient(135deg, rgba(250, 240, 255, 1), rgba(255, 252, 240, 1));
}

.dm-sheet__distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
}

.provider-map-address.is-reveal {
    animation: dmSheetSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dmSheetSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes dmMapReveal {
    from { opacity: 0.4; filter: blur(2px); }
    to { opacity: 1; filter: none; }
}

/* Bottom sheet — provider detail */
.dm-sheet {
    position: relative;
    width: 100%;
    max-height: min(46vh, 380px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(201, 166, 107, 0.28);
    box-shadow:
        0 18px 48px rgba(15, 36, 28, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(calc(110% + 24px));
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
    z-index: 2;
    text-align: right;
    backdrop-filter: blur(12px);
}

.dm-sheet.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.dm-sheet__close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: var(--decto-ivory, #faf8f4);
    color: #64748b;
    cursor: pointer;
}

.dm-sheet__hero {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dm-sheet__avatar-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 72px;
}

.dm-sheet__loc-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
}

.dm-sheet__loc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    color: #5b4a2a;
    background: rgba(255, 253, 249, 0.92);
    border: 1px solid rgba(201, 166, 107, 0.22);
    text-align: center;
}

.dm-sheet__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.dm-sheet__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.dm-sheet__pill--clinic {
    color: #6b5428;
    background: linear-gradient(135deg, rgba(255, 248, 235, 0.95), rgba(243, 228, 196, 0.55));
    border: 1px solid rgba(201, 166, 107, 0.42);
}

.dm-sheet__pill--spec {
    color: #7a6432;
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.22), rgba(245, 236, 216, 0.65));
    border: 1px solid rgba(201, 166, 107, 0.38);
}

.dm-sheet__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid rgba(201, 166, 107, 0.35);
}

.dm-sheet__head h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--decto-emerald-deep, #274842);
}

.dm-sheet__meta,
.dm-sheet__clinic {
    margin: 0;
    font-size: 0.82rem;
    color: var(--decto-text-soft, #6f756f);
}

.dm-sheet__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #2563eb;
    font-weight: 600;
}

.dm-sheet__ai-match {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #17382f;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(197, 164, 109, 0.12));
    border: 1px solid rgba(197, 164, 109, 0.25);
    animation: dmAiMatchGlow 2.2s ease-in-out infinite;
}

@keyframes dmAiMatchGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(197, 164, 109, 0); }
    50% { box-shadow: 0 0 14px rgba(197, 164, 109, 0.35); }
}

.dm-sheet__ai-reasons {
    margin: 0 0 10px;
    padding: 8px 12px 8px 0;
    list-style: none;
    border-radius: 12px;
    background: rgba(197, 164, 109, 0.06);
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--decto-emerald, #355f58);
}

.dm-sheet__ai-reasons li::before {
    content: '✦';
    margin-left: 6px;
    color: #8b5cf6;
    font-size: 0.62rem;
}

.dm-sheet__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--decto-emerald, #355f58);
}

.dm-sheet__stats i {
    color: var(--decto-gold, #c9a66b);
    margin-left: 4px;
}

.dm-sheet__services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.dm-sheet__services--full {
    width: 100%;
}

.dm-sheet__services span {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.dm-sheet__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dm-sheet__actions .dm-sheet__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dm-sheet__btn--primary,
.dm-sheet__btn--profile {
    grid-column: 1 / -1;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #1a0a2e;
    background: linear-gradient(135deg, #f5d76e 0%, #e8c887 38%, #d4af37 100%);
    border: 1.5px solid rgba(255, 248, 220, 0.95);
    box-shadow:
        0 10px 26px rgba(109, 40, 217, 0.18),
        0 0 0 1px rgba(168, 85, 247, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

.dm-sheet__btn--profile {
    color: #2e1065;
    background: linear-gradient(
        135deg,
        #f5e6a8 0%,
        #e8c887 34%,
        #c084fc 118%
    );
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow:
        0 12px 28px rgba(109, 40, 217, 0.22),
        0 0 0 1px rgba(212, 175, 55, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dm-sheet__btn--primary:hover,
.dm-sheet__btn--profile:hover {
    color: #1a0a2e;
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow:
        0 14px 32px rgba(109, 40, 217, 0.26),
        0 0 0 1px rgba(212, 175, 55, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transform: translateY(-1px);
}

.dm-sheet__btn--book {
    color: var(--decto-emerald-deep, #274842);
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.22), rgba(250, 248, 244, 0.95));
    border-color: rgba(201, 166, 107, 0.45);
}

.dm-sheet__btn--ghost {
    color: var(--decto-emerald, #355f58);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(53, 95, 88, 0.14);
}

.dm-sheet__actions .dm-sheet__btn:active {
    transform: scale(0.98);
}

/* Suggested doctors marquee rail */
.dm-suggest-rail {
    width: 100%;
    padding: 10px 12px 12px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(39, 72, 66, 0.92), rgba(53, 95, 88, 0.88));
    border: 1px solid rgba(201, 166, 107, 0.35);
    box-shadow: 0 12px 32px rgba(15, 36, 28, 0.22);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.dm-suggest-rail__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.dm-suggest-rail__eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(232, 213, 181, 0.9);
}

.dm-suggest-rail__eyebrow i {
    margin-left: 4px;
    color: var(--decto-gold, #c9a66b);
}

.dm-suggest-rail__title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #faf8f4;
}

.dm-suggest-rail__viewport {
    overflow: hidden;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    cursor: default;
}

.dm-suggest-rail__viewport.is-paused {
    cursor: grab;
}

.dm-suggest-rail__viewport.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.dm-suggest-rail__track {
    display: flex;
    gap: 10px;
    width: max-content;
}

@keyframes dmSuggestMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.dm-suggest-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 168px;
    max-width: 210px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    border: 1px solid rgba(201, 166, 107, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #faf8f4;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dm-suggest-card:hover,
.dm-suggest-card.is-active {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.dm-suggest-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
    border: 1.5px solid rgba(201, 166, 107, 0.55);
}

.dm-suggest-card__body {
    min-width: 0;
    text-align: right;
}

.dm-suggest-card__name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-suggest-card__meta {
    display: block;
    font-size: 0.62rem;
    opacity: 0.82;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.decto-map-modal--single .dm-suggest-rail {
    display: none !important;
}

.decto-map-modal--sheet-open .dm-map-legend {
    bottom: calc(42vh + env(safe-area-inset-bottom));
    opacity: 0.75;
}

@media (max-width: 480px) {
    .dm-sheet {
        max-height: min(42vh, 320px);
        padding: 14px 12px 12px;
    }

    .dm-sheet__avatar {
        width: 60px;
        height: 60px;
    }

    .dm-sheet__actions {
        grid-template-columns: 1fr;
    }

    .dm-sheet__btn--primary {
        grid-column: auto;
    }

    .dm-suggest-card {
        min-width: 150px;
    }
}

/* ── decto map launch — emerald + champagne luxury ── */
.decto-map-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 107, 0.42);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 248, 244, 0.98) 55%, rgba(243, 236, 220, 0.35) 100%);
    color: var(--decto-emerald-deep, #274842);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(39, 72, 66, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(201, 166, 107, 0.18);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.decto-map-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.55), rgba(53, 95, 88, 0.2) 50%, rgba(201, 166, 107, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
}

.decto-map-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(201, 166, 107, 0.65);
    box-shadow:
        0 14px 32px rgba(39, 72, 66, 0.14),
        0 0 0 1px rgba(201, 166, 107, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.decto-map-btn:active:not(:disabled) {
    transform: translateY(0);
}

.decto-map-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.decto-map-btn__gem {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--decto-emerald, #355f58), var(--decto-emerald-deep, #274842));
    color: #f5ecd8;
    font-size: 0.95rem;
    box-shadow:
        0 6px 16px rgba(39, 72, 66, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.decto-map-btn__gem--sm {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 0.82rem;
}

.decto-map-btn__gem--card {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.15rem;
}

.decto-map-btn__gem-ring {
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 1.5px solid rgba(201, 166, 107, 0.55);
    animation: dectoMapGemRing 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dectoMapGemRing {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.06); }
}

.decto-map-btn__gem i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.decto-map-btn__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
    position: relative;
    z-index: 2;
}

.decto-map-btn__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--decto-emerald-deep, #274842);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.decto-map-btn__sub,
.decto-map-btn__tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--decto-gold, #c9a66b);
    opacity: 0.92;
}

.doctors-map-launch .decto-map-btn__copy {
    align-items: flex-start;
    text-align: right;
}

.decto-map-btn__shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: skewX(-18deg);
    animation: dectoMapShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

.doctors-map-launch .decto-map-btn__shine {
    opacity: 0.65;
}

@keyframes dectoMapShine {
    0%, 72%, 100% { left: -120%; opacity: 0; }
    78% { opacity: 1; }
    92% { left: 140%; opacity: 0; }
}

/* Doctors list pill — بزرگ‌تر + برق طلایی شامپاینی */
.doctors-map-launch.decto-map-btn--pill {
    display: inline-flex;
    width: 100%;
    padding: 13px 20px 13px 14px !important;
    border-radius: 18px !important;
    margin: 0;
    min-height: 56px;
    gap: 14px;
    overflow: visible;
    justify-content: flex-start;
    font-family: inherit;
}

.doctors-map-launch .decto-map-btn__gem--doctors {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.12rem;
    background:
        linear-gradient(145deg, var(--decto-emerald, #355f58) 0%, var(--decto-emerald-deep, #274842) 68%, #1f3a35 100%);
    box-shadow:
        0 8px 20px rgba(39, 72, 66, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 0 1px rgba(201, 166, 107, 0.22);
}

.doctors-map-launch .decto-map-btn__gem--doctors::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 28% 22%, rgba(232, 213, 181, 0.7), transparent 58%);
    opacity: 0;
    animation: dectoMapGemFlash 3.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dectoMapGemFlash {
    0%, 76%, 100% { opacity: 0; }
    80% { opacity: 0.95; }
    84% { opacity: 0.25; }
    88% { opacity: 0.75; }
    92% { opacity: 0; }
}

.decto-map-btn__bolt {
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: 3;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.58rem;
    color: #fffdf9;
    background: linear-gradient(145deg, #f0e2c4, #c9a66b 45%, #a88447);
    border: 1.5px solid rgba(255, 253, 249, 0.85);
    box-shadow:
        0 0 12px rgba(201, 166, 107, 0.75),
        0 2px 6px rgba(39, 72, 66, 0.2);
    animation: dectoMapBoltPulse 2.2s ease-in-out infinite;
}

.decto-map-btn__bolt i {
    filter: drop-shadow(0 0 3px rgba(255, 248, 230, 0.9));
}

@keyframes dectoMapBoltPulse {
    0%, 100% {
        opacity: 0.88;
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 8px rgba(201, 166, 107, 0.55), 0 2px 6px rgba(39, 72, 66, 0.18);
    }
    48% {
        opacity: 1;
        transform: scale(1.14) rotate(-8deg);
        box-shadow: 0 0 18px rgba(232, 213, 181, 0.95), 0 0 6px rgba(201, 166, 107, 0.65);
    }
    52% {
        transform: scale(1.18) rotate(6deg);
    }
}

.doctors-map-launch.decto-map-btn--pill .decto-map-btn__label {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #1f3a35;
    white-space: normal;
    word-break: keep-all;
}

.doctors-map-launch.decto-map-btn--pill .decto-map-btn__sub {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #7a5f2a;
    opacity: 1;
}

.doctors-map-launch:hover .decto-map-btn__bolt {
    animation-duration: 1.1s;
}

.doctors-map-row .doctors-map-launch,
.doctors-map-launch.decto-map-btn--pill {
    border-color: rgba(201, 166, 107, 0.55) !important;
    background:
        linear-gradient(145deg, #ffffff 0%, #faf8f4 55%, rgba(232, 213, 181, 0.32) 100%) !important;
    color: #1f3a35 !important;
    box-shadow:
        0 10px 26px rgba(39, 72, 66, 0.1),
        0 0 0 1px rgba(201, 166, 107, 0.16) !important;
}

@media (max-width: 520px) {
    .doctors-map-launch.decto-map-btn--pill {
        padding: 14px 16px 14px 12px !important;
        min-height: 60px;
        gap: 12px;
        border-radius: 16px !important;
    }

    .doctors-map-launch .decto-map-btn__gem--doctors {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        font-size: 1.2rem;
    }

    .doctors-map-launch.decto-map-btn--pill .decto-map-btn__label {
        font-size: 1.02rem;
        line-height: 1.4;
    }

    .doctors-map-launch.decto-map-btn--pill .decto-map-btn__sub {
        font-size: 0.8rem;
    }
}

/* Location picker — Neshan polish */
.lux-location-picker .lp-map {
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(53, 95, 88, 0.1);
    box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.12);
}

.lux-location-picker .lp-map.neshan-map-ready {
    animation: dmMapReveal 0.45s ease both;
}

.lux-location-picker .lp-toolbar {
    margin-bottom: 10px;
}

.lux-location-picker .lp-gps-btn {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(53, 95, 88, 0.08));
    color: #1d4ed8;
    border-radius: 14px;
}

/* Profile — مشاهده در نقشه */
.dp-map-launch.decto-map-btn--profile {
    margin-top: 12px;
    padding: 10px 16px 10px 12px !important;
    border-radius: 999px !important;
    width: auto;
    max-width: 100%;
    gap: 8px;
}

.dp-map-launch.decto-map-btn--profile .decto-map-btn__tag {
    margin-right: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(201, 166, 107, 0.14);
    border: 1px solid rgba(201, 166, 107, 0.28);
}

.decto-map-btn--card {
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.provider-location-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 248, 244, 0.95) 55%, rgba(232, 213, 181, 0.12) 100%);
    border: 1px solid rgba(201, 166, 107, 0.22);
    box-shadow:
        0 10px 28px rgba(39, 72, 66, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.provider-location-card__icon {
    flex: 0 0 auto;
}

.provider-location-card__body {
    flex: 1 1 180px;
    min-width: 0;
}

.provider-location-card__address {
    margin: 0;
    font-size: 0.92rem;
    color: var(--decto-text, #24322f);
    line-height: 1.55;
}

.provider-location-card__coords {
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: var(--decto-text-soft, #6f756f);
    direction: ltr;
    text-align: right;
}

.provider-map-open-btn {
    margin-right: auto;
}

.provider-map-modal .provider-map-address {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(53, 95, 88, 0.1);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.provider-map-address i {
    color: #2563eb;
}

.provider-map-address p {
    flex: 1;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--decto-emerald-deep, #274842);
}

.provider-map-address__link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
    white-space: nowrap;
}
