/* Carte Google Maps Compacte - Contact Section */

.contact-map-container {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    height: 280px;
    position: relative;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.map-overlay-compact {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background: rgba(30, 41, 59, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-business-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.map-business-details h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.map-business-details p {
    margin: 2px 0 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.map-rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.map-rating-score {
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.9rem;
}

.map-rating-stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

.map-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.map-action-btn {
    flex: 1;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.map-action-btn:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-1px);
}

.map-action-btn i {
    margin-right: 4px;
    font-size: 0.75rem;
}

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8fafc;
    color: #64748b;
    flex-direction: column;
}

.map-loading .spinner-small {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .contact-map-container {
        height: 250px;
    }
    
    .map-business-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .map-quick-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .map-action-btn {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}
