/* Service Radius Slider Styles */
.listivo-panel-form__service-radius {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.listivo-panel-form__service-radius-label {
    margin-bottom: 15px;
}

.listivo-panel-form__service-radius-label label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.listivo-panel-form__service-radius-label span {
    color: #e74c3c;
    font-weight: bold;
}

.listivo-panel-form__service-radius-slider {
    position: relative;
}

.listivo-service-radius-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.listivo-service-radius-slider:hover {
    opacity: 1;
}

.listivo-service-radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.listivo-service-radius-slider::-webkit-slider-thumb:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.listivo-service-radius-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.listivo-service-radius-slider::-moz-range-thumb:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.listivo-service-radius-slider__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
}

.listivo-service-radius-slider__labels span {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .listivo-panel-form__service-radius {
        margin: 15px 0;
        padding: 12px;
    }
    
    .listivo-panel-form__service-radius-label label {
        font-size: 13px;
    }
    
    .listivo-service-radius-slider::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
    }
    
    .listivo-service-radius-slider::-moz-range-thumb {
        width: 18px;
        height: 18px;
    }
}

/* Map container enhancements */
.listivo-panel-form__map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 300px;
}

/* Service radius circle info */
.listivo-service-radius-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-size: 12px;
    color: #2c3e50;
    z-index: 1000;
    pointer-events: none;
}

.listivo-service-radius-info .radius-value {
    font-weight: bold;
    color: #e74c3c;
}

/* Enhanced slider track styling */
.listivo-service-radius-slider::-webkit-slider-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
    border-radius: 3px;
}

.listivo-service-radius-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
    border-radius: 3px;
    border: none;
}

/* Loading state for map */
.listivo-panel-form__map.loading {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.listivo-panel-form__map.loading::before {
    content: "Loading map...";
    font-size: 14px;
}

/* Zip code input enhancements */
.listivo-input-v2 input[placeholder*="Zip"] {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service radius section header */
.listivo-panel-form__service-radius::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    border-radius: 3px 3px 0 0;
}

.listivo-panel-form__service-radius {
    position: relative;
}

/* Animation for radius changes */
@keyframes radiusChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.listivo-panel-form__service-radius-label span {
    animation: radiusChange 0.3s ease-in-out;
}

/* Improved mobile experience */
@media (max-width: 480px) {
    .listivo-panel-form__map {
        min-height: 250px;
        margin-top: 15px;
    }
    
    .listivo-service-radius-info {
        top: 5px;
        right: 5px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .listivo-panel-form__service-radius {
        padding: 10px;
    }
}