/* =============================================
   WIDGET TAUX DE CHANGE - SANS BORDURE
   EFFET COLLÉ À LA TOPBAR
   ============================================= */

/* Supprimer les marges/paddings du conteneur */
.widget_block {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* --- Conteneur principal Taux (sans bordure) --- */
.bhb-taux-widget {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif !important;
 
    border: none !important;                         /* PAS DE BORDURE */
    border-radius: 0 !important;
    padding: 8px 14px 8px 14px !important;
    height: 44px !important;
    position: relative !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

/* --- BARRE VERTICALE À GAUCHE (discrète mais présente) --- */
.bhb-taux-widget::before {
    content: '' !important;
    position: absolute !important;
    left: -8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1px !important;
    height: 28px !important;
    background: rgba(255, 200, 100, 0.12) !important;
    border-radius: 0 !important;
}

/* --- Icône Taux (brillante) --- */
.bhb-taux-widget-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 6px !important;
}

.bhb-taux-widget-icon svg {
    width: 16px !important;
    height: 16px !important;
    stroke: rgba(255, 200, 100, 0.5) !important;
    fill: none !important;
    filter: drop-shadow(0 0 6px rgba(255, 200, 100, 0.10)) !important;
    transition: all 0.3s ease !important;
}

.bhb-taux-widget:hover .bhb-taux-widget-icon svg {
    stroke: rgba(255, 200, 100, 0.8) !important;
    filter: drop-shadow(0 0 10px rgba(255, 200, 100, 0.20)) !important;
}

/* --- Label "TAUX" (brillant) --- */
.bhb-taux-widget-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    color: rgba(255, 200, 100, 0.4) !important;
    border-right: 1px solid rgba(255, 200, 100, 0.08) !important;
    padding-right: 10px !important;
    margin-right: 8px !important;
    text-transform: uppercase !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif !important;
    transition: color 0.3s ease !important;
}

.bhb-taux-widget:hover .bhb-taux-widget-label {
    color: rgba(255, 200, 100, 0.6) !important;
}

/* --- Slider défilant --- */
.bhb-taux-slider {
    width: 280px !important;
    overflow: hidden !important;
}

.bhb-taux-track {
    display: flex !important;
    width: max-content !important;
    animation: bhbTauxScroll 22s linear infinite !important;
    align-items: center !important;
    gap: 0 !important;
}

/* --- Élément de taux (effet feu) --- */
.bhb-taux-widget-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.bhb-taux-widget-item:hover {
    background: rgba(255, 200, 100, 0.04) !important;
}

/* --- Drapeau --- */
.bhb-taux-widget-item .flag img {
    width: 18px !important;
    height: 18px !important;
    border-radius: 2px !important;
    vertical-align: middle !important;
    display: block !important;
}

/* --- Code devise (brillant) --- */
.bhb-taux-widget-item .code {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: rgba(255, 200, 100, 0.35) !important;
    letter-spacing: 0.2px !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif !important;
    transition: color 0.3s ease !important;
}

.bhb-taux-widget-item:hover .code {
    color: rgba(255, 200, 100, 0.6) !important;
}

/* --- Valeur du taux (EFFET FEU) --- */
.bhb-taux-widget-item .value {
    font-family: "SF Mono", "Courier New", monospace !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.2px !important;
    text-shadow: 0 0 8px rgba(255, 180, 50, 0.10), 0 0 16px rgba(255, 120, 30, 0.04) !important;
    transition: all 0.3s ease !important;
}

.bhb-taux-widget-item:hover .value {
    text-shadow: 0 0 16px rgba(255, 180, 50, 0.25), 0 0 32px rgba(255, 120, 30, 0.08) !important;
}

/* --- Séparateur (très discret) --- */
.bhb-taux-widget-sep {
    color: rgba(255, 200, 100, 0.05) !important;
    font-size: 14px !important;
    font-weight: 100 !important;
    padding: 0 4px !important;
}

/* --- Animation --- */
@keyframes bhbTauxScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Responsive (inchangé) --- */
@media (max-width: 992px) {
    .bhb-taux-slider { width: 200px !important; }
    .bhb-taux-widget {
        padding: 6px 12px 6px 12px !important;
        height: 38px !important;
    }
    .bhb-taux-widget::before { height: 24px !important; left: -6px !important; }
    .bhb-taux-widget-item .value { font-size: 13px !important; }
    .bhb-taux-widget-item .code { font-size: 9px !important; }
    .bhb-taux-widget-item .flag img { width: 16px !important; height: 16px !important; }
    .bhb-taux-widget-label { font-size: 9px !important; padding-right: 8px !important; margin-right: 6px !important; }
    .bhb-taux-widget-icon svg { width: 14px !important; height: 14px !important; }
    .bhb-taux-widget-item { padding: 2px 6px !important; gap: 5px !important; }
}

@media (max-width: 768px) {
    .bhb-taux-slider { width: 150px !important; }
    .bhb-taux-widget {
        padding: 5px 10px 5px 10px !important;
        height: 34px !important;
    }
    .bhb-taux-widget::before { height: 20px !important; left: -5px !important; width: 1px !important; }
    .bhb-taux-widget-icon svg { width: 13px !important; height: 13px !important; }
    .bhb-taux-widget-item .value { font-size: 11px !important; }
    .bhb-taux-widget-item .code { display: none !important; }
    .bhb-taux-widget-item .flag img { width: 14px !important; height: 14px !important; }
    .bhb-taux-widget-item { padding: 2px 6px !important; gap: 4px !important; }
    .bhb-taux-widget-label { font-size: 8px !important; padding-right: 6px !important; margin-right: 5px !important; letter-spacing: 0.5px !important; }
    .bhb-taux-widget-sep { font-size: 10px !important; padding: 0 2px !important; }
}
