/* ===================================
   VVHB Covoiturage - Compatibility Fixes
   Règles pour éviter les conflits avec les thèmes WordPress
   =================================== */

/* Force all SVG icons to proper size - Critical fix */
.vvhb-covoiturage-widget svg,
.vvhb-covoiturage-widget .section-icon,
.vvhb-covoiturage-widget .btn-icon,
.vvhb-covoiturage-widget .vvhb-ride-location svg,
.vvhb-covoiturage-widget .vvhb-route-arrow svg,
.vvhb-covoiturage-widget .vvhb-ride-detail-value svg,
.vvhb-covoiturage-widget .vvhb-ride-info-item svg,
.vvhb-covoiturage-widget .vvhb-contact-btn svg,
.vvhb-covoiturage-widget .vvhb-message svg {
    display: inline-block !important;
    vertical-align: middle !important;
    max-width: 100% !important;
    box-sizing: content-box !important;
}

/* Prevent WordPress theme overrides */
.vvhb-covoiturage-widget * {
    box-sizing: border-box !important;
}

.vvhb-covoiturage-widget img,
.vvhb-covoiturage-widget svg {
    max-width: none !important;
}

/* Reset common theme image styles that affect SVG */
.vvhb-covoiturage-widget svg {
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix for themes that set img, svg width to 100% */
.vvhb-section svg,
.vvhb-btn svg,
.vvhb-ride-card svg {
    width: auto !important;
}
