/* Map styles for contact page */

.modern-map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-info-window {
    padding: 5px 10px;
    max-width: 200px;
    text-align: center;
}

.map-info-window h3 {
    color: #232323;
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.map-info-window p {
    color: #555;
    margin: 0;
    font-size: 0.85rem;
}

.gm-style-iw {
    border-radius: 8px !important;
}

.map-error-container {
    background-color: rgba(35, 35, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-error {
    text-align: center;
    padding: 2rem;
}

.map-error i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Layout for map and legend in the same box */
.service-map-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
    box-sizing: border-box;
}

.modern-map {
    flex: 2;
    min-height: 400px;
    height: auto;
}

.map-legend {
    flex: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #232323;
    min-width: 250px;
    padding: 20px 15px 20px 25px;
    border-radius: 8px;
}

.map-legend h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 5px;
}

.map-legend ul {
    padding-left: 5px;
    list-style-type: none;
    margin-bottom: 20px;
}

.map-legend li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.callout-box {
    display: flex;
    align-items: center;
    background: rgba(255, 214, 0, 0.1);
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 5px;
}

.callout-box i {
    margin-right: 12px;
    color: var(--primary-color);
}

.zone-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
}

.zone-1 {
    background-color: #ffd600;
}

.zone-2 {
    background-color: #ff9800;
}

.zone-3 {
    background-color: #f44336;
}

.qualification-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.qualification-badge {
    background: rgba(255, 214, 0, 0.15);
    color: var(--primary-color);
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 214, 0, 0.3);
}

.qualification-list-improved {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}

.qualification-list-improved li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.qualification-list-improved i {
    color: var(--primary-color);
    margin-right: 6px;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-map-container {
        flex-direction: column;
    }
    
    .modern-map {
        width: 100%;
        min-height: 300px;
    }
    
    .map-legend {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 500px) {
    .service-map-container {
        padding: 15px;
    }
    
    .modern-map {
        min-height: 250px;
    }
}
