:root {
    --bg: #0f1419;
    --surface: #1a2129;
    --surface-2: #232c37;
    --primary: #2dd4bf;
    --primary-d: #0d9488;
    --accent: #38bdf8;
    --orange: #f97316;
    --orange-d: #ea580c;
    --text: #e8eef2;
    --text-dim: #94a3b8;
    --danger: #f43f5e;
    --ok: #22c55e;
    --warn: #f59e0b;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
body {
    margin: 0;
    overflow: hidden;
    font-family: "Vazirmatn", "Poppins", sans-serif;
    background: #000;
    color: var(--text);
    direction: rtl;
}
button {
    font-family: inherit;
    cursor: pointer;
}
a {
    font-family: inherit;
    text-decoration: none;
    color: inherit;
}

/* ===== Loading ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at 50% 30%, #16323a, #0a0e12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    transition: opacity 0.5s;
}
.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-ring {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(45, 212, 191, 0.18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
#loading-text {
    color: var(--text-dim);
    font-size: 15px;
}

/* ===== Top: Route Title Pill (center) ===== */
.route-title-pill {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 33, 41, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text);
    padding: 11px 20px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: var(--shadow);
    max-width: min(60vw, 320px);
    white-space: nowrap;
}
.route-title-pill svg {
    flex-shrink: 0;
    color: var(--text-dim);
}
.route-title-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== GPS Status (top-right) ===== */
.gps-status {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 33, 41, 0.85);
    backdrop-filter: blur(12px);
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
/* ===== GPS Signal Bars ===== */

.gps-signal {
    height: 18px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    direction: ltr;
}

.gps-signal i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: var(--text-dim);
    opacity: 0.35;
    transition:
        height 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease;
}

/* ارتفاع ستون‌ها مثل آنتن موبایل */
.gps-signal i:nth-child(1) {
    height: 5px;
}

.gps-signal i:nth-child(2) {
    height: 8px;
}

.gps-signal i:nth-child(3) {
    height: 11px;
}

.gps-signal i:nth-child(4) {
    height: 14px;
}

.gps-signal i:nth-child(5) {
    height: 18px;
}

/* GPS فعال */
.gps-signal.level-1 i:nth-child(-n + 1),
.gps-signal.level-2 i:nth-child(-n + 2),
.gps-signal.level-3 i:nth-child(-n + 3),
.gps-signal.level-4 i:nth-child(-n + 4),
.gps-signal.level-5 i:nth-child(-n + 5) {
    background: var(--ok);
    opacity: 1;
}

/* GPS در حال جستجو */
.gps-signal.searching i {
    background: var(--warn);
    opacity: 0.8;
}

/* GPS قطع شده */
.gps-signal.error i {
    background: var(--danger);
    opacity: 0.9;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

/* ===== Hamburger (top-left in RTL = right property) ===== */
.menu-toggle {
    display: none;
}
.menu-button {
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    background: rgba(26, 33, 41, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
}
.menu-button span {
    width: 20px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}
.menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
}
.menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 999;
}
.menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(370px, 85vw);
    height: 100%;
    z-index: 1000;
    background: linear-gradient(160deg, var(--surface), var(--bg));
    box-shadow: var(--shadow);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 78px 20px 24px;
    overflow-y: auto;
}
.menu-toggle:checked ~ .menu-content {
    right: 0;
}

.menu-header h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}
.subtitle {
    margin: 0 0 18px;
    color: var(--text-dim);
    font-size: 13px;
}

/* ===== Destination Cards ===== */
.destination-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.destination-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: right;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text);
    transition: 0.2s;
}
.destination-card:hover,
.destination-card:active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.15);
}
.destination-card.selected {
    border-color: var(--primary);
    background: rgba(45, 212, 191, 0.08);
}
.destination-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 212, 191, 0.12);
    border-radius: 12px;
}

.destination-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.destination-info h3 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 600;
}
.destination-info p {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-dim);
}
.dest-skeleton {
    height: 84px;
    border-radius: var(--radius);
    background: linear-gradient(
        90deg,
        var(--surface-2) 25%,
        #2c3744 50%,
        var(--surface-2) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* ===== Navigation panel ===== */
.nav-progress-card {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
}
.point-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.point-label {
    color: var(--text-dim);
    font-size: 13px;
}
.point-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}
.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s;
}
.nav-meta {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-dim);
}
.nav-meta strong {
    color: var(--text);
}
.change-destination-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    border: 1.5px solid var(--danger);
    color: var(--danger);
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.change-destination-btn:active {
    background: rgba(244, 63, 94, 0.12);
}

/* ==========================================================================
   Side Menu (layers / help / my location)
   ========================================================================== */
.side-menu {
    position: fixed;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    z-index: 600;
    display: flex;
    align-items: center;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.side-menu.collapsed {
    right: 14px;
}

.side-menu.collapsed .side-menu-pill {
    transform: translateX(100px);
    opacity: 0;
    pointer-events: none;
}

.side-menu-pill {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(26, 33, 41, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 40px;
    padding: 10px 8px;
    box-shadow: var(--shadow);
    width: 74px;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}
.side-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 10px 4px;
    border-radius: 20px;
    transition: 0.2s;
    cursor: pointer;
}
.side-item:hover,
.side-item:active {
    background: rgba(255, 255, 255, 0.07);
}
.side-item.active {
    background: rgba(45, 212, 191, 0.14);
    color: var(--primary);
}
.side-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.side-item.active .side-item-icon {
    background: rgba(45, 212, 191, 0.15);
}
.side-item-label {
    font-size: 11.5px;
    font-weight: 600;
}

/* Collapse handle */
.side-menu-collapse {
    order: -1;
    flex-shrink: 0;

    width: 28px;
    height: 56px;

    margin-left: -1px;

    background: rgba(26, 33, 41, 0.9);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px 0 0 12px;

    color: var(--text-dim);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow);

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.35s ease;
}

.side-menu-collapse:hover {
    background: rgba(45, 212, 191, 0.15);
    color: var(--primary);
}
.side-menu-collapse svg {
    transition: transform 0.35s;
}
.side-menu.collapsed .side-menu-collapse svg {
    transform: rotate(180deg);
}

/* ===== Layers Panel ===== */
.layers-panel {
    position: absolute;
    top: 0;
    right: calc(100% + 10px);
    width: 230px;
    background: linear-gradient(160deg, var(--surface), var(--bg));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
    animation: fadeIn 0.2s;
}
.layers-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.layers-panel-header h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
}
.layers-panel-close {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-size: 12px;
}
.layer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 6px;
    border-radius: 10px;
}
.layer-row:hover {
    background: rgba(255, 255, 255, 0.04);
}
.layer-row-info {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
}
.layer-dot {
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* toggle switch */
.layer-switch {
    position: relative;
    width: 38px;
    height: 21px;
    flex-shrink: 0;
}
.layer-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.layer-switch .slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    transition: 0.25s;
}
.layer-switch .slider::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 3px;
    right: 3px;
    background: var(--text);
    border-radius: 50%;
    transition: 0.25s;
}
.layer-switch input:checked + .slider {
    background: var(--primary-d);
}
.layer-switch input:checked + .slider::before {
    transform: translateX(-17px);
    background: #fff;
}

/* ==========================================================================
   Locate Button (bottom, camera side)
   ========================================================================== */
.locate-btn {
    position: fixed;
    bottom: 26px;
    right: 22px;
    z-index: 600;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(26, 33, 41, 0.9);
    backdrop-filter: blur(12px);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: 0.2s;
}
.locate-btn:active {
    transform: scale(0.93);
}
.locate-btn.following {
    color: var(--accent);
    border-color: rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Mini Map
   ========================================================================== */
.mini-map-container {
    position: fixed;
    bottom: 26px;
    left: 16px;
    z-index: 700;
    width: min(46vw, 190px);
    height: min(60vw, 290px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    background: #0b1016;
    transition:
        width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        bottom 0.3s,
        left 0.3s,
        border-radius 0.3s;
}
.mini-map-container.fullscreen {
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    z-index: 1500;
}
.mini-map {
    width: 100%;
    height: 100%;
    background: #0b1016;
}

/* dark-tint the tiles a bit more */
.mini-map .leaflet-tile {
    filter: brightness(0.9) saturate(1.05);
}
.mini-map .leaflet-control-attribution {
    display: none;
}

/* Map floating controls */
.map-ctrl {
    position: absolute;
    z-index: 800;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.map-ctrl:active {
    transform: scale(0.92);
}
.map-zoom-in {
    top: 8px;
    right: 8px;
}
.map-fullscreen {
    top: 8px;
    left: 8px;
}
.map-fullscreen .icon-collapse {
    display: none;
}
.mini-map-container.fullscreen .map-fullscreen .icon-expand {
    display: none;
}
.mini-map-container.fullscreen .map-fullscreen .icon-collapse {
    display: block;
}
.mini-map-container.fullscreen .map-ctrl,
.mini-map-container.fullscreen .legend-chip {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}
.mini-map-container.fullscreen .map-zoom-in {
    top: 14px;
    right: 14px;
}
.mini-map-container.fullscreen .map-fullscreen {
    top: 14px;
    left: 14px;
}

/* Legend / quick layer chips inside the map */
.map-legend {
    position: absolute;
    z-index: 800;
    bottom: 10px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.legend-chip {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.2s;
}
.legend-chip .chip-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
}

.legend-chip .chip-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.legend-chip.off {
    opacity: 0.35;
}

.mini-map-container.fullscreen .legend-chip .chip-icon {
    width: 28px;
    height: 28px;
}

.mini-map-container.fullscreen .legend-chip .chip-icon img {
    width: 25px;
    height: 25px;
    border-radius: 12px; /*   */
}
/*  */
.mini-map-container.fullscreen .map-legend {
    right: 14px;   /* دقیقاً مثل دکمه Zoom */
    bottom: 14px;
}
/*  */
/* User marker on map */
.user-marker {
    position: relative;
    width: 18px;
    height: 18px;
}
.user-marker::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.25);
    animation: userPulse 2s infinite;
}
.user-marker::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}
@keyframes userPulse {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Feature markers on map */
.feat-marker {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Entity Identify Popup  (redesigned)
   ========================================================================== */
.entity-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.entity-popup-overlay.show {
    display: flex;
    animation: fadeIn 0.25s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.entity-popup {
    position: relative;
    width: min(460px, 94vw);
    max-height: 88vh;
    overflow-y: auto;
    background: linear-gradient(165deg, #151c24, #0d1319);
    border-radius: 26px 26px 0 0;
    padding: 24px 20px 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: none;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
@media (min-width: 600px) {
    .entity-popup-overlay {
        align-items: center;
    }
    .entity-popup {
        border-radius: 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}
.popup-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font-size: 17px;
}
.popup-close:hover {
    background: var(--surface-2);
}

/* Header: avatar + title + badge + code */
.popup-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-left: 40px;
}
.popup-avatar {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #0a0f14;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--orange);
}
.popup-heading {
    min-width: 0;
}
.popup-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.popup-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}
.popup-badge {
    padding: 3px 13px;
    border-radius: 30px;
    background: var(--orange);
    color: #1a0e02;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.popup-code {
    margin: 5px 0 0;
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 0.4px;
    text-align: right;
    unicode-bidi: plaintext;
}

/* Body rows */
.popup-body {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
}
.popup-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 15px;
}
.popup-row + .popup-row {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}
.popup-row .k {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-dim);
    font-size: 13px;
    flex-shrink: 0;
}
.popup-row .k svg {
    color: var(--text-dim);
    flex-shrink: 0;
}
.popup-row .v {
    font-weight: 700;
    font-size: 14px;
    text-align: left;
    word-break: break-word;
}

/* Actions */
.popup-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.popup-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 12px;
    border-radius: 16px;
    font-size: 14.5px;
    font-weight: 700;
    transition: 0.2s;
}
.popup-btn:active {
    transform: scale(0.97);
}
.popup-btn-primary {
    border: none;
    background: var(--orange);
    color: #1a0e02;
}
.popup-btn-primary:hover {
    background: var(--orange-d);
}
.popup-btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
}
.popup-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.32);
}

.popup-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-avatar img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
/* ===== Hold hint ===== */
.hold-hint {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 33, 41, 0.85);
    backdrop-filter: blur(10px);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--text-dim);
    box-shadow: var(--shadow);
    transition: opacity 0.4s;
}
.hold-hint.hidden {
    opacity: 0;
    pointer-events: none;
}



/* edited by amin */

.feat-marker {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--marker-color);
    border-radius: 50%;

    box-sizing: border-box;
}

.feat-marker img {
    width: 17px;
    height: 17px;

    object-fit: contain;
    display: block;
}

.map-my-location{
    right:48px;
    top:8px;
}
.mini-map-container.fullscreen .map-my-location{
    right:58px;
    top:14px;
}

.mini-map-container{

    transition:
        transform .35s,
        opacity .35s,
        width .3s,
        height .3s;

}

.mini-map-container.hidden{

    opacity:0;
    pointer-events:none;
    transform:translateX(-25px) scale(.9);

}


/* .user-arrow{
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    transform-origin:center center;
    transition:transform .12s linear;
}

.user-arrow svg{
    width:100%;
    height:100%;

    filter:
        drop-shadow(0 0 5px rgba(56,189,248,.7));
} */