/* =================================================================
   MsebenziHub — Premium Navbar
   Targets Astra Header/Footer Builder (all pages)
================================================================= */

:root {
    --mht-nav-bg:           #0b2545;
    --mht-nav-bg-scroll:    rgba(8, 20, 42, 0.97);
    --mht-nav-height:       72px;
    --mht-nav-height-mob:   60px;
    --mht-nav-link:         rgba(255,255,255,0.82);
    --mht-nav-link-hover:   #ffffff;
    --mht-nav-link-active:  #ffffff;
    --mht-nav-transition:   0.2s ease;
    --mht-nav-radius:       7px;
}

/* -----------------------------------------------------------------
   DESKTOP PRIMARY HEADER BAR
   Targets both Astra Header Builder (#ast-desktop-header)
   and legacy Astra (.ast-primary-header-bar, .main-header-bar)
----------------------------------------------------------------- */
#ast-desktop-header .ast-primary-header-bar,
#ast-desktop-header .main-header-bar,
.ast-header-wrap .ast-primary-header-bar,
.ast-header-wrap .main-header-bar,
.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
    background: var(--mht-nav-bg) !important;
    border-bottom: none !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.22) !important;
    min-height: var(--mht-nav-height) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

#ast-desktop-header .ast-primary-header-bar.mht-scrolled,
#ast-desktop-header .main-header-bar.mht-scrolled,
.ast-header-wrap .main-header-bar.mht-scrolled {
    background: var(--mht-nav-bg-scroll) !important;
    box-shadow: 0 2px 32px rgba(0,0,0,.32) !important;
    backdrop-filter: blur(12px) !important;
}

/* Builder grid row — enforces header height */
#ast-desktop-header .ast-builder-grid-row,
#ast-desktop-header .site-primary-header-wrap,
.ast-header-wrap .ast-builder-grid-row,
.ast-header-wrap .site-primary-header-wrap {
    min-height: var(--mht-nav-height) !important;
}

/* Above / below bars */
.ast-above-header-bar {
    background: rgba(7,17,37,.96) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    font-size: 0.8rem !important;
}
.ast-below-header-bar {
    background: rgba(11,37,69,.92) !important;
    border-top: 1px solid rgba(255,255,255,.07) !important;
}

/* -----------------------------------------------------------------
   LOGO / SITE IDENTITY
----------------------------------------------------------------- */
.ast-site-identity {
    padding: 0 !important;
}
.ast-site-identity .site-title,
.ast-site-identity .site-title a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.3rem !important;
    letter-spacing: -0.4px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
.ast-site-identity .site-title a,
.ast-site-identity .site-title a:visited,
.ast-site-identity .site-title a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
.ast-site-identity .site-description {
    color: rgba(255,255,255,.5) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
}

/* -----------------------------------------------------------------
   DESKTOP NAV LINKS (top-level)
----------------------------------------------------------------- */
.main-header-menu,
.ast-nav-menu {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.main-header-menu > .menu-item > a,
.ast-nav-menu > .menu-item > a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--mht-nav-link) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1px !important;
    padding: 8px 13px !important;
    border-radius: var(--mht-nav-radius) !important;
    transition: color var(--mht-nav-transition), background var(--mht-nav-transition) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}
.main-header-menu > .menu-item > a:hover,
.ast-nav-menu > .menu-item > a:hover {
    color: var(--mht-nav-link-hover) !important;
    background: rgba(255,255,255,.09) !important;
}
.main-header-menu > .current-menu-item > a,
.main-header-menu > .current-menu-ancestor > a,
.main-header-menu > .current-page-ancestor > a,
.ast-nav-menu > .current-menu-item > a,
.ast-nav-menu > .current-menu-ancestor > a {
    color: var(--mht-nav-link-active) !important;
    background: rgba(255,255,255,.11) !important;
    font-weight: 600 !important;
}

/* -----------------------------------------------------------------
   DROPDOWN SUB-MENUS (desktop)
----------------------------------------------------------------- */
.main-header-menu .sub-menu,
.ast-nav-menu .sub-menu {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 40px rgba(11,37,69,.18), 0 2px 10px rgba(0,0,0,.07) !important;
    min-width: 210px !important;
    padding: 6px !important;
    margin-top: 8px !important;
    /* Fade-in animation */
    animation: mhtDropFade 0.18s ease forwards !important;
    overflow: hidden !important;
}
@keyframes mhtDropFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.main-header-menu .sub-menu .menu-item > a,
.ast-nav-menu .sub-menu .menu-item > a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #1e293b !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 9px 13px !important;
    border-radius: 7px !important;
    transition: background var(--mht-nav-transition), color var(--mht-nav-transition) !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.4 !important;
}
.main-header-menu .sub-menu .menu-item > a:hover,
.ast-nav-menu .sub-menu .menu-item > a:hover {
    background: #e3f0ff !important;
    color: #0b2545 !important;
}
.main-header-menu .sub-menu .current-menu-item > a,
.ast-nav-menu .sub-menu .current-menu-item > a {
    background: #e3f0ff !important;
    color: #0b2545 !important;
    font-weight: 600 !important;
}

/* Dropdown caret arrow */
.main-header-menu .menu-item-has-children > a::after,
.ast-nav-menu .menu-item-has-children > a::after {
    border-color: rgba(255,255,255,.6) transparent transparent transparent !important;
    margin-left: 5px !important;
}

/* -----------------------------------------------------------------
   MY PROFILE NAV LINK  (pill button in header)
----------------------------------------------------------------- */
.mht-profile-menu-item > a.mht-nav-profile-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255,255,255,.1) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 24px !important;
    padding: 5px 14px 5px 5px !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
    transition: background var(--mht-nav-transition), border-color var(--mht-nav-transition) !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
.mht-profile-menu-item > a.mht-nav-profile-link:hover {
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.4) !important;
}
.mht-nav-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(255,255,255,.45) !important;
    object-fit: cover !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* -----------------------------------------------------------------
   MOBILE HEADER BAR
----------------------------------------------------------------- */
#ast-mobile-header,
#ast-mobile-header .ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
    background: var(--mht-nav-bg) !important;
    border-bottom: none !important;
    box-shadow: 0 2px 18px rgba(0,0,0,.25) !important;
    min-height: var(--mht-nav-height-mob) !important;
}

/* Mobile logo */
#ast-mobile-header .ast-site-identity .site-title a,
.ast-mobile-header-wrap .site-title a {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
}

/* Mobile builder grid */
#ast-mobile-header .ast-builder-grid-row,
#ast-mobile-header .site-primary-header-wrap {
    min-height: var(--mht-nav-height-mob) !important;
}

/* -----------------------------------------------------------------
   HAMBURGER / MENU TOGGLE BUTTON
----------------------------------------------------------------- */
#ast-mobile-header .menu-toggle,
#ast-mobile-header .main-header-menu-toggle,
.ast-button-wrap .menu-toggle {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 6px !important;
    cursor: pointer !important;
    align-items: center !important;
    gap: 6px !important;
}

/* SVG icon lines (Astra uses inline SVG in the toggle) */
.menu-toggle svg,
.ast-mobile-menu-trigger-minimal svg,
.ast-mobile-menu-trigger-fill svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
}

/* Astra icon bars (older builds) */
.menu-toggle .mobile-menu-toggle-icon span,
.ast-icon-bar {
    background: #ffffff !important;
}

/* "Menu" text label beside hamburger */
.menu-toggle .mobile-menu,
.menu-toggle .ast-label {
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

/* -----------------------------------------------------------------
   OFF-CANVAS MOBILE POPUP
----------------------------------------------------------------- */
#ast-mobile-popup-wrapper {
    z-index: 99999 !important;
}

#ast-mobile-popup,
.ast-mobile-popup-drawer {
    background: #0b2545 !important;
    box-shadow: 6px 0 48px rgba(0,0,0,.4) !important;
    width: min(300px, 82vw) !important;
    flex-direction: column !important;
}

/* Override Astra customizer white background on the inner panel —
   Astra injects: .ast-mobile-popup-drawer.active .ast-mobile-popup-inner { background-color:#fff }
   We beat it with !important on every layer */
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup.active .ast-mobile-popup-inner {
    background-color: #0b2545 !important;
    background: #0b2545 !important;
    color: rgba(255,255,255,.85) !important;
}

/* All list items and their backgrounds inside the popup */
.ast-mobile-popup-drawer .ast-mobile-popup-inner ul,
.ast-mobile-popup-drawer .ast-mobile-popup-inner li,
.ast-mobile-popup-drawer .ast-mobile-popup-inner .menu-item {
    background-color: transparent !important;
    background: transparent !important;
}

/* Menu links — white text */
.ast-mobile-popup-drawer .ast-mobile-popup-inner .menu-item > a,
.ast-mobile-popup-drawer .ast-mobile-popup-inner li > a {
    color: rgba(255,255,255,.88) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    background: transparent !important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-inner .menu-item > a:hover,
.ast-mobile-popup-drawer .ast-mobile-popup-inner li > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
}

/* Sub-menus inside the popup */
.ast-mobile-popup-drawer .ast-mobile-popup-inner .sub-menu {
    background-color: rgba(0,0,0,.2) !important;
    background: rgba(0,0,0,.2) !important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-inner .sub-menu .menu-item > a {
    color: rgba(255,255,255,.72) !important;
}

/* Overlay: no pointer events when popup is closed (belt-and-suspenders) */
.ast-mobile-popup-overlay {
    pointer-events: none !important;
}
/* Only darken + allow interaction when Astra has opened the popup */
body.ast-popup-nav-open .ast-mobile-popup-overlay,
html.ast-off-canvas-active .ast-mobile-popup-overlay {
    background: rgba(0,0,0,.6) !important;
    backdrop-filter: blur(3px) !important;
    pointer-events: auto !important;
}

/* Popup header row (logo + close button) */
.ast-mobile-popup-header {
    background: rgba(0,0,14,.28) !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    flex-shrink: 0 !important;
}

/* Site title inside popup */
.ast-mobile-popup-header .site-title a,
.ast-mobile-popup-header .ast-site-identity .site-title a {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Close button */
.menu-toggle-close,
#menu-toggle-close,
.ast-mobile-popup-header .menu-toggle-close {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 50% !important;
    color: rgba(255,255,255,.8) !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.18s, color 0.18s !important;
    flex-shrink: 0 !important;
}
.menu-toggle-close:hover,
#menu-toggle-close:hover {
    background: rgba(255,255,255,.18) !important;
    color: #ffffff !important;
}
.menu-toggle-close svg,
#menu-toggle-close svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Scrollable content area */
.ast-mobile-popup-content {
    background: #0b2545 !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
}

/* Ensure all direct children of the popup also carry the dark background */
#ast-mobile-popup > *,
.ast-mobile-popup-drawer > * {
    background-color: transparent !important;
}
.ast-mobile-popup-inner,
.ast-mobile-popup-wrap,
#ast-mobile-popup .ast-mobile-nav,
#ast-mobile-popup nav,
.ast-mobile-popup-drawer nav {
    background: #0b2545 !important;
}

/* Ensure popup list items don't get a white background from Astra defaults */
.ast-mobile-popup-content ul,
.ast-mobile-popup-content li,
.ast-mobile-popup-content .menu-item {
    background: transparent !important;
}

/* Popup menu items */
.ast-mobile-popup-content .menu-item > a,
.ast-mobile-popup-content li > a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: rgba(255,255,255,.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 13px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background var(--mht-nav-transition), color var(--mht-nav-transition) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}
.ast-mobile-popup-content .menu-item > a:hover,
.ast-mobile-popup-content li > a:hover {
    background: rgba(255,255,255,.07) !important;
    color: #ffffff !important;
}
.ast-mobile-popup-content .current-menu-item > a,
.ast-mobile-popup-content .current-menu-ancestor > a {
    color: #ffffff !important;
    background: rgba(21,101,192,.22) !important;
    border-left: 3px solid #1565c0 !important;
    padding-left: 17px !important;
    font-weight: 600 !important;
}

/* Sub-menu toggle arrow (Astra appends this) */
.ast-menu-toggle,
.ast-mobile-popup-content .ast-menu-toggle {
    color: rgba(255,255,255,.45) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.ast-menu-toggle svg { stroke: currentColor !important; }

/* Mobile sub-menu */
.ast-mobile-popup-content .sub-menu {
    background: rgba(0,0,0,.18) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    animation: none !important;
}
.ast-mobile-popup-content .sub-menu .menu-item > a {
    padding-left: 34px !important;
    font-size: 0.85rem !important;
    color: rgba(255,255,255,.7) !important;
    border-bottom-color: rgba(255,255,255,.04) !important;
}
.ast-mobile-popup-content .sub-menu .menu-item > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.06) !important;
}

/* My Profile pill inside mobile menu */
.ast-mobile-popup-content .mht-profile-menu-item > a {
    background: rgba(21,101,192,.18) !important;
    border-left: 3px solid #1565c0 !important;
    padding-left: 17px !important;
    gap: 10px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.ast-mobile-popup-content .mht-nav-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(255,255,255,.35) !important;
    object-fit: cover !important;
}

/* -----------------------------------------------------------------
   DROPDOWN MOBILE (if site uses dropdown instead of off-canvas)
----------------------------------------------------------------- */
#ast-mobile-header .main-navigation,
#ast-mobile-header .ast-mobile-header-content {
    background: #0c2b4a !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
}
#ast-mobile-header .main-header-menu .menu-item > a,
#ast-mobile-header .ast-nav-menu .menu-item > a {
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}
#ast-mobile-header .main-header-menu .menu-item > a:hover,
#ast-mobile-header .ast-nav-menu .menu-item > a:hover {
    background: rgba(255,255,255,.07) !important;
    color: #ffffff !important;
}

/* -----------------------------------------------------------------
   SCROLL ELEVATION  (class added by navbar.js)
----------------------------------------------------------------- */
.mht-nav-scrolled #ast-desktop-header .ast-primary-header-bar,
.mht-nav-scrolled #ast-desktop-header .main-header-bar {
    background: rgba(8,20,42,.97) !important;
    backdrop-filter: blur(14px) saturate(1.4) !important;
    box-shadow: 0 2px 36px rgba(0,0,0,.36) !important;
}

/* -----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
----------------------------------------------------------------- */
@media (max-width: 920px) {
    :root { --mht-nav-height: 64px; }
}

@media (max-width: 544px) {
    :root { --mht-nav-height-mob: 56px; }

    #ast-mobile-popup,
    .ast-mobile-popup-drawer {
        width: 88vw !important;
    }

    .ast-site-identity .site-title a,
    #ast-mobile-header .site-title a {
        font-size: 1.05rem !important;
    }
}

/* =================================================================
   JOB ALERTS — Floating Button + Modal
================================================================= */

/* Floating Action Button */
.mht-alerts-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0b2545;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(11,37,69,.4), 0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    letter-spacing: .01em;
}
.mht-alerts-fab:hover {
    background: #163d70;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(11,37,69,.45);
}
.mht-alerts-fab svg { flex-shrink: 0; }

/* Modal overlay */
.mht-alerts-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.mht-alerts-modal[hidden] { display: none; }

.mht-alerts-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,15,30,.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Dialog card */
.mht-alerts-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 4px 16px rgba(0,0,0,.1);
    animation: mht-dlg-in .24s cubic-bezier(.34,1.4,.64,1);
}
@keyframes mht-dlg-in {
    from { opacity: 0; transform: scale(.9) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close × button */
.mht-alerts-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.18);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: rgba(255,255,255,.85);
    cursor: pointer;
    transition: background .15s;
}
.mht-alerts-close:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Modal header (gradient) */
.mht-alerts-mhead {
    background: linear-gradient(135deg, #0b2545 0%, #1b4f9c 100%);
    padding: 32px 28px 26px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}
.mht-alerts-bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.14);
    border-radius: 50%;
    color: #fff;
    margin-bottom: 14px;
    animation: mht-bell .8s ease-in-out 1.5s 2;
}
@keyframes mht-bell {
    0%, 40%, 100% { transform: rotate(0); }
    10%  { transform: rotate(14deg); }
    20%  { transform: rotate(-12deg); }
    30%  { transform: rotate(8deg); }
}
.mht-alerts-mhead h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}
.mht-alerts-mhead p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.5;
}

/* Form area */
#mht-alerts-form { padding: 24px 28px 28px; }

.mht-alerts-error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
}
.mht-alerts-error.mht-visible { display: block; }

.mht-alerts-field { margin-bottom: 16px; }
.mht-alerts-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mht-alerts-field input,
.mht-alerts-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
    -webkit-appearance: none;
}
.mht-alerts-field input:focus,
.mht-alerts-field select:focus {
    outline: none;
    border-color: #0b2545;
    box-shadow: 0 0 0 3px rgba(11,37,69,.1);
}
.mht-alerts-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.mht-alerts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mht-alerts-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0b2545;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 20px;
    transition: background .2s, transform .15s;
    letter-spacing: .01em;
}
.mht-alerts-submit:hover   { background: #163d70; transform: translateY(-1px); }
.mht-alerts-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.mht-alerts-disc {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin: 10px 0 0;
}

/* Success panel */
.mht-alerts-success {
    padding: 36px 28px 32px;
    text-align: center;
}
.mht-alerts-success[hidden] { display: none; }
.mht-alerts-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0b2545, #1b4f9c);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 16px;
}
.mht-alerts-success h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #0b2545;
}
.mht-alerts-success p {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 14px;
}
.mht-alerts-done {
    background: #0b2545;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}
.mht-alerts-done:hover { background: #163d70; }

@media (max-width: 500px) {
    .mht-alerts-row { grid-template-columns: 1fr; gap: 0; }
    .mht-alerts-mhead { padding: 26px 20px 20px; }
    #mht-alerts-form  { padding: 20px 20px 24px; }
    .mht-alerts-success { padding: 28px 20px; }
    /* FAB: icon-only on small screens */
    .mht-alerts-fab span { display: none; }
    .mht-alerts-fab { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}

/* -----------------------------------------------------------------
   FOOTER
----------------------------------------------------------------- */
#colophon,
.ast-site-footer {
    background: #0b2545 !important;
    color: rgba(255,255,255,.75) !important;
}

/* Footer widgets area */
.ast-footer-html-1,
.ast-footer-html-2,
.ast-footer-widget-area,
.footer-widget-area,
.footer-adv-overlay {
    background: #0b2545;
    color: rgba(255,255,255,.75);
}

/* Small / bottom bar */
.ast-small-footer,
.ast-small-footer-section,
.site-below-footer-wrap {
    background: #071b38 !important;
    color: rgba(255,255,255,.55) !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
}

/* Footer navigation links */
#colophon a,
.ast-site-footer a,
.ast-small-footer a,
.ast-footer-navigation a,
.footer-nav-online ul li a,
.ast-builder-layout-element a {
    color: rgba(255,255,255,.75) !important;
    text-decoration: none;
}
#colophon a:hover,
.ast-site-footer a:hover,
.ast-small-footer a:hover,
.ast-footer-navigation a:hover,
.footer-nav-online ul li a:hover,
.ast-builder-layout-element a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Current menu item in footer */
.ast-footer-navigation .current-menu-item a,
.footer-nav-online .current-menu-item a {
    color: #fff !important;
    font-weight: 700;
}

/* Footer headings / widget titles */
#colophon h1, #colophon h2, #colophon h3,
#colophon h4, #colophon h5, #colophon h6,
.ast-site-footer h1, .ast-site-footer h2,
.ast-site-footer h3, .ast-site-footer h4,
.footer-widget-area .widget-title {
    color: #fff !important;
}

/* Copyright text */
.ast-small-footer-section-1,
.ast-small-footer-section-2,
.ast-copyright-text {
    color: rgba(255,255,255,.5) !important;
}
