/* STYLES POUR LES INFO-WINDOWS DES MARQUEURS - VERSION COMPACTE */

.info-window-content {
    min-width: 220px;
    max-width: 260px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.info-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e3f2fd;
}

.info-window-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
    margin: 0;
    text-shadow: none;
}

.info-window-icons {
    display: flex;
    gap: 4px;
}

.edit-icon, .transfer-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.edit-icon:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: scale(1.05);
}

.transfer-icon:hover {
    background: #f3e5f5;
    border-color: #9c27b0;
    transform: scale(1.05);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 3px 0;
    font-size: 12px;
}

.info-row:last-of-type {
    margin-bottom: 8px;
}

.info-label {
    font-weight: 500;
    color: #424242;
    font-size: 11px;
    min-width: 80px;
}

.info-value {
    font-weight: 400;
    color: #666;
    font-size: 11px;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.info-row a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.info-row a:hover {
    background: #e3f2fd;
    color: #0d47a1;
}

.plan-visit-btn {
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    margin-top: 6px;
}

.plan-visit-btn:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.plan-visit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* Adaptations mobiles */
@media (max-width: 768px) {
    .info-window-content {
        min-width: 200px;
        max-width: 240px;
        padding: 8px;
    }
    
    .info-window-header h3 {
        font-size: 14px;
    }
    
    .info-label, .info-value {
        font-size: 10px;
    }
    
    .plan-visit-btn {
        padding: 6px;
        font-size: 11px;
    }
    
    .edit-icon, .transfer-icon {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

/* Styles pour les appareils iOS */
.info-window-content.device-ios {
    max-width: 240px;
}

.info-window-content.device-ios .plan-visit-btn {
    background: #007aff;
}

.info-window-content.device-ios .plan-visit-btn:hover {
    background: #0056b3;
}
