.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-6378 .elementor-element.elementor-element-1f0dd61{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-shortcode .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-shortcode .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}:root{--page-title-display:none;}@media(min-width:768px){.elementor-6378 .elementor-element.elementor-element-1f0dd61{--width:100%;}}@media(max-width:1024px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-shortcode .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-shortcode .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}}@media(max-width:767px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-shortcode .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );}.elementor-widget-shortcode .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );}}/* Start custom CSS for shortcode, class: .elementor-element-1cec79c *//* ==============================
   WRAPPER
============================== */

.rbp-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==============================
   FILTRES
============================== */

.rbp-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.rbp-filter {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #0C534E;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #0C534E;
    background: #fff;
}

.rbp-filter.active {
    background: #0C534E;
    color: #ffffff !important;
}

.rbp-filter:hover {
    background: #0C534E;
    color: #fff !important;
}

/* ==============================
   STATS
============================== */

.rbp-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.rbp-stat-card {
    background: #f4f6f6;
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
}

.rbp-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #0C534E;
}

.rbp-stat-label {
    font-size: 13px;
    color: #666;
}

/* ==============================
   GRID
============================== */

.rbp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 25px;
}

/* ==============================
   CARD
============================== */

.rbp-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.rbp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rbp-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #0C534E;
}

.rbp-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.rbp-badge-attente {
    background: #f4f6f6;
    color: #666
}

.rbp-badge-valide {
    background: #1B736C;
}

.rbp-card-meta {
    font-size: 14px;
    color: #444;
    margin-bottom: 18px;
}

.rbp-card-total {
    font-size: 20px;
    font-weight: 800;
    color: #0C534E;
    margin-bottom: 18px;
}

/* =========================
   BASE BOUTONS DASHBOARD
   ========================= */

.rbp-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* ===== FORCER OMBRE SUR BOUTONS LIGHT ===== */

.rbp-btn-light {
    background: #f7f7f7 !important;
    color: #666 !important;
    border: none !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12) !important;
}

.rbp-btn-light:hover {
    background: #e2e6ea !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18) !important;
}

/* Force couleur Commander même si Elementor surcharge */

button.rbp-btn-primary {
    background: #0C534E !important;
    color: #ffffff !important;
}

button.rbp-btn-primary:hover {
    background: #083c38 !important;
    color: #ffffff !important;
}

/* Force couleur supprimer même si Elementor surcharge */

button.rbp-btn-danger {
    background: #c62828 !important;
    color: #ffffff !important;
}

button.rbp-btn-danger:hover {
    background: #8e0000 !important;
    color: #ffffff !important;
}

/* Alignement actions + spacing UX propre */

.rbp-card-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* espace entre les boutons */
    flex-wrap: wrap;
}

/* Header carte stable */

.rbp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

/* Titre chantier */

.rbp-card-title {
    flex: 1;
    font-weight: 700;
    font-size: 18px;
    color: #0C534E;
    line-height: 1.3;
}

/* Badge statut */

.rbp-badge {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== NOUVEAU CHANTIER PREMIUM ===== */

.rbp-new-chantier {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E6F3F1;
    color: #0C534E;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.rbp-new-chantier:hover {
    background: #0C534E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12,83,78,0.25);
}

/* Petit cercle pour le + */
.rbp-new-chantier .rbp-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0C534E;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.25s ease;
}

/* ===== HOVER NOUVEAU CHANTIER CORRIGÉ ===== */

.rbp-new-chantier:hover {
    background: #d5e8e6; /* plus foncé mais toujours clair */
    color: #0C534E;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.rbp-new-chantier:hover .rbp-plus {
    background: #0C534E;
    color: #ffffff;
}

#rbp-global-loader{
    position:fixed;
    inset:0;
    background:rgba(255,255,255,0.65);
    backdrop-filter:blur(2px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

#rbp-global-loader.active{
    display:flex;
}/* End custom CSS */