/* Style pour la bannière */
.donation-directe-banner-wrapper {
    /* La position: relative est gérée par le JS maintenant */
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Caché par défaut, affiché par JS si l'option est activée */
}
.donation-directe-banner {
    width: 100%;
    height: 10px;
    display: flex;
}
.donation-directe-banner .black-stripe { background-color: #000; flex: 1; }
.donation-directe-banner .white-stripe { background-color: #FFF; flex: 1; }
.donation-directe-banner .green-stripe { background-color: #009A44; flex: 1; }
.donation-directe-banner-content {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid #D22038; /* Rouge pour le triangle de Gaza */
}
.donation-directe-banner-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background-color: #D22038;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.donation-directe-banner-content a:hover {
    background-color: #a3182b;
}
.donation-directe-banner-content .close-btn {
    color: #333;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
/* Ajoutez une marge supérieure au body pour que la bannière ne recouvre pas le contenu principal */
body.has-donation-banner {
    margin-top: 50px; /* Ajustez la taille en fonction de la hauteur de la bannière */
}

/* Style pour la bannière avec les couleurs de Gaza */
.donation-directe-banner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Caché par défaut, affiché par JS si l'option est activée */
}
.donation-directe-banner {
    width: 100%;
    height: 10px;
    display: flex;
}
.donation-directe-banner .black-stripe { background-color: #000; flex: 1; }
.donation-directe-banner .white-stripe { background-color: #FFF; flex: 1; }
.donation-directe-banner .green-stripe { background-color: #009A44; flex: 1; }
.donation-directe-banner-content {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid #D22038; /* Rouge pour le triangle de Gaza */
}
.donation-directe-banner-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background-color: #D22038;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.donation-directe-banner-content a:hover {
    background-color: #a3182b;
}
.donation-directe-banner-content .close-btn {
    color: #333;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Style pour le widget - Plus de style et d'ombre */
.widget_donation_directe_widget {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}
.donation-directe-widget-content .donation-directe-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #009A44; /* Vert */
    color: #fff;
    padding: 12px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.donation-directe-widget-content .donation-directe-button:hover {
    background-color: #007c37;
    transform: translateY(-2px);
}
.donation-directe-widget-content .donation-directe-subtitle {
    font-style: normal;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}
.widget_donation_directe_widget .widget-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}