/* =========================================
   DR.CLEAR - WPConsent Banner Fix
   Compact banner + RTL + Close X fix
   ========================================= */


/* 1. Fix X position and reduce banner height */

#wpconsent-container::part(wpconsent-banner) {
    direction: ltr;
    padding: 8px 12px;
}


/* 2. Preserve Hebrew RTL direction */

#wpconsent-container::part(wpconsent-banner-body),
#wpconsent-container::part(wpconsent-banner-footer) {
    direction: rtl;
}


/* 3. Reduce unnecessary spacing */

#wpconsent-container::part(wpconsent-banner-body) {
    padding: 3px 0;
    margin-bottom: 2px;
}


/* 4. Mobile - prevent X from overlapping text */

@media (max-width: 767px) {

    #wpconsent-container::part(wpconsent-banner-body) {
        text-indent: 34px;
    }

}