/* Reybold Locations Map Styles */
.reybold-locations-map-container {
    font-family: "Raleway", sans-serif!important;
    margin: 20px 0;
}

.reybold-locations-map-wrapper {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.reybold-locations-map-sidebar {
    padding: 2rem!important;
    background: #f8f9fa!important;
    border-right: 1px solid #ddd!important;
    overflow-y: auto;
    height: 600px;
}

.reybold-locations-map-sidebar h3 {
    margin: 0;
    padding: 20px;
    color: #152b62!important;
    font-size: 18px;
    font-weight: 600!important;
    border-bottom: 1px solid #ddd;
    font-family: "Raleway", sans-serif!important;
}

.reybold-locations-map-title {
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.reybold-locations-map-title:hover {
    /* background: #005a87 !important; */
}

.reybold-locations-map-list {
    padding: 0;
}

.location-item {
    padding: .5rem!important;
    border-left: 2px solid transparent!important;
    cursor: pointer;
    transition: border-left 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important;
}

.location-item:hover {
    background-color: #e9ecef;
}

.location-item.selected {
    background-color: #d4edda;
    border-left: 2px solid #d62027!important;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item h4 {
    padding-bottom: 0!important;
    margin: 0;
    color: 
    #152b62!important;
    font-size: 16px;
    font-weight: 600!important;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: "Raleway", sans-serif!important;
}

.location-item:hover h4 {
    color: #007cba;
}

.location-address {
    margin: 8px 0 12px 0!important;
    font-size: 14px!important;
    color: #666!important;
    line-height: 1.4!important;
    font-family: "Raleway", sans-serif!important;
}

.location-directions-btn {
    display: inline-block!important;
    background: #fff!important;
    border: 2px solid #d62027!important;
    color: #d62027!important;
    padding: 8px 16px!important;
    border-radius: 4px!important;
    text-decoration: none!important;
    font-size: 13px!important;
    font-weight: 600!important;
    transition: all 0.2s ease!important;
    cursor: pointer!important;
    font-family: "Raleway", sans-serif!important;
    margin-top: 4px!important;
}

.location-directions-btn:hover {
    background: #d62027!important;
    color: white!important;
    text-decoration: none!important;
    transform: translateY(-1px)!important;
}

.location-directions-btn:active {
    transform: translateY(0)!important;
    box-shadow: 0 1px 2px rgba(214, 32, 39, 0.3)!important;
}

.directions-icon {
    margin-right: 6px!important;
    font-size: 12px!important;
}

.reybold-locations-map-map {
    flex: 1;
    height: 600px !important;
}

/* Map popup styles */
.location-popup {
    max-width: 300px;
}

.location-popup h4 {
    margin: 0 0 10px 0;
    color: #152b62!important;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 0!important;
    font-family: "Raleway", sans-serif!important;
}

.location-popup p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.location-popup p strong {
    color: #333;
    font-weight: 600;
}

.location-popup a {
    color: #007cba;
    text-decoration: none;
}

.location-popup a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .reybold-locations-map-wrapper {
        flex-direction: column;
    }
    
    .reybold-locations-map-sidebar {
        width: 100%;
        max-width: 100%;
        height: 400px;
    }
    
    .reybold-locations-map-map {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .reybold-locations-map-sidebar {
        height: 350px;
    }
    
    .reybold-locations-map-map {
        height: 350px !important;
    }
    
    .location-item {
        padding: 15px;
    }
    
    .location-item h4 {
        font-size: 15px;
    }
    
    .location-address {
        font-size: 13px!important;
        margin: 6px 0 10px 0!important;
    }
    
    .location-directions-btn {
        font-size: 12px!important;
        padding: 6px 12px!important;
    }
}

/* Loading state */
.reybold-locations-map-list p {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Leaflet map customizations */
.leaflet-popup-content-wrapper {
    border-radius: 8px!important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)!important;
    padding: .5rem!important;
    padding-right: 1rem!important;
    background-color: #fff!important;
}

.leaflet-popup-content {
    margin: 15px;
    line-height: 1.4;
}

.leaflet-popup-close-button {
    text-align: right!important;
}

.leaflet-popup-tip {
    background: white;
}

/* Custom marker styles */
.reybold-marker-icon {
    background: transparent !important;
    border: none !important;
}

.reybold-marker-icon div {
    transition: transform 0.2s ease;
}

.reybold-marker-icon:hover div {
    transform: scale(1.1);
}

/* Animation for location selection */
.location-item {
    transition: all 0.3s ease;
}

.location-item.selected {
    transform: translateX(5px);
}

/* Focus states for accessibility */
.location-item:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .reybold-locations-map-sidebar {
        display: none;
    }
    
    .reybold-locations-map-map {
        width: 100%;
        height: 600px !important;
    }
} 