/* V6 client and support page headings */
.dt-help-wrap {
    box-sizing: border-box;
    width: min(100%, 1272px);
    margin-inline: auto;
    padding: clamp(20px, 3vw, 42px) clamp(16px, 3vw, 28px) 48px;
}
.dt-account-banner {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3.5vw, 42px);
    margin: 0 0 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0e2e4e, #124b75);
    color: #fff;
}
.dt-account-copy { min-width: 0; overflow-wrap: anywhere; }
body .dt-account-banner h1 { margin: 0; color: #fff !important; font-family: var(--vn-heading, Manrope, system-ui, sans-serif); font-size: clamp(26px, 3vw, 40px); font-weight: 720; line-height: 1.16; letter-spacing: -.035em; }
body .dt-account-banner p { margin: 9px 0 0; color: #e2edf5 !important; line-height: 1.55; }
.dt-account-copy nav { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: .82rem; color: #e2edf5; }
body .dt-account-copy nav a { color: #caef91 !important; text-decoration: underline; text-underline-offset: .18em; }
.dt-banner-symbol { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 14px; background: #ffffff12; border: 1px solid #ffffff30; color: #b3df70; font-size: 26px; }
.dt-help-code { color: #b3df70; font-weight: 750; font-size: clamp(54px, 8vw, 100px); letter-spacing: -.05em; line-height: 1; }
.dt-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
body .dt-account-banner :is(.dt-help-primary, .dt-help-secondary), body button.dt-account-save {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
    box-sizing: border-box; min-height: 44px; padding: 10px 17px; border-radius: 8px;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
body .dt-account-banner .dt-help-primary { background: #8cc640; color: #102e49 !important; border: 1px solid #8cc640; }
body .dt-account-banner .dt-help-primary:hover { background: #a8d969; }
body .dt-account-banner .dt-help-secondary { background: transparent; border: 1px solid #a0bad0; color: #fff !important; }
body .dt-account-banner .dt-help-secondary:hover { background: #ffffff18; }
body button.dt-account-save { background: #166fa9; color: #fff !important; border: 1px solid #166fa9; }
body button.dt-account-save:hover { background: #105d90; }
body button.dt-account-save i, .dt-account-banner a i { color: inherit !important; }
.dt-account-banner a:focus-visible, .dt-help-card:focus-visible, button.dt-account-save:focus-visible { outline: 3px solid #1877b9; outline-offset: 3px; }
.dt-account-banner a:focus-visible { outline-color: white; }
.dt-help-subtitle { margin: 0 0 14px; font-size: 1.25rem; }
.dt-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 295px), 1fr)); gap: 16px; }
.dt-help-shortcuts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
body a.dt-help-card { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--dt-line); border-radius: 12px; background: var(--dt-surface); text-decoration: none; color: var(--dt-ink); }
body a.dt-help-card:hover, body a.dt-help-card:focus-visible { border-color: #1877b9; }
.dt-help-shortcuts a.dt-help-card { align-items: center; }
.dt-help-card h2 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.dt-help-card p { margin: 5px 0 0; line-height: 1.55; color: var(--dt-muted); }
.dt-help-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: #127d70; background: #e3f4f0; }
.dt-help-card:nth-child(3n+2) .dt-help-icon { color: #4e7a14; background: #eff5e6; }
.dt-help-card:nth-child(3n) .dt-help-icon { color: #1877b9; background: #e7f2fa; }
.dt-help-notice,.dt-help-empty { margin: 0 0 18px; padding: 16px 20px; border: 1px solid var(--dt-line); border-inline-start: 4px solid #17a28a; border-radius: 10px; background: var(--dt-surface); color: var(--dt-ink); }
.dt-help-notice { display: flex; align-items: baseline; gap: 10px; }
.dt-help-notice i { color: var(--dt-accent); }
.dt-help-empty { grid-column: 1/-1; }
@media (max-width: 650px) {
    .dt-account-banner { align-items: flex-start; flex-wrap: wrap; gap: 15px; }
    .dt-banner-symbol { display: none; }
    .dt-account-banner:has(.dt-help-code) { flex-direction: column-reverse; }
    .dt-help-code { font-size: 44px; }
}
/* Account forms share a solid action color across the system and user routes. */
html body[data-dt2026] :is(button.dt-account-save, .sec-page .sec-btn-primary, .dt-account-security .dt-security-button-primary),
html body[data-dt2026] :is(button.dt-account-save, .sec-page .sec-btn-primary, .dt-account-security .dt-security-button-primary) :is(i,span) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body[data-dt2026] button.dt-account-save { background: #166fa9 !important; }
html body[data-dt2026] button.dt-account-save:hover { background: #105d90 !important; }
html body[data-dt2026] .dt-account-banner h1,
html body[data-dt2026] .dt-account-banner p { -webkit-text-fill-color: currentColor !important; }
.dt-banner-stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #ffffff40; border-radius: 10px; }
.dt-banner-stat i { color: #b3df70; }
.dt-banner-stat span, .dt-banner-stat strong { display: block; color: #fff; }
.dt-banner-stat span { font-size: .8rem; }
.dt-funds-alert { padding: 16px 20px; margin-bottom: 24px; border: 1px solid #e4aaaa; border-radius: 10px; background: #fff4f4; color: #89272a; }

#order-standard_cart .dr-container { box-sizing: border-box; max-width: 1256px; padding-inline: clamp(16px, 3vw, 28px); }
#order-standard_cart .dr-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) !important; }
#order-standard_cart .domain-renewals .dr-item { background: var(--dt-surface, white); }
#order-standard_cart .dr-item-top { flex-wrap: wrap; }
#order-standard_cart .dr-sum .dr-sum-dark { background: linear-gradient(135deg,#0e2e4e,#124b75); }
html body[data-dt2026] #order-standard_cart .dr-sum .dr-sum-dark h2 { color: white !important; -webkit-text-fill-color: white !important; }
html body[data-dt2026] #order-standard_cart .dr-page .btn-dr-add { background: #166fa9 !important; color: white !important; -webkit-text-fill-color: white !important; }
html body[data-dt2026] #order-standard_cart .dr-page .btn-dr-cart { background: #8cc640 !important; color: #102e49 !important; -webkit-text-fill-color: #102e49 !important; box-sizing: border-box; }
#order-standard_cart .dr-period-sel:focus-visible, #order-standard_cart .dr-page :is(button,a):focus-visible { outline: 3px solid #1877b9; outline-offset: 2px; }

body[data-dt2026] .transfer-modern-section { display: block !important; padding: clamp(24px,4vw,48px) 0 !important; background: var(--dt-bg,#f5f8fb) !important; }
body[data-dt2026] .transfer-modern-section .container { width: 100%; box-sizing: border-box; padding-inline: clamp(14px,3vw,28px); }
body[data-dt2026] .transfer-modern-section .transfer-card-header { background: linear-gradient(135deg,#0e2e4e,#124b75); }
body[data-dt2026] .transfer-modern-section .header-icon-wrap { background: #ffffff12; color: #b3df70; border: 1px solid #ffffff30; border-radius: 12px; }
html body[data-dt2026] .transfer-modern-section .transfer-card-header :is(.header-title,.header-sub) { color: white !important; -webkit-text-fill-color: white !important; }
body[data-dt2026] .transfer-modern-section .modern-alert.alert-warning { border: 1px solid #a4d7cf; border-inline-start: 4px solid #168370; background: #edfaf7; }
body[data-dt2026] .transfer-modern-section .alert-warning :is(.alert-title,.alert-list) { color: #15584e; opacity: 1; }
body[data-dt2026] .transfer-modern-section .service-highlight-box { border-inline-start: 4px solid #1877b9; background: #eef6fb; }
html body[data-dt2026] .transfer-modern-section :is(.btn-primary,.btn-transfer-sm,.btn-success) { background: #166fa9 !important; color: white !important; -webkit-text-fill-color: white !important; }
body[data-dt2026] .transfer-modern-section .step-circle:not(.success) { background: #e7f2fa; color: #105c8c; border-color: #bedbed; }
@media (max-width: 991px) {
    #order-standard_cart .dr-layout { grid-template-columns: minmax(0,1fr) !important; }
    #order-standard_cart .dr-sum { position: static; }
}

/* Remaining account pages use the original WHMCS page-top markup. */
html body.dt-client[data-dt2026] .page-top:has(h1) {
    box-sizing: border-box; width: 100%; padding: clamp(22px,3.5vw,42px);
    margin-bottom: 24px; border-radius: 16px; border: 0;
    background: linear-gradient(135deg,#0e2e4e,#124b75); flex-wrap: wrap;
}
html body.dt-client[data-dt2026] .page-top h1 {
    color: #fff !important; -webkit-text-fill-color: #fff !important;
    font-size: clamp(26px,3vw,40px); line-height: 1.16; letter-spacing: -.035em;
}
html body.dt-client[data-dt2026] .page-top :is(.breadcrumb,.breadcrumb span,.breadcrumb i, p) {
    color: #e2edf5 !important; -webkit-text-fill-color: currentColor !important;
}
html body.dt-client[data-dt2026] .page-top .breadcrumb a { color: #caef91 !important; }
