/* Doctor Locations Map Styles */
.doctor-locations-section {
    padding: 40px 0;
}

.locations-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.locations-list {
    flex: 1;
    max-height: 500px;
    overflow-y: auto;
}

.locations-map {
    flex: 1.5;
    position: relative;
    min-height: 400px;
}

#doctor-locations-map {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Location Card Styles */
.wvu-doctor-location-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 60px;
}

.wvu-doctor-location-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0033AA;
}

.wvu-doctor-location-card.selected {
    border-color: #0033AA;
    box-shadow: 0 4px 12px rgba(0, 51, 170, 0.2);
}

/* Location Number Badge */
.location-number-badge {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #0033AA;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wvu-doctor-location-card:hover .location-number-badge {
    background: #002855;
}

.wvu-doctor-location-card.selected .location-number-badge {
    background: #002855;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.wvu-doctor-location-card .location-icon {
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
}

.wvu-doctor-location-card .location-info {
    display: inline-block;
    width: calc(100% - 45px);
}

.location-name {
    font-size: 18px;
    font-weight: 600;
    color: #002855;
    margin: 0 0 5px 0;
}

.location-distance {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.location-details {
    display: flex;
    gap: 30px;
}

.location-type-hours,
.location-address-contact {
    flex: 1;
}

.location-type {
    font-weight: 600;
    color: #002855;
    margin-bottom: 10px;
}

.location-hours {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 5px;
}

.hours-icon {
    width: 20px;
}

.hours-text {
    flex: 1;
}

.hours-time {
    color: #666;
}

.location-address {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.location-directions-link {
    color: #0033AA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.location-directions-link:hover {
    text-decoration: underline;
}

.location-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-top: 10px;
}

/* Map Marker Styles */
.custom-map-marker {
    background: transparent;
    border: none;
}

/* Map Popup Styles */
.map-popup {
    min-width: 200px;
}

.map-popup-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #0033AA;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
    float: left;
}

.map-popup h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #002855;
    overflow: hidden;
}

.map-popup p {
    margin: 0;
    font-size: 14px;
    color: #666;
    clear: both;
}

/* Responsive Styles */
@media (max-width: 980px) {
    .locations-container {
        flex-direction: column;
    }
    
    .locations-list {
        max-height: 300px;
        margin-bottom: 30px;
    }
    
    .location-details {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .wvu-doctor-location-card {
        padding: 15px;
        padding-left: 55px;
    }
    
    .location-number-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
        left: 12px;
    }
    
    .location-name {
        font-size: 16px;
    }
    
    .wvu-doctor-location-card .location-icon {
        display: none;
    }
    
    .wvu-doctor-location-card .location-info {
        display: block;
        width: 100%;
    }
}
