
    /* Модальное окно выбора навигатора */
.route-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.route-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.route-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.route-modal-overlay.active .route-modal {
    transform: translateY(0);
}

.route-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.route-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.route-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.route-modal-close:hover {
    color: #1a1a1a;
}

.route-modal-address {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.route-modal-address-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.route-modal-address-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
}

.route-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.route-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.route-btn-yandex {
    background: #fc3f1d;
    color: #fff;
}

.route-btn-yandex:hover {
    background: #e53517;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 63, 29, 0.3);
}

.route-btn-google {
    background: #4285f4;
    color: #fff;
}

.route-btn-google:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.route-btn-2gis {
    background: #1db35a;
    color: #fff;
}

.route-btn-2gis:hover {
    background: #189e4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 179, 90, 0.3);
}

.route-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .route-modal {
        padding: 24px;
        margin: 16px;
    }

    .route-modal-title {
        font-size: 18px;
    }

    .route-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}