/* Hide cookie consent banner and stray SharePoint success popup */
.cookies-message,
.cookies-message.show,
#CookiePreferencesModal,
#messagePopup,
.messagePopup {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.homeServicesCont.quickAccessSection {
    display: none !important;
}

/* Hide bill inquiry CTAs after user starts inquiry / when captcha is shown */
body.qa-inquiry-buttons-hidden #ctl00_ctl61_g_6f302707_241c_4235_bae0_a658a93ac06d_ctl00_divAction,
body.qa-captcha-visible #ctl00_ctl61_g_6f302707_241c_4235_bae0_a658a93ac06d_ctl00_divAction {
    display: none !important;
}

body.qa-inquiry-buttons-hidden #aAllInvoices {
    display: none !important;
}

/*
 * Header chrome + footer: visible only, no taps/clicks.
 * Language toggle in header stays interactive.
 */
body.qa-km-chrome-locked .footer {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: default !important;
}

body.qa-km-chrome-locked header {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Only the language switch stays clickable — not search, accessibility, etc. */
body.qa-km-chrome-locked header .optionItem.lang,
body.qa-km-chrome-locked header .optionItem.lang a,
body.qa-km-chrome-locked header #ctl00_KahramaaLang_lbarabic {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    touch-action: manipulation !important;
}

body.qa-km-chrome-locked header .optionsCont .optionItem:not(.lang),
body.qa-km-chrome-locked header .optionsLeft .optionItem:not(.lang) {
    pointer-events: none !important;
    cursor: default !important;
    touch-action: none !important;
}

body.qa-km-chrome-locked #MainMenu,
body.qa-km-chrome-locked .cd-dropdown-wrapper,
body.qa-km-chrome-locked .cd-dropdown,
body.qa-km-chrome-locked .navbar-toggle,
body.qa-km-chrome-locked button.navbar-toggle-hidden,
body.qa-km-chrome-locked .mainLogo a,
body.qa-km-chrome-locked .logoCont a,
body.qa-km-chrome-locked a.skip-main {
    pointer-events: none !important;
    cursor: default !important;
    touch-action: none !important;
}

body.qa-km-chrome-locked .cd-dropdown-wrapper.is-active .cd-dropdown,
body.qa-km-chrome-locked .cd-dropdown.dropdown-is-active {
    display: none !important;
    visibility: hidden !important;
}
