/* Kop en voettekst zoals op digi.hosting (gegevens uit WordPress, zie includes/site-header.tpl en site-footer.tpl). */

/* Donkere band bovenaan: topbalk, glazen kop, (ingelogd) klantenmenu en de paginatitel */
.dhs-top { position: relative; z-index: 20; isolation: isolate; color: #fff;
    background: radial-gradient(620px 420px at 88% -10%, rgba(251, 0, 148, .35), transparent 70%), radial-gradient(560px 420px at 8% 120%, rgba(58, 28, 255, .38), transparent 70%), var(--dh-hero); }
.dhs-top .dh-hero { background: transparent; color: #fff; padding: 34px 0 86px; }
.dhs-top .dh-hero-title { color: #fff !important; }
.dhs-top .dh-hero .breadcrumb-item, .dhs-top .dh-hero .breadcrumb-item a { color: rgba(255, 255, 255, .6); }
.dhs-top .dh-hero .breadcrumb-item a:hover, .dhs-top .dh-hero .breadcrumb-item.active { color: #fff; }
.dhs-top .dh-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }
.dh-page-login .dhs-top, .dh-page-password-reset-container .dhs-top { padding-bottom: 26px; }

/* Topbalk */
.dhs-topbar { background: #000; font-size: 14px; }
.dhs-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.dhs-topbar-note { margin: 0; color: rgba(255, 255, 255, .85); }
.dhs-topbar-note i { margin-right: 6px; color: #3ddc97; }
.dhs-topbar-links { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dhs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px; border: 0; background: rgba(255, 255, 255, .12); color: #fff !important; font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.dhs-pill:hover { background: rgba(255, 255, 255, .2); }
.dhs-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .25); }
.dhs-lang .iti-flag { margin-right: 2px; }
.dhs-cart { position: relative; color: #fff !important; font-size: 16px; padding: 4px 6px; }
.dhs-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--dh-g1); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }

/* Glazen kop */
.dhs-header { position: sticky; top: 0; z-index: 1030; padding: 14px 0 0; }
.dhs-headbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 24px; border-radius: 100px;
    background: rgba(14, 10, 28, .62); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.dhs-header.is-stuck .dhs-headbar { background: rgba(14, 10, 28, .9); }
.dhs-logo img { display: block; width: 140px; height: auto; }
.dhs-actions { display: flex; align-items: center; gap: 8px; }
.dhs-btn { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; font-size: 14.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; }
.dhs-btn.is-primary { border: 0; background: var(--dh-gradient); box-shadow: 0 10px 26px rgba(107, 76, 255, .45); }
.dhs-round { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff !important; cursor: pointer; }
.dhs-round:hover { background: rgba(255, 255, 255, .14); }
.dhs-round .dhs-count { top: -4px; right: -4px; }
.dhs-account > .nav-item > .nav-link { color: #fff !important; font-weight: 700; padding: 10px 14px; border-radius: 100px; }
.dhs-account > .nav-item > .nav-link:hover { background: rgba(255, 255, 255, .1); }
.dhs-account .dropdown-menu { border-radius: 18px; border: 1px solid var(--dh-line); box-shadow: 0 24px 60px rgba(10, 20, 58, .22); padding: 8px; }

/* Mega-menu */
.dhs-mega { flex: 1; display: flex; justify-content: center; }
.dhs-mega-top { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.dhs-mega-item { position: relative; }
.dhs-mega-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; border: 0; background: none; color: #fff !important; font: inherit; font-size: 16.5px; font-weight: 600; text-decoration: none !important; cursor: pointer; transition: background .2s; }
.dhs-mega-link:hover, .dhs-mega-item.is-open > .dhs-mega-link { background: rgba(255, 255, 255, .1); }
.dhs-mega-link i { font-size: 11px; transition: transform .25s; }
.dhs-mega-item.is-open > .dhs-mega-link i { transform: rotate(180deg); }
.dhs-mega-panel { position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 8px); min-width: 560px; padding: 14px; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(10, 20, 58, .28);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.dhs-mega-panel::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.dhs-mega-item.is-open > .dhs-mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dhs-mega-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dhs-mega-panel a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; color: #0A0A0F !important; text-decoration: none !important; transition: background .15s; }
.dhs-mega-panel a:hover { background: #F5F6FA; }
.dhs-mega-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--dh-gradient); color: #fff; font-size: 16px; }
.dhs-mega-panel b { display: block; font-weight: 800; font-size: 15px; }
.dhs-mega-panel small { display: block; color: #5D6276; font-size: 13px; line-height: 1.4; margin-top: 2px; }
.dhs-mega-extra { display: none; }
.dhs-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; padding: 13px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.dhs-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: .25s; }

/* Ingelogd: klantenmenu als tweede rij */
.dhs-clientnav { padding: 14px 0 0; }
.dhs-clientnav .navbar-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
.dhs-clientnav .nav-link { color: rgba(255, 255, 255, .78) !important; font-weight: 700; padding: 8px 14px !important; border-radius: 100px; }
.dhs-clientnav .nav-link:hover, .dhs-clientnav .active > .nav-link, .dhs-clientnav .nav-item.show > .nav-link { color: #fff !important; background: rgba(255, 255, 255, .12); }
.dhs-clientnav .dropdown-menu { border-radius: 18px; border: 1px solid var(--dh-line); box-shadow: 0 24px 60px rgba(10, 20, 58, .22); padding: 8px; }

/* Voettekst */
.dhs-footer { position: relative; margin-top: 40px; padding: 72px 0 30px; background: var(--dh-hero); color: rgba(255, 255, 255, .75); border-radius: 36px 36px 0 0; overflow: hidden; }
.dhs-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--dh-gradient); }
.dhs-footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.dhs-footer-brand { flex: 1.4 1 260px; }
.dhs-footer-col { flex: 1 1 160px; }
.dhs-footer h3 { color: #fff; font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.dhs-footer-col h3 ~ h3 { margin-top: 22px; }
.dhs-footer ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.dhs-footer a { color: rgba(255, 255, 255, .72) !important; text-decoration: none !important; font-size: 15px; }
.dhs-footer a:hover { color: #fff !important; }
.dhs-footer-about { font-size: 15px; line-height: 1.6; margin: 16px 0 12px; }
.dhs-footer-trust { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.dhs-footer-trust img { height: 22px; width: auto; }
.dhs-footer-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 26px 0 20px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.dhs-footer-pay img { height: 38px; width: auto; padding: 7px 10px; border-radius: 10px; background: #fff; object-fit: contain; }
.dhs-footer-legal { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .5); margin: 0; }

/* Smaller scherm: menu schuift in van rechts */
@media (max-width: 1100px) {
    .dhs-actions .dhs-btn { display: none; }
    .dhs-burger { display: flex; }
    .dhs-mega { position: fixed; inset: 0 0 0 auto; width: min(420px, 90vw); flex-direction: column; justify-content: flex-start; padding: 90px 22px 30px; background: #0b0b10; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 1040; }
    body.dhs-menu-open .dhs-mega { transform: none; visibility: visible; }
    /* Glaseffect op een pseudo-element: backdrop-filter op de balk zelf maakt van het vaste menu een kind van de balk */
    .dhs-headbar { position: relative; isolation: isolate; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
    .dhs-headbar::before { content: ''; position: absolute; inset: 0; border-radius: inherit; -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); z-index: -1; }
    .dhs-mega { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
    body.dhs-menu-open .dhs-mega { transition: transform .3s ease; }
    body.dhs-menu-open .dhs-top { z-index: 1050; }
    body.dhs-menu-open .dhs-header .dhs-burger { position: fixed !important; top: 22px; right: 20px; z-index: 1060; }
    body.dhs-menu-open { overflow: hidden; }
    body.dhs-menu-open .dhs-burger { position: relative; z-index: 1050; }
    body.dhs-menu-open .dhs-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.dhs-menu-open .dhs-burger span:nth-child(2) { opacity: 0; }
    body.dhs-menu-open .dhs-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .dhs-mega-top { flex-direction: column; gap: 2px; }
    .dhs-mega-link { width: 100%; justify-content: space-between; font-size: 19px; }
    .dhs-mega-panel { position: static; transform: none !important; min-width: 0; padding: 4px 0 10px; background: transparent; box-shadow: none; display: none; opacity: 1; visibility: visible; }
    .dhs-mega-item.is-open > .dhs-mega-panel { display: block; }
    .dhs-mega-panel ul { grid-template-columns: 1fr; }
    .dhs-mega-panel a { color: #fff !important; }
    .dhs-mega-panel a:hover { background: rgba(255, 255, 255, .06); }
    .dhs-mega-panel small { color: rgba(255, 255, 255, .6); }
    .dhs-mega-extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
    .dhs-mega-extra > a { flex: 1; text-align: center; padding: 13px; border-radius: 100px; font-weight: 800; text-decoration: none !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); }
    .dhs-mega-extra > a.is-primary { background: var(--dh-gradient); border: 0; }
    .dhs-mobile-client { width: 100%; }
    .dhs-mobile-client .nav-link { color: #fff !important; font-size: 17px; font-weight: 700; padding: 10px 6px !important; }
    .dhs-clientnav { display: none; }
    .dhs-footer-brand { flex-basis: 100%; }
}
@media (max-width: 600px) {
    .dhs-topbar-note { display: none; }
    .dhs-headbar { padding: 8px 8px 8px 18px; }
    .dhs-logo img { width: 118px; }
    .dhs-account .nav-link span, .dhs-account .nav-link .fa-chevron-down { display: none; }
    .dhs-footer { padding: 54px 0 26px; border-radius: 28px 28px 0 0; }
    .dhs-footer-cols { gap: 26px; }
    .dhs-footer-col { flex-basis: 100%; }
}

/* Donker thema van de klantenzone: kop en voettekst zijn al donker; het mega-paneel volgt */
html[data-theme="dark"] .dhs-mega-panel { background: #14141B; }
html[data-theme="dark"] .dhs-mega-panel a { color: #F4F5F8 !important; }
html[data-theme="dark"] .dhs-mega-panel a:hover { background: rgba(255, 255, 255, .06); }

/* Menu's van WHMCS (navbar.tpl): links zonder .nav-link-klasse. Wit op de donkere band, dropdowns boven de inhoud. */
.dhs-account > li > a, .dhs-clientnav .navbar-nav > li > a, .dhs-mobile-client > li > a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85) !important; font-weight: 700; padding: 8px 14px !important; border-radius: 100px; text-decoration: none !important; white-space: nowrap; }
.dhs-account > li > a { color: #fff !important; padding: 10px 14px !important; }
.dhs-account > li > a:hover, .dhs-clientnav .navbar-nav > li > a:hover, .dhs-clientnav .navbar-nav > li.show > a, .dhs-clientnav .navbar-nav > li.active > a { color: #fff !important; background: rgba(255, 255, 255, .12); }
.dhs-clientnav .navbar-nav > li > a.pr-4 { padding-right: 14px !important; }
.dhs-account .dropdown-menu, .dhs-clientnav .dropdown-menu { z-index: 1100; border-radius: 18px; border: 1px solid var(--dh-line); box-shadow: 0 24px 60px rgba(10, 20, 58, .22); padding: 8px; min-width: 230px; }
.dhs-account .dropdown-menu li.dropdown-item, .dhs-clientnav .dropdown-menu li.dropdown-item { padding: 0; background: none; }
.dhs-account .dropdown-menu a.dropdown-item, .dhs-clientnav .dropdown-menu a.dropdown-item { display: block; padding: 9px 12px !important; border-radius: 12px; font-weight: 600; color: var(--dh-ink) !important; }
.dhs-account .dropdown-menu a.dropdown-item:hover, .dhs-clientnav .dropdown-menu a.dropdown-item:hover { background: var(--dh-bg, #f5f6fa); }
@media (max-width: 1100px) {
    .dhs-mobile-client > li > a { color: #fff !important; font-size: 17px; padding: 10px 6px !important; }
    .dhs-account > li > a { font-size: 0; padding: 10px !important; }
    .dhs-account > li > a::before { content: '\f007'; font: 900 16px 'Font Awesome 6 Pro', 'Font Awesome 5 Pro'; }
}

/* Menu van WHMCS in de glazen balk (vervangt het mega-menu van de website) */
.dhs-nav { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dhs-nav > li { position: relative; }
.dhs-nav > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px !important; border-radius: 100px; color: #fff !important; font-size: 15.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background .2s; }
.dhs-nav > li > a:hover, .dhs-nav > li.show > a, .dhs-nav > li.active > a { background: rgba(255, 255, 255, .1); }
.dhs-nav > li > a.dropdown-toggle::after { margin-left: 2px; opacity: .7; }
.dhs-nav .dropdown-menu { z-index: 1100; margin-top: 10px; border-radius: 18px; border: 1px solid var(--dh-line); box-shadow: 0 24px 60px rgba(10, 20, 58, .22); padding: 8px; min-width: 230px; }
.dhs-nav .dropdown-menu li.dropdown-item { padding: 0; background: none; }
.dhs-nav .dropdown-menu a.dropdown-item { display: block; padding: 9px 12px !important; border-radius: 12px; font-weight: 600; color: var(--dh-ink) !important; }
.dhs-nav .dropdown-menu a.dropdown-item:hover { background: var(--dh-bg, #f5f6fa); }
.dhs-nav .badge { margin-left: 4px; }

/* Grote knop "Ticket openen" */
.dhs-ticket { gap: 8px; text-transform: none; letter-spacing: 0; font-size: 15px; padding: 11px 20px; }
.dhs-ticket i { font-size: 15px; }
.dhs-login { text-transform: none; letter-spacing: 0; font-size: 15px; }
@media (max-width: 1240px) {
    .dhs-ticket span { display: none; }
    .dhs-ticket { padding: 0; width: 44px; height: 44px; justify-content: center; }
    .dhs-nav > li > a { padding: 9px 11px !important; font-size: 15px; }
}
@media (max-width: 1100px) {
    .dhs-actions .dhs-btn.dhs-ticket { display: inline-flex; }
    .dhs-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
    .dhs-nav > li > a { width: 100%; justify-content: space-between; font-size: 19px; padding: 12px 6px !important; }
    .dhs-nav .dropdown-menu { position: static !important; transform: none !important; float: none; margin: 0 0 8px; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 10px; }
    .dhs-nav .dropdown-menu a.dropdown-item { color: rgba(255, 255, 255, .8) !important; font-size: 16px; }
    .dhs-nav .dropdown-menu a.dropdown-item:hover { background: rgba(255, 255, 255, .06); }
    .dhs-nav .dropdown-divider { border-color: rgba(255, 255, 255, .1); }
    .dhs-mega-extra > a i { margin-right: 6px; }
}
@media (max-width: 600px) {
    /* Smalle gsm: ticketknop staat in het uitschuifmenu */
    .dhs-actions .dhs-btn.dhs-ticket { display: none; }
    .dhs-actions { gap: 6px; }
}

/* Kop blijft altijd binnen de glazen balk: menu mag krimpen, lange accountnaam wordt afgekort */
.dhs-headbar { min-width: 0; }
.dhs-mega { min-width: 0; }
.dhs-account > li > a { max-width: 190px; }
.dhs-account > li > a.dropdown-toggle { overflow: hidden; text-overflow: ellipsis; }
.dhs-account > li > a.dropdown-toggle::after { flex: none; }

/* Accountknop: avatar met initialen + voornaam; volledige naam bovenaan het uitklapmenu */
.dhs-account > li > a { gap: 10px; padding: 5px 14px 5px 5px !important; }
.dhs-account .dhs-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dh-gradient); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.dhs-account .dhs-acc-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.dhs-account #Secondary_Navbar-Account-dht_account_who a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 12px !important; margin-bottom: 6px; border-bottom: 1px solid var(--dh-line); border-radius: 12px 12px 0 0; white-space: normal; }
.dhs-account #Secondary_Navbar-Account-dht_account_who small { color: var(--dh-muted, #8a8fa3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) {
    .dhs-account > li > a { font-size: inherit; padding: 4px !important; }
    .dhs-account > li > a::before { content: none; }
    .dhs-account .dhs-acc-name, .dhs-account > li > a.dropdown-toggle::after { display: none; }
}

/* Bovenbalk: links zien er duidelijk klikbaar uit (rand, pijltje, oplichten bij aanwijzen) */
.dhs-topbar-links a.dhs-pill { border: 1px solid rgba(255, 255, 255, .22); transition: background .2s, border-color .2s, transform .2s; }
.dhs-topbar-links a.dhs-pill::after { content: "›"; font-size: 16px; line-height: 1; opacity: .75; margin-left: -2px; transition: transform .2s, opacity .2s; }
.dhs-topbar-links a.dhs-pill[target="_blank"]::after { content: "↗"; font-size: 12px; }
.dhs-topbar-links a.dhs-pill:hover, .dhs-topbar-links a.dhs-pill:focus-visible { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); transform: translateY(-1px); }
.dhs-topbar-links a.dhs-pill:hover::after { opacity: 1; transform: translateX(2px); }
.dhs-topbar-links a.dhs-pill[target="_blank"]:hover::after { transform: translate(2px, -2px); }
.dhs-topbar-links a.dhs-pill:focus-visible { outline: 2px solid #ff7ac6; outline-offset: 2px; }

/* Digi Pulse: kleur van het statusbolletje */
.dh-pulse-degraded .dh-dot { background: #f59e0b !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25) !important; }
.dh-pulse-outage .dh-dot { background: #e11d48 !important; box-shadow: 0 0 0 3px rgba(225, 29, 72, .28) !important; animation: dhPulseBeat 1.4s ease-in-out infinite; }
.dh-pulse-maintenance .dh-dot { background: #6b4cff !important; box-shadow: 0 0 0 3px rgba(107, 76, 255, .28) !important; }
@keyframes dhPulseBeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }
