.elementor-1549 .elementor-element.elementor-element-cce6e11{--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;}/* Start custom CSS for shortcode, class: .elementor-element-ba2a45b *//* ============================
   GLOBAL STYLES
============================ */

.castrol-wrap {
    background: #f7fafc;
    padding: 20px;
}

.castrol-wrap h1 {
    color: #0b703a;
}

.castrol-card h2 {
    margin: 0 0 6px 0;
    color: #0b703a;
}

.widefat.fixed.striped td {
    vertical-align: middle;
}

/* ============================
   ALERTED CARD STYLE
============================ */

.castrol-card-item {
    background: #ffffff;
    border-left: 6px solid #0B703A;
    padding: 20px;
    border-radius: 14px;
    transition: 0.25s;
}

.castrol-card-item.alerted {
    background: #d1fae5 !important;
    border-left-color: #059669 !important;
}

/* ============================
   PROGRESS BOXES â€” DASHBOARD
============================ */

.castrol-progress-row {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}

.castrol-progress-box {
    flex: 1;
    background: #111; /* plus propre que #1a1a1a */
    padding: 22px;
    border-radius: 20px;
    box-shadow:
        0 8px 22px rgba(0,0,0,0.35),
        inset 0 0 12px rgba(0,255,180,0.15);
    color: white;
    font-family: Inter, Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Titre */
.cpb-title {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 10px;
}

/* Pourcentage */
.cpb-percent {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Barre */
.cpb-bar {
    width: 100%;
    height: 16px;
    background: #2d2d2d;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Remplissage animÃ© */
.cpb-fill {
    height: 100%;
    background: linear-gradient(90deg, #4effb8, #19ff94);
    border-radius: 30px;
    width: 0; /* DÃ©part Ã  zÃ©ro pour lâ€™animation */
    box-shadow: 0 0 10px rgba(0,255,190,0.8);
    transition: width 1.2s ease-in-out;
}

/* Sous-texte */
.cpb-sub {
    font-size: 13px;
    color: #c5c5c5;
    margin-top: 5px;
}

/* ============================
   RESPONSIVE DESIGN
============================ */

@media (max-width: 850px) {
    .castrol-progress-row {
        flex-direction: column;
    }
}
/* ============================
   STATISTIC CARDS (OLD BOXES)
============================ */

.castrol-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.castrol-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    text-align: center;
    transition: transform .2s ease;
}

.castrol-card:hover {
    transform: translateY(-4px);
}

.castrol-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
}

.card-number {
    font-size: 32px;
    font-weight: 800;
    color: #0B703A;
    margin-top: 12px;
}
/* ============================
   HEADER LOGO + BANNER FIX
============================ */

.castrol-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.castrol-logo {
    width: 130px;         /* Taille rÃ©duite */
    max-width: 100%;
    height: auto;
}

.castrol-banner {
    width: 280px;         /* Taille rÃ©duite */
    max-width: 100%;
    border-radius: 12px;
    height: auto;
}

/* Responsive */
@media (max-width: 700px) {
    .castrol-header {
        flex-direction: column;
        text-align: center;
    }

    .castrol-logo {
        width: 110px;
    }

    .castrol-banner {
        width: 220px;
    }
}

.cp-card.treated {
    opacity: 0.5;
    border-left-color: #6b7280 !important;
}
.cp-card.treated .cp-action-mark {
    background: #6b7280 !important;
    cursor: not-allowed;
}/* End custom CSS */