/*
 * Druto Onboarding Brand UI 2.5
 * --------------------------------------------------------------------------
 * Purpose: a compatibility layer for this project's mixed Tailwind, DaisyUI,
 * Bootstrap/AdminLTE and custom modern-dashboard styling without editing core.
 *
 * Brand language:
 *   Deep Navy  #021444   Primary Navy #071E4A   Navy Blue #07265C
 *   Gold       #FCBC14   Warm Canvas  #FFFDF7   Pale Gold #FFF9E8
 *
 * Semantic success / warning / danger colors are intentionally preserved.
 */


/* Minimal standalone public reset: public pages no longer load the legacy auth2 CSS/JS stack. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body, button, input, select, textarea {
    font-family: "Anek Bangla", "Noto Sans Bengali", Inter, "Segoe UI", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
a { text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; }

:root {
    --dh-navy-950: #021444;
    --dh-navy-900: #071E4A;
    --dh-navy-850: #062253;
    --dh-navy-800: #07265C;
    --dh-blue-700: #0A377A;

    --dh-gold-400: #FFD65A;
    --dh-gold-500: #FCBC14;
    --dh-gold-600: #ECAF0C;
    --dh-gold-700: #C88C00;

    --dh-canvas: #FFFDF7;
    --dh-canvas-2: #F9FAFC;
    --dh-card: #FFFFFF;
    --dh-card-warm: #FFFEF9;
    --dh-gold-soft: #FFF9E8;
    --dh-gold-soft-2: #FFF4CE;
    --dh-border: #ECE8DE;
    --dh-border-gold: #F0E4BD;

    --dh-text: #071E4A;
    --dh-text-body: #18243A;
    --dh-muted: #6B7891;
    --dh-muted-2: #8B96A8;

    --dh-success: #168A5B;
    --dh-danger: #C93C45;
    --dh-warning: #C78600;

    --dh-radius-sm: 10px;
    --dh-radius: 14px;
    --dh-radius-lg: 18px;
    --dh-radius-xl: 24px;

    --dh-shadow-xs: 0 2px 10px rgba(7, 30, 74, .045);
    --dh-shadow-sm: 0 8px 22px rgba(7, 30, 74, .065);
    --dh-shadow: 0 14px 36px rgba(7, 30, 74, .085);
    --dh-shadow-lg: 0 18px 42px rgba(2, 20, 68, .12);

    --dh-focus: 0 0 0 3px rgba(252, 188, 20, .18);
    --dh-transition: 130ms ease;
}

/* ========================================================================== 
   01. Application canvas / typography
   ========================================================================== */
html,
body {
    background: var(--dh-canvas) !important;
}

body {
    color: var(--dh-text-body);
}

body.tw-bg-gray-100,
main.tw-bg-gray-100,
.content-wrapper,
.right-side {
    background: var(--dh-canvas) !important;
}

#scrollable-container {
    background:
        radial-gradient(circle at 94% 3%, rgba(252, 188, 20, .045), transparent 22%),
        radial-gradient(circle at 7% 92%, rgba(7, 38, 92, .024), transparent 24%),
        linear-gradient(180deg, #FFFDF8 0%, #FAFBFD 54%, #FFFDF8 100%) !important;
}

.content-header {
    padding-top: 18px;
}

.content-header h1,
.content-header h1.tw-text-black,
.content-header h1[class*="tw-text-"],
.page-header,
h1, h2, h3, h4 {
    color: var(--dh-text);
}

.content-header h1 {
    letter-spacing: -.022em;
}

.text-muted,
.help-block,
small.text-muted {
    color: var(--dh-muted) !important;
}

a {
    color: var(--dh-blue-700);
}

a:hover,
a:focus {
    color: var(--dh-navy-900);
}

::selection {
    color: var(--dh-navy-950);
    background: rgba(252, 188, 20, .42);
}

/* ========================================================================== 
   17. Unified marketing registration page
   ========================================================================== */
.dh-register-page {
    width: 100%;
    min-height: calc(100vh - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 48px;
    color: var(--dh-text);
    background:
        radial-gradient(circle at 13% 14%, rgba(252,188,20,.12), transparent 23%),
        radial-gradient(circle at 88% 82%, rgba(10,55,122,.08), transparent 28%),
        linear-gradient(180deg, #FFFDF7, #F8FAFC);
}

.dh-register-shell {
    width: min(1080px, 100%);
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    background: var(--dh-card);
    border: 1px solid var(--dh-border-gold);
    border-radius: 28px;
    box-shadow: 0 28px 74px rgba(7,30,74,.14);
}

.dh-register-story {
    position: relative;
    overflow: hidden;
    padding: 48px 48px 42px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 22%, rgba(252,188,20,.17), transparent 28%),
        linear-gradient(145deg, var(--dh-navy-950), var(--dh-navy-900) 58%, #0A3472);
}

.dh-brand-lockup {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    z-index: 2;
}

.dh-brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--dh-gold-400), var(--dh-gold-500));
    color: var(--dh-navy-950);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(252,188,20,.18);
}

.dh-brand-name {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.dh-brand-tagline {
    margin-top: 2px;
    color: rgba(255,255,255,.63);
    font-size: 12px;
}

.dh-story-copy {
    position: relative;
    z-index: 2;
    margin-top: 76px;
    max-width: 480px;
}

.dh-eyebrow {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--dh-gold-400);
    background: rgba(252,188,20,.10);
    border: 1px solid rgba(252,188,20,.20);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.dh-story-copy h1 {
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(30px, 3.4vw, 45px);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.025em;
}

.dh-story-copy h1 span {
    color: var(--dh-gold-400);
}

.dh-story-copy p {
    max-width: 440px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.8;
}

.dh-benefits {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 13px;
    margin-top: 42px;
}

.dh-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dh-benefit > span {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(252,188,20,.14);
    color: var(--dh-gold-400);
    font-weight: 900;
}

.dh-benefit strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.dh-benefit small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.dh-story-decoration {
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 190px;
    height: 150px;
    opacity: .92;
}

.dh-story-decoration i {
    position: absolute;
    display: block;
    background: var(--dh-gold-500);
    border-radius: 8px 8px 2px 2px;
}

.dh-story-decoration i:nth-child(1) { width:34px; height:68px; left:8px; bottom:0; opacity:.75; }
.dh-story-decoration i:nth-child(2) { width:34px; height:105px; left:52px; bottom:0; opacity:.9; }
.dh-story-decoration i:nth-child(3) { width:34px; height:54px; left:96px; bottom:0; opacity:.6; }
.dh-story-decoration i:nth-child(4) { width:34px; height:132px; left:140px; bottom:0; opacity:.35; }

.dh-register-form-panel {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 188, 20, .055), transparent 30%),
        #FFFFFF;
}

.dh-form-wrap {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 44px 42px;
}

.dh-mobile-brand { display: none; }

.dh-form-head { margin-bottom: 28px; }

.dh-trial-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: #FFF8DF;
    color: #8A6200;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid #FCE9A7;
}

.dh-form-head h2 {
    margin: 11px 0 5px;
    color: var(--dh-text);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.02em;
}

.dh-form-head > p {
    margin: 0;
    color: var(--dh-muted);
    font-size: 13px;
}

.dh-package-note {
    margin-top: 13px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F6F8FC;
    color: var(--dh-text);
    font-size: 12px;
    border: 1px solid var(--dh-border);
}

.dh-package-note small {
    display: block;
    margin-top: 3px;
    color: var(--dh-muted);
}

.dh-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FFF3F3;
    color: #912D35;
    border: 1px solid #F3C9CD;
    font-size: 12px;
}

.dh-alert strong {
    display: block;
    margin-bottom: 4px;
}

.dh-alert ul {
    margin: 0;
    padding-left: 18px;
}

.dh-field { margin-bottom: 17px; }

.dh-field label {
    display: block;
    margin: 0 0 7px;
    color: var(--dh-text);
    font-size: 12px;
    font-weight: 800;
}

.dh-input-wrap { position: relative; }

.dh-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 46px 0 44px !important;
    color: #17243F !important;
    background: #fff !important;
    border: 1px solid #D8DEE8 !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.dh-input-wrap input::placeholder {
    color: #9AA6B8;
    font-weight: 500;
}

.dh-input-wrap input:focus {
    border-color: var(--dh-gold-500) !important;
    box-shadow: 0 0 0 4px rgba(252,188,20,.14) !important;
}

.dh-input-icon {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #74839A;
    pointer-events: none;
}

.dh-input-icon svg,
.dh-password-toggle svg,
.dh-submit svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dh-password-toggle {
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    padding: 7px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #8490A4;
    cursor: pointer;
}

.dh-password-toggle:hover {
    background: #F4F6F9;
    color: var(--dh-navy-900);
}

.dh-username-state {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 900;
}

.dh-username-state.is-ok { color: var(--dh-success); }
.dh-username-state.is-bad { color: var(--dh-danger); }
.dh-recaptcha { margin: 4px 0 16px; overflow-x: auto; }

.dh-submit {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 7px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    background: var(--dh-gold-500) !important;
    background-image: linear-gradient(135deg, #FFD65A, var(--dh-gold-500)) !important;
    color: var(--dh-navy-950) !important;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(252,188,20,.24);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.dh-submit svg {
    width: 19px;
    height: 19px;
    transition: transform .16s ease;
}

.dh-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(252,188,20,.30);
    background: #F3B40E !important;
}

.dh-submit:hover svg { transform: translateX(3px); }
.dh-submit:disabled { cursor: wait; opacity: .78; transform: none; }

.dh-auto-defaults {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.dh-auto-defaults span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #FFFDF7;
    color: #6C7890;
    border: 1px solid #EEE7D6;
    font-size: 10px;
    font-weight: 700;
}

.dh-terms {
    margin: 13px 0 0;
    text-align: center;
    color: #98A2B2;
    font-size: 10px;
    line-height: 1.55;
}

.dh-login-link {
    margin: 19px 0 0;
    text-align: center;
    color: #748198;
    font-size: 12px;
}

.dh-login-link a {
    color: var(--dh-navy-900);
    font-weight: 900;
}

/* Neutralize auth2's original oversized spacing around this custom surface. */
.dh-register-route .right-col {
    padding: 0 !important;
}

.dh-register-route .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.dh-register-route .eq-height-row {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 900px) {
    .dh-register-page {
        padding: 18px 12px 30px;
    }

    .dh-register-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 560px;
        border-radius: 22px;
    }

    .dh-register-story { display: none; }

    .dh-form-wrap {
        max-width: 100%;
        padding: 34px 28px 30px;
    }

    .dh-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 27px;
        color: var(--dh-text);
    }

    .dh-mobile-brand .dh-brand-mark {
        width: 43px;
        height: 43px;
        border-radius: 13px;
        font-size: 16px;
    }

    .dh-mobile-brand strong { font-size: 16px; }
}

@media (max-width: 480px) {
    .dh-register-page {
        align-items: flex-start;
        padding: 8px 7px 20px;
    }

    .dh-register-shell {
        border-radius: 17px;
        box-shadow: 0 15px 42px rgba(7,30,74,.11);
    }

    .dh-form-wrap { padding: 26px 19px 24px; }
    .dh-form-head h2 { font-size: 23px; }
    .dh-input-wrap input { height: 50px; }
    .dh-submit { height: 52px; }
}

/* ========================================================================== 
   18. Marketing login page experience
   ========================================================================== */
body.dh-login-route .tw-absolute a.tw-text-white,
body.dh-register-route .tw-absolute a.tw-text-white,
html.dh-login-route .tw-absolute a.tw-text-white,
html.dh-register-route .tw-absolute a.tw-text-white {
    color: rgba(255,255,255,.92) !important;
}

body.dh-login-route .tw-absolute .tw-border-white,
body.dh-register-route .tw-absolute .tw-border-white,
html.dh-login-route .tw-absolute .tw-border-white,
html.dh-register-route .tw-absolute .tw-border-white {
    border-color: rgba(255,255,255,.45) !important;
    background: rgba(255,255,255,.10) !important;
}

.dh-login-page {
    width: 100%;
    min-height: calc(100vh - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 48px;
    color: var(--dh-text);
    background:
        radial-gradient(circle at 14% 16%, rgba(252,188,20,.11), transparent 24%),
        radial-gradient(circle at 88% 82%, rgba(10,55,122,.06), transparent 26%),
        linear-gradient(180deg, #FFFDF7, #F8FAFC);
}

.dh-login-shell {
    width: min(1080px, 100%);
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    overflow: hidden;
    background: var(--dh-card);
    border: 1px solid var(--dh-border-gold);
    border-radius: 28px;
    box-shadow: 0 24px 62px rgba(7,30,74,.13);
}

.dh-login-story {
    position: relative;
    overflow: hidden;
    padding: 46px 48px 40px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 22%, rgba(252,188,20,.16), transparent 30%),
        linear-gradient(145deg, var(--dh-navy-950), var(--dh-navy-900) 58%, #0A3472);
}

.dh-login-story-copy {
    margin-top: 72px;
}

.dh-login-story-copy p {
    max-width: 460px;
}

.dh-login-benefits {
    margin-top: 38px;
}

.dh-login-form-panel {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 188, 20, .05), transparent 30%),
        linear-gradient(180deg, #FFFFFF, #FFFEFA);
}

.dh-login-wrap {
    max-width: 460px;
}

.dh-login-head {
    margin-bottom: 24px;
}

.dh-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.dh-label-row label {
    margin-bottom: 0;
}

.dh-forgot-link {
    color: var(--dh-muted) !important;
    font-size: 11px;
    font-weight: 700;
}

.dh-forgot-link:hover,
.dh-forgot-link:focus {
    color: var(--dh-navy-900) !important;
}

.dh-remember-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 3px 0 14px;
    cursor: pointer;
    user-select: none;
}

.dh-remember-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--dh-gold-500);
}

.dh-remember-row span {
    color: var(--dh-text-body);
    font-size: 13px;
    font-weight: 700;
}

.dh-submit-navy {
    background: linear-gradient(135deg, var(--dh-navy-900), var(--dh-navy-800)) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(7,30,74,.19);
}

.dh-submit-navy:hover {
    background: linear-gradient(135deg, #08235A, #0A3472) !important;
    box-shadow: 0 16px 28px rgba(7,30,74,.24);
}

.dh-submit-navy.is-loading {
    opacity: .9;
}

.dh-login-link-alt {
    margin-top: 18px;
}

.dh-login-link-alt a {
    color: var(--dh-blue-700);
}

.dh-demo-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--dh-border-gold);
}

.dh-demo-block > strong {
    display: block;
    margin-bottom: 11px;
    color: var(--dh-text);
    font-size: 12px;
}

.dh-demo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-demo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: var(--dh-navy-900) !important;
    background: #FFF8DF;
    border: 1px solid #FCE9A7;
}

.dh-demo-chip:hover {
    background: #FFF1BF;
    color: var(--dh-navy-950) !important;
}

@media (max-width: 900px) {
    .dh-login-page {
        padding: 18px 12px 30px;
    }

    .dh-login-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 560px;
        border-radius: 22px;
    }

    .dh-login-story { display: none; }
}

@media (max-width: 480px) {
    .dh-login-page {
        align-items: flex-start;
        padding: 8px 7px 20px;
    }

    .dh-login-shell {
        border-radius: 17px;
        box-shadow: 0 15px 42px rgba(7,30,74,.11);
    }
}

/* ========================================================================== 
   20. Branded public welcome page
   ========================================================================== */
html.dh-welcome-route,
html.dh-welcome-route body,
body.dh-welcome-route {
    min-height: 100%;
    background: var(--dh-canvas) !important;
}

html.dh-welcome-route .right-col,
body.dh-welcome-route .right-col {
    padding: 0 !important;
}

html.dh-welcome-route .right-col > .row:first-child,
body.dh-welcome-route .right-col > .row:first-child {
    display: none !important;
}

html.dh-welcome-route .container-fluid,
html.dh-welcome-route .eq-height-row,
body.dh-welcome-route .container-fluid,
body.dh-welcome-route .eq-height-row {
    margin: 0 !important;
    padding: 0 !important;
}

.dh-welcome-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background:
        linear-gradient(135deg, rgba(252,188,20,.055), transparent 36%),
        linear-gradient(180deg, #FFFDF7 0%, #F8FAFC 100%);
}

.dh-welcome-shell {
    width: min(1180px, 100%);
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    overflow: hidden;
    border: 1px solid var(--dh-border-gold);
    border-radius: 30px;
    background: #FFFFFF;
    box-shadow: 0 24px 64px rgba(7,30,74,.13);
}

.dh-welcome-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 48px 52px 44px;
    color: #FFFFFF;
    background: linear-gradient(145deg, var(--dh-navy-950) 0%, var(--dh-navy-900) 58%, #0A3472 100%);
}

.dh-welcome-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -150px;
    top: -120px;
    border-radius: 50%;
    background: rgba(252,188,20,.11);
    pointer-events: none;
}

.dh-welcome-brand,
.dh-welcome-copy {
    position: relative;
    z-index: 2;
}

.dh-welcome-copy {
    margin-top: 84px;
    max-width: 535px;
}

.dh-welcome-copy h1 {
    margin: 17px 0 18px;
    color: #FFFFFF;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}

.dh-welcome-copy h1 span {
    color: var(--dh-gold-400);
}

.dh-welcome-copy > p {
    max-width: 500px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.85;
}

.dh-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 30px;
}

.dh-welcome-primary,
.dh-welcome-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.dh-welcome-primary {
    color: var(--dh-navy-950) !important;
    background: linear-gradient(135deg, #FFE17A, var(--dh-gold-500));
    border: 1px solid rgba(255,225,122,.8);
}

.dh-welcome-primary:hover {
    color: var(--dh-navy-950) !important;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #FFE99B, #FFC321);
}

.dh-welcome-primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dh-welcome-secondary {
    color: #FFFFFF !important;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.18);
}

.dh-welcome-secondary:hover {
    color: #FFFFFF !important;
    background: rgba(255,255,255,.12);
    border-color: rgba(252,188,20,.36);
}

.dh-welcome-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 30px;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 700;
}

.dh-welcome-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-welcome-trust i {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--dh-gold-400);
    background: rgba(252,188,20,.11);
    font-style: normal;
}

.dh-welcome-bars {
    position: absolute;
    right: 32px;
    bottom: -4px;
    width: 180px;
    height: 135px;
    opacity: .72;
}

.dh-welcome-bars i {
    position: absolute;
    bottom: 0;
    width: 30px;
    border-radius: 8px 8px 0 0;
    background: var(--dh-gold-500);
}

.dh-welcome-bars i:nth-child(1) { height: 48px; left: 0; opacity: .55; }
.dh-welcome-bars i:nth-child(2) { height: 80px; left: 42px; opacity: .72; }
.dh-welcome-bars i:nth-child(3) { height: 112px; left: 84px; opacity: .9; }
.dh-welcome-bars i:nth-child(4) { height: 67px; left: 126px; opacity: .46; }

.dh-welcome-showcase {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 46px 44px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFEF9 100%);
}

.dh-showcase-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    top: -135px;
    right: -100px;
    border-radius: 50%;
    background: rgba(252,188,20,.085);
    pointer-events: none;
}

.dh-showcase-head {
    position: relative;
    z-index: 1;
}

.dh-showcase-head h2 {
    margin: 12px 0 8px;
    color: var(--dh-text);
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: -.025em;
}

.dh-showcase-head p {
    margin: 0;
    color: var(--dh-muted);
    font-size: 13px;
    line-height: 1.7;
}

.dh-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.dh-feature-card {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--dh-border);
    border-radius: 15px;
    background: #FFFFFF;
    box-shadow: 0 5px 16px rgba(7,30,74,.045);
}

.dh-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--dh-navy-900);
    background: var(--dh-gold-soft);
    border: 1px solid #F4E5B4;
}

.dh-feature-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dh-feature-card strong,
.dh-feature-card small {
    display: block;
}

.dh-feature-card strong {
    color: var(--dh-text);
    font-size: 12px;
    font-weight: 900;
}

.dh-feature-card small {
    margin-top: 3px;
    color: var(--dh-muted);
    font-size: 10px;
    line-height: 1.4;
}

.dh-showcase-panel {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--dh-border-gold);
    border-radius: 16px;
    background: #FFFFFF;
}

.dh-showcase-panel-top {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: var(--dh-muted);
    background: #FFF9E8;
    border-bottom: 1px solid var(--dh-border-gold);
}

.dh-showcase-panel-top > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D9C994;
}

.dh-showcase-panel-top > span:nth-child(2) { opacity: .7; }
.dh-showcase-panel-top > span:nth-child(3) { opacity: .45; }

.dh-showcase-panel-top strong {
    margin-left: 5px;
    color: var(--dh-text);
    font-size: 10px;
}

.dh-mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 13px;
}

.dh-mini-metrics > div {
    min-height: 70px;
    padding: 10px;
    border-radius: 11px;
    background: #FBFCFE;
    border: 1px solid #EEF0F4;
}

.dh-mini-metrics small,
.dh-mini-metrics strong {
    display: block;
}

.dh-mini-metrics small {
    color: var(--dh-muted);
    font-size: 9px;
    font-weight: 700;
}

.dh-mini-metrics strong {
    margin-top: 4px;
    color: var(--dh-text);
    font-size: 16px;
}

.dh-mini-metrics i {
    display: block;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dh-gold-500) 0 42%, #ECEFF4 42% 100%);
}

@media (max-width: 900px) {
    .dh-welcome-page { padding: 12px; }
    .dh-welcome-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        max-width: 650px;
        border-radius: 22px;
    }
    .dh-welcome-hero { padding: 36px 30px 34px; }
    .dh-welcome-copy { margin-top: 48px; }
    .dh-welcome-bars { display: none; }
    .dh-welcome-showcase { padding: 34px 30px; }
}

@media (max-width: 520px) {
    .dh-welcome-page { padding: 6px; align-items: flex-start; }
    .dh-welcome-shell { border-radius: 16px; }
    .dh-welcome-hero { padding: 28px 20px 28px; }
    .dh-welcome-copy { margin-top: 38px; }
    .dh-welcome-copy h1 { font-size: 31px; }
    .dh-welcome-actions { align-items: stretch; }
    .dh-welcome-primary,
    .dh-welcome-secondary { width: 100%; }
    .dh-welcome-showcase { padding: 28px 20px; }
    .dh-feature-grid { grid-template-columns: 1fr; }
}


/* ========================================================================== 
   21. Public brand mark + Welcome account header
   ========================================================================== */
.dh-brand-mark.has-image {
    padding: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.98);
}

.dh-brand-mark.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.dh-welcome-topbar {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dh-welcome-brand {
    color: inherit !important;
    text-decoration: none !important;
}

.dh-welcome-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.dh-welcome-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 850;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.dh-welcome-nav-signup {
    color: var(--dh-navy-950) !important;
    background: linear-gradient(135deg, #FFE17A, var(--dh-gold-500));
    border: 1px solid rgba(255,224,112,.72);
}

.dh-welcome-nav-signup:hover {
    color: var(--dh-navy-950) !important;
    background: #FFD65A;
}

.dh-welcome-nav-login {
    color: #FFFFFF !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.20);
}

.dh-welcome-nav-login:hover {
    color: #FFFFFF !important;
    background: rgba(252,188,20,.12);
    border-color: rgba(252,188,20,.38);
}

.dh-welcome-nav-dashboard {
    color: var(--dh-navy-950) !important;
    background: linear-gradient(135deg, #FFFFFF, #FFF3C8);
    border: 1px solid rgba(252,188,20,.58);
}

.dh-welcome-nav-dashboard svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 620px) {
    .dh-welcome-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .dh-welcome-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .dh-welcome-nav a {
        flex: 1 1 auto;
    }
}

.dh-brand-wordmark.has-image {
    display: flex;
    align-items: center;
    min-width: 0;
}

.dh-brand-wordmark.has-image img {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 520px) {
    .dh-brand-wordmark.has-image img {
        max-width: 165px;
        max-height: 44px;
    }
}

/* v2.5.1: optional field marker */
.dh-optional-label {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #7C6A32;
    background: #FFF8DF;
    border: 1px solid #F5E4A7;
    font-size: 9px;
    font-weight: 800;
    vertical-align: middle;
}
