

/* Start:/local/templates/radgost/styles.css?17536260384301*/
/* Custom styles */

/* Map container optimizations for mobile */
#mapContainer {
    touch-action: manipulation;
    /* Optimize for smooth scrolling and zooming */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Hardware acceleration */
    will-change: transform;
    /* Remove delays on mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Optimize touch interactions */
#mapContainer * {
    touch-action: manipulation;
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    #mapContainer {
        /* Better performance on mobile */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        /* Reduce paint operations */
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    body {
        max-height: 100vh;
    }

    #routePanel {
        top: 20px !important;
    }
}

.route-input {
    transition: all 0.3s ease;
}

.route-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.route-panel {
    backdrop-filter: blur(10px);
    max-height: 90vh;
    overflow-y: auto;
}

.collapse-btn {
    transition: transform 0.3s ease;
}

.collapse-btn.rotated {
    transform: rotate(180deg);
}

/* Choices.js custom styles */
.choices {
    position: relative;
    font-size: 14px;
}

.choices__inner {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    min-height: 48px;
    padding: 12px 16px;
}



.choices__list--dropdown {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 60;
}



.choices__item--choice {
    color: #374151;
    padding: 8px 12px;
    font-size: 14px;
}



.choices__item--choice.is-highlighted {
    background-color: #22c55e !important;
    color: white !important;
}

.choices__item--choice:hover {
    background-color: #f3f4f6;
}



body {
    overflow-y: hidden;
}

.success-animation {
    animation: successPulse 2s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading-spinner {
    border: 2px solid #f3f4f6;
    border-top: 2px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .route-panel {
        max-height: 76vh;
        width: calc(100vw - 40px);
    }
}

/* Yandex Maps zoom control positioning */
.ymaps-2-1-79-controls__control_toolbar_true {
    top: auto !important;
    bottom: 20px !important;
}

.ymaps-2-1-79-controls__control {
    position: absolute !important;
}

.ymaps-2-1-79-controls_position_top.ymaps-2-1-79-controls_position_left {
    top: auto !important;
    bottom: 20px !important;
}

#routePanel {
    top: 40px;
    transform: translateX(-50%);
    left: 50%;
}

#priceInfo {
    margin-right: 15px;
}

/* Tab Styles */
.tab-button {
    color: #6B7280;
    background-color: transparent;
}

.tab-button.active {
    color: #3B82F6;
    background-color: #FFFFFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}



.tab-button:hover:not(.active) {
    color: #374151;
    background-color: rgba(255, 255, 255, 0.5);
}



/* Collapsible area styles */
.collapsed-area {
    transition: all 0.3s ease;
    overflow: hidden;
}

.collapsed-area.expanded {
    max-height: none;
    opacity: 1;
}

.collapsed-area:not(.expanded) {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

/* Collapse button rotation */
.collapse-btn {
    transition: transform 0.3s ease;
}

.collapse-btn.rotated {
    transform: rotate(180deg);
}

.collapsed-area:not(.expanded) {
    margin-top: 0 !important;
}

.tab-button {
    white-space: nowrap;
}

.title1 {
    font-size: 20px;
}
/* End */
/* /local/templates/radgost/styles.css?17536260384301 */
