*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Inter,sans-serif;
    overflow:hidden;
    background:#fff;
}

.header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:100;
}

#map{
    position:fixed;
    inset:0;
    z-index:1;
}

.map-gradient{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:220px;
    z-index:2;
    background:linear-gradient(
        to top,
        rgba(255,255,255,1),
        rgba(255,255,255,0)
    );
    pointer-events:none;
}

.sheet{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:30;
    background:#fff;
    border-radius:28px 28px 0 0;
    transition:.25s;

    padding-top:6px;
    padding-left:12px;
    padding-right:12px;
    padding-bottom:12px;

    height:82vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow:0 -10px 40px rgba(0,0,0,.12);
}

.sheet.collapsed{
    height:245px;
    bottom:60px;
}

.sheet-drag{
    width:52px;
    height:5px;
    background:#d7dce6;
    border-radius:999px;
    margin:4px auto 10px;
}

.route-box{
    background:#f5f7fb;
    border-radius:16px;
    padding:8px;
}

.route-row{
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
}

.route-input-wrap{
    position:relative;
    flex:1;
    display:flex;
    align-items:center;
}

.route-input{
    width:100%;
    border:0;
    background:#fff;
    height:40px;
    border-radius:10px;
    padding-left:10px;
    padding-right:50px;
    font-size:16px;
    outline:none;
    text-overflow:ellipsis;
}

.clear-btn{
    position:absolute;
    right:0px;
    top:50%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:500;
    line-height:1;
    color:#9ca3af;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:.15s;
}

.clear-btn.visible{
    opacity:1;
    pointer-events:auto;
}

.extra-clear-visible{
    opacity:1 !important;
    pointer-events:auto !important;
}

.add-point-btn{
    position:absolute;
    right:6px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:500;
    color:#8d96a7;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:.15s;
}

@media (max-width: 768px){
    .add-point-btn{
        font-size:32px;
        font-weight:500;
    }
}

.add-point-btn.visible{
    opacity:1;
    pointer-events:auto;
}

.route-points{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.suggest-list{
    position:absolute;
    left:0;
    right:0;
    top:44px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    z-index:100;
    overflow:hidden;
    display:none;
}

.suggest-item{
    padding:12px 14px;
    font-size:15px;
    cursor:pointer;
    border-bottom:1px solid #f1f1f1;
}

.suggest-item:last-child{
    border-bottom:none;
}

.suggest-item:hover{
    background:#f7f8fb;
}

.route-dot{
    position:relative;
    width:14px;
    height:14px;
    border-radius:50%;
    flex-shrink:0;
}

.route-dot::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#fff;
    transform:translate(-50%,-50%);
}

.route-dot.from{
    background:#ef4444;
    box-shadow:0 0 0 3px rgba(239,68,68,.15);
}

.route-dot.to{
    background:#3b82f6;
    box-shadow:0 0 0 3px rgba(59,130,246,.18);
}

.route-dot.extra{
    background:#22c55e;
    box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

.map-drop{
    position: relative;
    width: 22px;
    height: 22px;
    background: currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.map-drop::after{
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

.route-meta{
    display:flex;
    gap:10px;
    margin-top:16px;
}

.meta-card{
    flex:1;
    background:#f6f7fb;
    border-radius:16px;
    padding:8px;
}

.meta-title{
    font-size:12px;
    color:#777;
}

.meta-value{
    margin-top:5px;
    font-size:17px;
    font-weight:700;
}

.tariffs-scroll{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-top:10px;
    padding-bottom:10px;
    scrollbar-width:none;
}

.tariffs-scroll::-webkit-scrollbar{
    display:none;
}

.tariff-card{
    min-width:92px;
    background:#f7f8fb;
    border-radius:20px;
    padding-top:6px;
    padding-bottom:6px;
    padding-left:10px;
    padding-right:10px;
    text-align:center;
    border:2px solid transparent;
    transition:.2s;
    cursor:pointer;
    flex-shrink:0;
}

.tariff-card.active{
    background:#ffe066;
    color:#111;
    border-color:#f5c400;
}

.tariff-card.active .tariff-name{
    font-weight:700;
}

.tariff-card.active .tariff-price{
    font-weight:700;
}

.tariff-car{
    width:100px;
    height:44px;
    object-fit:contain;
    display:block;
    margin:0 auto;
    transform:translateY(-2px);
}

.tariff-name{
    margin-top:2px;
    font-size:16px;
    font-weight:400;
    line-height:1;
}

.tariff-price{
    margin-top:2px;
    font-size:16px;
    font-weight:400;
    line-height:1;
}

.details-block{
    margin-top:10px;
    opacity:1;
    transition:.25s;
}

.sheet.collapsed .details-block{
    opacity:0;
    pointer-events:none;
    height:0;
    overflow:hidden;
    margin:0;
}

.details-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:14px;
}

.option-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f7f8fb;
    border-radius:18px;
    padding:10px;
    margin-bottom:6px;
}

.ride-time-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.ride-time-icon svg{
    display:block;
}

.ride-time-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:85;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}

.ride-time-modal-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.ride-time-modal{
    position:fixed;
    left:0;
    right:0;
    bottom:-360px;
    background:#fff;
    z-index:90;
    border-radius:24px 24px 0 0;
    padding:14px;
    transition:.25s;
    box-shadow:0 -10px 40px rgba(0,0,0,.2);
}

.ride-time-modal.active{
    bottom:0;
}

.ride-time-modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.ride-time-modal-title{
    font-size:18px;
    font-weight:700;
}

.ride-time-modal-close{
    font-size:32px;
    cursor:pointer;
    color:#777;
}

.ride-time-modal-quick{
    display:flex;
    gap:8px;
    margin-bottom:12px;
}

.ride-time-btn-nearest{
    flex:1.5;
    background:#111;
    color:#fff;
    min-width:0;
}

.ride-time-modal-quick-small{
    display:flex;
    gap:8px;
    flex:1;
}

.ride-time-btn-quick{
    flex:1;
    min-width:0;
}

.ride-time-modal-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:12px;
}

.ride-time-modal-row{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.ride-time-modal-row label{
    font-size:16px;
    color:#666;
}

.ride-time-modal-row input{
    width:100%;
    height:42px;
    border:0;
    background:#f6f7fb;
    border-radius:14px;
    padding:0 12px;
    font-size:16px;
    font-weight:700;
    outline:none;
}

.ride-time-modal-actions{
    display:flex;
    gap:8px;
}

.ride-time-btn{
    width:100%;
    height:44px;
    border:0;
    border-radius:14px;
    font-size:16px;
    font-weight:700;
}

.ride-time-btn.primary{
    background:#111;
    color:#fff;
}

.ride-time-btn.secondary{
    background:#f6f7fb;
    color:#111;
}

.option-name{
    font-size:16px;
    font-weight:600;
    opacity:.60;
}

.option-desc{
    font-size:14px;
    color:#777;
    margin-top:4px;
}

.switch{
    width:48px;
    height:28px;
    border-radius:999px;
    background:#d5dae4;
    position:relative;
    transition:.2s;
}

.switch::before{
    content:'';
    position:absolute;
    top:3px;
    left:3px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#fff;
    transition:.2s;
}

.switch.active{
    background:#111;
}

.switch.active::before{
    transform:translateX(20px);
}

.comment-action-btn{
    width:44px;
    height:44px;
    border-radius:14px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    position:relative;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.comment-icon{
    display:block;
}

.comment-clear-icon{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    font-weight:400;
    line-height:1;
    color:#111;
    opacity:0;
    pointer-events:none;
    transition:.15s;
}

.comment-action-btn.has-comment .comment-icon{
    opacity:0;
}

.comment-action-btn.has-comment .comment-clear-icon{
    opacity:1;
    pointer-events:auto;
}

.counter{
    display:flex;
    align-items:center;
    gap:4px;
}

.counter-btn{
    width:32px;
    height:32px;
    border:0;
    border-radius:12px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:500;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
    transition:.15s;
    user-select:none;
}

.counter-btn:active{
    transform:scale(.96);
}

.counter-value{
    min-width:18px;
    text-align:center;
    font-size:16px;
    font-weight:700;
}

.bottom-action{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:60;
    padding:10px;
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
}

.order-btn{
    flex:1;
    width:100%;
    height:50px;
    border:0;
    border-radius:20px;
    background:#111;
    color:#fff;
    font-size:16px;
    font-weight:700;
}

.menu-btn{
    width:45px;
    height:45px;
    border:0;
    border-radius:18px;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:8px;
    padding:0 12px;
    box-shadow:0 4px 18px rgba(0,0,0,.12);
    cursor:pointer;
    flex-shrink:0;
}

.menu-line{
    position:relative;
    width:100%;
    height:2px;
    background:#111;
    border-radius:999px;
    display:block;
}

.menu-line.top .menu-dot{
    left:0;
}

.menu-line.bottom .menu-dot{
    right:0;
}

.menu-dot{
    position:absolute;
    top:50%;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#111;
    transform:translateY(-50%);
}

.map-top-info{
    position:fixed;
    top:64px;
    left:14px;
    right:14px;
    z-index:5;
    display:flex;
    justify-content:center;
    pointer-events:none;
}



.route-floating-info{
    max-width:100%;
    background:rgba(17,17,17,.50);
    backdrop-filter:blur(12px);
    color:#fff;
    border-radius:999px;
    padding:8px 14px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    pointer-events:auto;
    position:relative;
}

.route-floating-info::after{
    display:none;
}


.route-floating-text{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}

.route-floating-separator{
    opacity:.65;
}

.top-info-value{
    font-size:14px;
    font-weight:700;
}


.side-dummy-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.25);
    z-index:92;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}

.side-dummy-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.side-dummy-panel{
    position:fixed;
    top:0;
    right:-110vw;
    width:100vw;
    height:100vh;
    background:#fff;
    z-index:95;
    transition:right .28s ease;
    box-shadow:-12px 0 40px rgba(0,0,0,.16);
    display:flex;
    flex-direction:column;
}

.side-dummy-panel.active{
    right:0;
}

.side-dummy-header{
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px;
    border-bottom:1px solid #eef1f6;
    flex-shrink:0;
}

.side-dummy-back-btn{
    width:40px;
    height:40px;
    border:0;
    border-radius:14px;
    background:#f6f7fb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    color:#111;
}

.side-dummy-title{
    font-size:17px;
    font-weight:700;
    color:#111;
    margin-right:auto;
    margin-left:10px;
}

.side-dummy-content{
    padding:16px 14px;
    overflow:auto;
    flex:1;
}

.side-dummy-card{
    background:#f7f8fb;
    border-radius:18px;
    padding:14px;
    font-size:16px;
    color:#111;
    line-height:1.35;
}

.comment-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:80;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}

.comment-panel{
    position:fixed;
    left:0;
    right:0;
    bottom:-300px;
    background:#fff;
    z-index:90;
    border-radius:24px 24px 0 0;
    padding:14px;
    transition:.25s;
    box-shadow:0 -10px 40px rgba(0,0,0,.2);
}

.comment-panel.active{
    bottom:0;
}

.comment-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.comment-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.comment-title{
    font-size:18px;
    font-weight:700;
}

.comment-close{
    font-size:32px;
    cursor:pointer;
    color:#777;
}

.comment-input{
    width:100%;
    height:90px;
    resize:none;
    border:0;
    background:#f6f7fb;
    border-radius:14px;
    padding:10px;
    font-size:16px;
    outline:none;
}

.comment-ready-btn{
    width:100%;
    margin-top:10px;
    height:44px;
    border:0;
    border-radius:14px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:700;
}

.order-btn,
.comment-ready-btn,
.ride-time-btn,
.ride-time-icon,
.switch,
.tariff-card,
.comment-close,
.clear-btn,
.add-point-btn {
    cursor:pointer;
}

.locate-me-btn{
    position:fixed;
    right:14px;
    bottom:320px;
    width:52px;
    height:52px;
    border-radius:18px;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(12px);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 18px rgba(0,0,0,.10);
    z-index:10;
    cursor:pointer;
    transition:opacity .2s, transform .2s;
}

.locate-me-btn.hidden{
    opacity:0;
    pointer-events:none;
    transform:scale(.92);
}

.order-validation-overlay{
    position:fixed;
    inset:0;
    background:rgba(17,17,17,.48);
    z-index:120;
    opacity:0;
    pointer-events:none;
    transition:.2s;
    backdrop-filter:blur(6px);
}

.order-validation-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.order-validation-modal{
    position:fixed;
    inset:0;
    z-index:125;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}

.order-validation-modal.active{
    opacity:1;
    pointer-events:auto;
}

.order-validation-card{
    width:min(100%, 420px);
    background:#fff;
    border-radius:26px;
    padding:18px 16px 16px;
    box-shadow:0 20px 60px rgba(0,0,0,.24);
    text-align:center;
    transform:translateY(10px) scale(.98);
    transition:.2s;
}

.order-validation-modal.active .order-validation-card{
    transform:translateY(0) scale(1);
}

.order-validation-badge{
    width:54px;
    height:54px;
    margin:0 auto 12px;
    border-radius:18px;
    background:linear-gradient(135deg, #111 0%, #3b82f6 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(59,130,246,.26);
}

.order-validation-title{
    font-size:20px;
    font-weight:800;
    color:#111;
    line-height:1.2;
}

.order-validation-text{
    margin-top:10px;
    font-size:15px;
    line-height:1.45;
    color:#4b5563;
}

.order-validation-btn{
    width:100%;
    height:48px;
    margin-top:16px;
    border:0;
    border-radius:16px;
    background:#111;
    color:#fff;
    font-size:16px;
    font-weight:700;
    box-shadow:0 8px 20px rgba(17,17,17,.18);
}

.order-success-overlay{
    position:fixed;
    inset:0;
    background:rgba(17,17,17,.48);
    z-index:126;
    opacity:0;
    pointer-events:none;
    transition:.2s;
    backdrop-filter:blur(6px);
}

.order-success-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.order-success-modal{
    position:fixed;
    inset:0;
    z-index:130;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}

.order-success-modal.active{
    opacity:1;
    pointer-events:auto;
}

.order-success-card{
    width:min(100%, 420px);
    background:#fff;
    border-radius:26px;
    padding:18px 16px 16px;
    box-shadow:0 20px 60px rgba(0,0,0,.24);
    text-align:center;
    transform:translateY(10px) scale(.98);
    transition:.2s;
}

.order-success-modal.active .order-success-card{
    transform:translateY(0) scale(1);
}

.order-success-badge{
    width:54px;
    height:54px;
    margin:0 auto 12px;
    border-radius:18px;
    background:linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(34,197,94,.26);
}

.order-success-title{
    font-size:20px;
    font-weight:800;
    color:#111;
    line-height:1.2;
}

.order-success-text{
    margin-top:10px;
    font-size:15px;
    line-height:1.45;
    color:#4b5563;
}

.order-success-btn{
    width:100%;
    height:48px;
    margin-top:16px;
    border:0;
    border-radius:16px;
    background:#111;
    color:#fff;
    font-size:16px;
    font-weight:700;
    box-shadow:0 8px 20px rgba(17,17,17,.18);
}

@media (max-width: 520px){
    .order-validation-card,
    .order-success-card{
        width:100%;
        border-radius:24px;
        padding:16px 14px 14px;
    }

    .order-validation-title,
    .order-success-title{
        font-size:18px;
    }

    .order-validation-text,
    .order-success-text{
        font-size:14px;
    }

    .order-validation-btn,
    .order-success-btn{
        height:46px;
        border-radius:14px;
    }

}


@media (min-width:550px){
    :root{
        --app-width:390px;
        --desktop-sidebar-width:390px;
        --desktop-header-height:72px;
        --desktop-sidebar-gap:20px;
        --desktop-content-gap:16px;
        --desktop-top-gap:8px;
    }

    html,
    body{
        width:100%;
        height:100%;
    }

    body{
        background:#eef2f7;
    }

    .header{
        position:fixed;
        top:0;
        left:0;
        right:0;
        width:100%;
        z-index:100;
    }

    .desktop-frame{
        position:fixed;
        inset:0;
        overflow:hidden;
    }

    .sheet{
        position:fixed;
        top:72px;
        left:16px;
        bottom:16px;
        width:var(--desktop-sidebar-width);
        height:auto;
        border-radius:24px;
        padding:16px 16px 16px;
        overflow-y:auto;
        box-shadow:8px 0 30px rgba(0,0,0,.10);
        z-index:30;
        transition:none;
    }

    .sheet.collapsed{
        height:auto;
        bottom:16px;
    }

    .sheet-drag{
        display:none;
    }

    #map{
        position:fixed;
        top:72px;
        left:calc(var(--desktop-sidebar-width) + 32px);
        right:16px;
        bottom:16px;
        width:auto;
        height:auto;
        z-index:1;
        border-radius:24px;
        overflow:hidden;
        box-shadow:0 10px 30px rgba(0,0,0,.10);
        background:#dfe7f2;
    }

    .map-gradient{
        display:none;
    }

    .map-top-info{
        left:calc(var(--desktop-sidebar-width) + 52px);
        right:36px;
        top:84px;
        justify-content:flex-start;
        z-index:20;
    }

    .route-floating-info{
        max-width:none;
    }

    .locate-me-btn{
        right:36px;
        bottom:36px;
    }

    .route-box{
        margin-top:0;
    }

    .tariffs-scroll{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
        overflow:visible;
        padding-top:12px;
        padding-bottom:12px;
    }

    .tariff-card{
        min-width:0;
        width:100%;
        padding:10px 8px;
        border-radius:18px;
    }

    .tariff-car{
        width:92px;
        height:40px;
    }

    .tariff-name,
    .tariff-price{
        font-size:15px;
    }

    .details-block{
        margin-top:12px;
        opacity:1 !important;
        pointer-events:auto !important;
        height:auto !important;
        overflow:visible !important;
    }

    .sheet.collapsed .details-block{
        opacity:1;
        pointer-events:auto;
        height:auto;
        overflow:visible;
        margin-top:12px;
    }

    .details-title{
        font-size:17px;
        margin-bottom:12px;
    }

    .option-row{
        margin-bottom:8px;
    }

    .bottom-action{
        position:fixed;
        left:16px;
        bottom:16px;
        width:var(--desktop-sidebar-width);
        padding:0;
        background:transparent;
        z-index:40;
    }

    .order-btn{
        width:100%;
        height:56px;
        border-radius:18px;
        box-shadow:0 10px 22px rgba(17,17,17,.16);
    }

    .menu-btn{
        display:none;
    }

    .comment-panel,
    .ride-time-modal{
        width:var(--desktop-sidebar-width);
        left:16px;
        right:auto;
        border-radius:24px 24px 0 0;
    }

    .side-dummy-panel{
        width:var(--desktop-sidebar-width);
        right:calc(var(--desktop-sidebar-width) * -1);
        left:auto;
        box-shadow:-12px 0 40px rgba(0,0,0,.16);
    }

    .side-dummy-panel.active{
        right:0;
    }

    .order-validation-modal,
    .order-success-modal{
        left:var(--desktop-sidebar-width);
    }

    .order-validation-overlay,
    .order-success-overlay,
    .comment-overlay,
    .ride-time-modal-overlay,
    .side-dummy-overlay{
        left:0;
        right:0;
        width:100%;
    }

    .header__inner{
        max-width:none;
        margin:0;
        padding-left:20px;
        padding-right:20px;
    }

    .header__nav{
        display:flex;
    }

    .header__right{
        gap:16px;
    }


    .header__logout-mobile-hide{
        display:inline-flex;
    }

    .mobile-menu{
        display:none;
    }
}


.map-top-info.is-hidden{
    display:none;
}

@media (max-width: 520px){
    .map-top-info{
        top:64px;
        left:10px;
        right:10px;
        z-index:5;
    }

    .route-floating-info{
        display:inline-flex;
        padding:6px 10px;
        border-radius:999px;
        max-width:calc(100vw - 20px);
    }

    .route-floating-text{
        font-size:14px;
        gap:6px;
    }
}


  
.route-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
}

.route-loading-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    text-align: center;
    min-width: 220px;
}

.route-loading-spinner {
    width: 28px;
    height: 28px;
    margin: 0 auto 12px;
    border: 3px solid #e5e7eb;
    border-top-color: #1DBA54;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.route-loading-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.route-loading-text {
    font-size: 13px;
    color: #6b7280;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


@media (min-width: 550px) and (max-width: 900px) {
    .header__nav-link {
        display: none !important;
    }
}
