﻿.map-panel {
    position: absolute;
    top: 12px;
    left: 12px;
    transform: none;
    z-index: 1000;
    width: 380px;
    max-width: calc(100% - 24px);
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;    
}

@media (max-width: 768px) {

    .map-panel {
        top: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
        padding: 12px 12px 16px;
        box-shadow: 0 -4px 16px rgba(0,0,0,.15);
    }
}

.address-input {
    font-size: 0.85rem;
    min-height: 48px;
    white-space: normal;
    line-height: 1.2;
}
.calc-btn {
    background-color: #6bbcea;
    border-color: #6bbcea;
}

    .calc-btn:hover {
        background-color: #5aaedc;
        border-color: #5aaedc;
    }

    .calc-btn:active,
    .calc-btn:focus {
        background-color: #4fa3d6;
        border-color: #4fa3d6;
        box-shadow: none;
    }

    .calc-btn:disabled {
        background-color: #d6d6d6;
        border-color: #d6d6d6;
        color: #888888;
        cursor: not-allowed;
        opacity: 1;
    }

.fuel-group .btn-outline-primary {
    color: #6bbcea;
    border-color: #6bbcea;
}

    .fuel-group .btn-outline-primary:hover {
        background-color: #6bbcea;
        color: #fff;
    }

.fuel-group .btn-check:checked + .btn-outline-primary {
    background-color: #6bbcea;
    border-color: #6bbcea;
    color: #fff;
}

.fuel-group .btn-check:focus + .btn-outline-primary {
    box-shadow: 0 0 0 0.2rem rgba(107, 188, 234, 0.35);
}

.fuel-group .btn-outline-primary:active {
    background-color: #6bbcea;
    border-color: #6bbcea;
}

.route-modal-header {
    background-color: rgb(33, 37, 41);
    color: #fff;
}

.btn-brand {
    background-color: #6bbcea;
    border-color: #6bbcea;
    color: #fff;
}

    .btn-brand:hover,
    .btn-brand:focus {
        background-color: #5aaedb;
        border-color: #5aaedb;
        color: #fff;
    }

.address-wrapper {
    position: relative;
}

.suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 2000;
    border: none; /* убираем рамку */
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border-radius: 0 0 6px 6px;
    max-height: 220px;
    overflow-y: auto;
}

.suggest-item {
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .suggest-item:last-child {
        border-bottom: none;
    }

    .suggest-item:hover {
        background: #f5f7fa;
    }

/* Мягкая тень как в Wizixo */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075) !important;
}

/* Скругление */
.rounded-3 {
    border-radius: .75rem !important;
}

/* Стиль бейджа Wizixo */
.badge.bg-primary {
    background-color: #3f78e0 !important;
}
