/* =========================================================
   DENTITECH — Brand Stylesheet
   Dark blue #1c2e64 | Tiffany #0dd8c7 | Open Sans Light 300
   ========================================================= */
:root {
    --dt-navy:    #1c2e64;
    --dt-navy-2:  #14224e;   /* darker shade for depth */
    --dt-tiffany: #0dd8c7;
    --dt-light:   #f4f7fb;
    --dt-white:   #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: var(--dt-navy);
    background: var(--dt-white);
}

h1, h2, h3, h4 { font-weight: 300; letter-spacing: .02em; }

/* ---------- TOP UTILITY BAR ---------- */
.dt-topbar {
    background: var(--dt-navy-2);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    position: relative;
    z-index: 1035;
}
.dt-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
    padding: .3rem 0;
}
.dt-topbar-left,
.dt-topbar-right {
    display: flex;
    align-items: center;
    gap: .35rem;
}
.dt-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    padding: .35rem .55rem;
    border-radius: .35rem;
    transition: color .2s ease, background .2s ease;
}
.dt-topbar-link:hover { color: var(--dt-tiffany); }
.dt-topbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    border-radius: .35rem;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.dt-topbar-icon:hover {
    color: var(--dt-tiffany);
    background: rgba(255, 255, 255, .08);
}
.dt-topbar .dt-portal-btn {
    padding: .35rem .9rem;
    font-size: .85rem;
    color: var(--dt-white);
    background: rgba(13, 216, 199, .18);
    border-color: rgba(13, 216, 199, .55);
}
.dt-topbar .dt-portal-btn:hover {
    background: var(--dt-tiffany);
    color: var(--dt-navy);
}
.dt-topbar .dt-portal-btn i { font-size: 1rem; }
.dt-topbar .dropdown-menu { z-index: 1080; }

/* ---------- NAVBAR ---------- */
.dt-navbar {
    background: var(--dt-white);
    box-shadow: 0 2px 12px rgba(28, 46, 100, .08);
    padding: .6rem 0;
}
.dt-navbar .nav-link {
    color: var(--dt-navy);
    font-weight: 400;
    margin-left: .75rem;
    padding: .4rem .9rem !important;
    transition: all .25s ease;
}
.dt-navbar .nav-link:hover { color: var(--dt-tiffany); }
.dt-navbar .nav-link.active {
    background: rgba(13, 216, 199, .12);
    color: var(--dt-navy);
    border-radius: .25rem;
}

/* ---------- PRODUCTS MEGA MENU ---------- */
.dt-mega-menu {
    border: 0;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 24px 48px rgba(28, 46, 100, .18);
    padding: 1.75rem 0 1.25rem;
    background: var(--dt-white);
    margin-top: .35rem;
}

/* Full-width panel on large screens */
@media (min-width: 992px) {
    .dt-mega .dt-mega-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
    .dt-mega-menu {
        animation: dtMegaFade .18s ease;
    }
}

@keyframes dtMegaFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dt-mega-col { padding: .25rem .5rem; }

.dt-section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}
.dt-section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dt-tiffany);
    margin-bottom: .75rem;
    position: relative;
    padding-left: 2.25rem;
}
.dt-section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.75rem;
    height: 2px;
    background: var(--dt-tiffany);
    transform: translateY(-50%);
}

.dt-section-title {
    position: relative;
    text-align: center;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--dt-navy);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}
.dt-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    border-radius: 4px;
    background: var(--dt-tiffany);
}
.dt-section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a6478;
    margin: 0;
}

.dt-mega-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--dt-navy);
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid rgba(13, 216, 199, .35);
}
.dt-mega-heading > span { flex: 1 1 auto; }
.dt-mega-heading .bi:first-child { color: var(--dt-tiffany); font-size: 1rem; }
.dt-mega-cart { color: var(--dt-navy); opacity: .5; font-size: .85rem; }

.dt-mega-subheading {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--dt-navy);
    padding: .3rem 0;
}

.dt-mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dt-mega-list li { margin: 0; }
.dt-mega-list a {
    display: block;
    padding: .3rem .35rem;
    font-size: .875rem;
    color: var(--dt-navy);
    text-decoration: none;
    border-radius: .3rem;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.dt-mega-list a:hover {
    background: rgba(13, 216, 199, .12);
    color: var(--dt-navy);
    padding-left: .7rem;
}

.dt-mega-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 46, 100, .1);
    text-align: right;
}
.dt-mega-viewall {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--dt-navy);
    text-decoration: none;
    transition: gap .18s ease, color .18s ease;
}
.dt-mega-viewall:hover { color: var(--dt-tiffany); gap: .7rem; }

/* Service cards (with description) */
.dt-mega-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(28, 46, 100, .1);
    border-radius: .75rem;
    text-decoration: none;
    color: var(--dt-navy);
    background: var(--dt-white);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dt-mega-service:hover {
    border-color: rgba(13, 216, 199, .55);
    box-shadow: 0 12px 24px rgba(28, 46, 100, .12);
    transform: translateY(-3px);
    color: var(--dt-navy);
}
.dt-mega-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .75rem;
    border-radius: .6rem;
    background: rgba(13, 216, 199, .12);
    color: var(--dt-tiffany);
    font-size: 1.35rem;
}
.dt-mega-service-title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .35rem;
    line-height: 1.3;
}
.dt-mega-service-desc {
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(28, 46, 100, .7);
}

/* Mobile: render as a stacked, scrollable list */
@media (max-width: 991.98px) {
    .dt-mega-menu {
        box-shadow: none;
        padding: .5rem 0;
        max-height: 60vh;
        overflow-y: auto;
    }
    .dt-mega-col { padding: .5rem .75rem; }
}

/* ---------- HERO ---------- */
.dt-hero {
    position: relative;
    background: linear-gradient(120deg, var(--dt-navy-2) 0%, var(--dt-navy) 55%, #23407e 100%);
    padding-bottom: 5.5rem;   /* room for overlapping cards */
    overflow: hidden;
}
.min-vh-hero { min-height: 480px; }

/* Tech network overlay — use a subtle SVG pattern of nodes & lines */
.dt-hero-network {
    position: absolute; inset: 0;
    background: url('../img/hero-bg-2.png') no-repeat right center / cover;
    opacity: .35;
    pointer-events: none;
    animation: dtPulse 8s ease-in-out infinite alternate;
}
@keyframes dtPulse { from { opacity: .25; } to { opacity: .45; } }

.dt-hero-photo img {
    border-radius: 0 1.5rem 1.5rem 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
    opacity: 85%;
}

.dt-hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: .04em;
}
.dt-hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.6rem); opacity: .9; }

.dt-btn-hero {
    background: var(--dt-white);
    color: var(--dt-navy);
    font-weight: 600;
    letter-spacing: .06em;
    padding: .8rem 1.8rem;
    border-radius: .35rem;
    transition: all .25s ease;
}
.dt-btn-hero:hover {
    background: var(--dt-tiffany);
    color: var(--dt-navy);
    box-shadow: 0 6px 24px rgba(13, 216, 199, .45);
    transform: translateY(-2px);
}

/* ---------- OVERLAPPING FEATURE CARDS ---------- */
.dt-hero-cards {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    margin-bottom: -4.5rem;   /* overlap into next section */
}
.dt-card-link { text-decoration: none; }
.dt-feature-card {
    background: var(--dt-white);
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.4rem 1.6rem;
    border-radius: .35rem;
    box-shadow: 0 10px 30px rgba(20, 34, 78, .25);
    color: var(--dt-navy);
    font-size: 1.15rem;
    transition: all .25s ease;
    border-bottom: 3px solid transparent;
}
.dt-feature-card i { font-size: 2.2rem; color: var(--dt-navy); }
.dt-feature-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--dt-tiffany);
}
.dt-feature-card:hover i { color: var(--dt-tiffany); }

/* ---------- BRAND STRIP ---------- */
.dt-brands { padding-top: 7rem !important; background: var(--dt-white); }
.dt-section-heading {
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--dt-navy);
    font-size: 1.35rem;
}
.dt-brand-logo {
    filter: grayscale(1) opacity(.55);
    transition: filter .3s ease;
    max-width: 180px;
    width: 100%;
}
.dt-brand-logo:hover { filter: none; }
.dt-carousel-ctl {
    width: 3rem; opacity: 1;
}
.dt-carousel-ctl i { color: var(--dt-navy); font-size: 1.6rem; }

/* ---------- DARK BAND / SERVICES ---------- */
.dt-dark-band {
    background: linear-gradient(180deg, var(--dt-navy) 0%, var(--dt-navy-2) 100%);
    color: var(--dt-white);
}
.dt-service-tile {
    padding: 2rem 1.4rem;
    border: 1px solid rgba(13, 216, 199, .25);
    border-radius: .5rem;
    transition: all .3s ease;
    background: rgba(255,255,255,.02);
}
.dt-service-tile i { font-size: 2.4rem; color: var(--dt-tiffany); }
.dt-service-tile h3 { font-size: 1.15rem; font-weight: 400; margin: 1rem 0 .6rem; }
.dt-service-tile p  { font-size: .9rem; opacity: .8; }
.dt-service-tile:hover {
    border-color: var(--dt-tiffany);
    background: rgba(13, 216, 199, .06);
    transform: translateY(-4px);
}

.dt-btn-accent {
    background: var(--dt-tiffany);
    color: var(--dt-navy);
    font-weight: 600;
    letter-spacing: .06em;
    padding: .8rem 2rem;
    border-radius: .35rem;
    transition: all .25s ease;
}
.dt-btn-accent:hover {
    background: var(--dt-white);
    box-shadow: 0 6px 24px rgba(13, 216, 199, .4);
    color: var(--dt-navy);
}

/* ---------- INNER PAGE HERO ---------- */
.dt-page-hero {
    background: linear-gradient(120deg, var(--dt-navy-2), var(--dt-navy));
    color: var(--dt-white);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.dt-page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url('../img/network-lines.svg') no-repeat right / cover;
    opacity: .25;
}
.dt-page-hero h1 { font-size: 2.6rem; position: relative; z-index: 1; }
.dt-page-hero p  { opacity: .85; position: relative; z-index: 1; }

/* ---------- PRODUCT CARDS ---------- */
.dt-product-card {
    border: 1px solid rgba(28, 46, 100, .12);
    border-radius: .5rem;
    padding: 1.8rem;
    transition: all .3s ease;
}
.dt-product-card:hover {
    box-shadow: 0 12px 34px rgba(28, 46, 100, .12);
    border-color: var(--dt-tiffany);
}
.dt-product-card-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.dt-product-card-head i { font-size: 2.4rem; color: var(--dt-tiffany); }
.dt-product-card-head h3 { font-size: 1.25rem; margin: 0; }
.dt-brand-tag {
    font-size: .78rem;
    color: var(--dt-tiffany);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}
.dt-product-list { list-style: none; padding: 0; margin: 0; }
.dt-product-list li { padding: .3rem 0; font-size: .95rem; }
.dt-product-list i { color: var(--dt-tiffany); margin-right: .4rem; }

/* ---------- SHOP / PRODUCT GRID ---------- */
.dt-shop-empty-icon { font-size: 3rem; color: rgba(28, 46, 100, .25); }

.dt-shop-card {
    display: flex;
    flex-direction: column;
    background: var(--dt-white);
    border: 1px solid rgba(28, 46, 100, .12);
    border-radius: .65rem;
    overflow: hidden;
    transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.dt-shop-card:hover {
    box-shadow: 0 14px 34px rgba(28, 46, 100, .14);
    border-color: var(--dt-tiffany);
    transform: translateY(-4px);
}
.dt-shop-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--dt-light);
    overflow: hidden;
}
.dt-shop-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.dt-shop-card:hover .dt-shop-card-media img { transform: scale(1.05); }
.dt-shop-badge {
    position: absolute;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .28rem .55rem;
    border-radius: .35rem;
    line-height: 1;
}
.dt-shop-badge-sale {
    top: .7rem; left: .7rem;
    background: var(--dt-tiffany);
    color: var(--dt-navy);
    text-transform: uppercase;
}
.dt-shop-badge-brand {
    bottom: .7rem; left: .7rem;
    background: rgba(28, 46, 100, .85);
    color: var(--dt-white);
}
.dt-shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.1rem 1.2rem 1.3rem;
}
.dt-shop-cat {
    font-size: .72rem;
    color: var(--dt-tiffany);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .35rem;
}
.dt-shop-name {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .5rem;
    color: var(--dt-navy);
}
.dt-shop-desc {
    font-size: .85rem;
    color: rgba(28, 46, 100, .7);
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dt-shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: auto;
}
.dt-shop-price { display: flex; flex-direction: column; line-height: 1.2; }
.dt-shop-price-now {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dt-navy);
}
.dt-shop-price-was {
    font-size: .82rem;
    color: rgba(28, 46, 100, .5);
    text-decoration: line-through;
}
.dt-shop-login-price {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--dt-tiffany);
    text-decoration: none;
}
.dt-shop-login-price:hover { color: var(--dt-navy); }
.dt-shop-add {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto;
    border: 0;
    background: var(--dt-navy);
    color: var(--dt-white);
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem .85rem;
    border-radius: .4rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.dt-shop-add:hover {
    background: var(--dt-tiffany);
    color: var(--dt-navy);
}

/* ---------- BRAND DETAIL CARDS ---------- */
.dt-brands-detail { background: var(--dt-light); }
.dt-brand-card {
    background: var(--dt-white);
    border-radius: .5rem;
    padding: 2rem 1.4rem;
    box-shadow: 0 4px 18px rgba(28, 46, 100, .07);
}
.dt-brand-card img { max-height: 48px; margin-bottom: 1.2rem; }
.dt-brand-card p { font-size: .88rem; }
.dt-link { color: var(--dt-tiffany); text-decoration: none; font-weight: 600; font-size: .85rem; }
.dt-link:hover { color: var(--dt-navy); }

/* ---------- FOOTER ---------- */
.dt-footer {
    background: var(--dt-navy-2);
    color: rgba(255,255,255,.85);
}
.dt-footer h4 {
    font-size: .95rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dt-tiffany);
    margin-bottom: 1rem;
}
.dt-tagline {
    color: var(--dt-tiffany);
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: 600;
}
.dt-footer-links { list-style: none; padding: 0; }
.dt-footer-links li { padding: .25rem 0; }
.dt-footer-links a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .2s;
}
.dt-footer-links a:hover { color: var(--dt-tiffany); }
.dt-footer-bottom {
    background: rgba(0,0,0,.25);
    color: rgba(255,255,255,.5);
}

/* =========================================================
   PORTAL
   ========================================================= */

/* ---------- Navbar portal button ---------- */
.dt-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.1rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--dt-navy);
    background: rgba(13, 216, 199, .12);
    border: 1px solid rgba(13, 216, 199, .45);
    border-radius: .4rem;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}
.dt-portal-btn:hover {
    background: var(--dt-tiffany);
    color: var(--dt-navy);
    box-shadow: 0 6px 18px rgba(13, 216, 199, .35);
}
.dt-portal-btn i { font-size: 1.05rem; }
.dt-portal-btn.dropdown-toggle::after { margin-left: .1rem; }
.dt-portal-nav .dropdown-menu {
    border: 0;
    border-radius: .6rem;
    box-shadow: 0 16px 36px rgba(28, 46, 100, .18);
}
.dt-portal-nav .dropdown-item { font-size: .9rem; padding: .5rem 1rem; }
.dt-portal-nav .dropdown-item:active { background: var(--dt-tiffany); color: var(--dt-navy); }


/* ---------- Login card ---------- */
.dt-portal-auth {
    background: linear-gradient(120deg, var(--dt-navy-2), var(--dt-navy) 60%, #23407e);
    padding: 4.5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.dt-portal-card {
    background: var(--dt-white);
    border-radius: 1rem;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.dt-portal-card-head { margin-bottom: 1.75rem; }
.dt-portal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(13, 216, 199, .14);
    color: var(--dt-tiffany);
    font-size: 1.6rem;
}
.dt-portal-card-head h1 { font-size: 1.8rem; font-weight: 400; margin-bottom: .35rem; }
.dt-portal-card-head p  { font-size: .9rem; color: rgba(28, 46, 100, .65); margin: 0; }

.dt-portal-alert { font-size: .88rem; border-radius: .5rem; }

.dt-form-group { margin-bottom: 1.15rem; }
.dt-form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: .4rem;
    color: var(--dt-navy);
}
.dt-input-wrap { position: relative; }
.dt-input-wrap > i:first-child {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(28, 46, 100, .45);
    font-size: 1rem;
}
.dt-input {
    padding: .7rem 2.6rem;
    border: 1px solid rgba(28, 46, 100, .18);
    border-radius: .5rem;
    font-weight: 400;
    box-shadow: none;
}
.dt-input:focus {
    border-color: var(--dt-tiffany);
    box-shadow: 0 0 0 .2rem rgba(13, 216, 199, .18);
}
.dt-input-toggle {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: rgba(28, 46, 100, .5);
    padding: .3rem .4rem;
    cursor: pointer;
}
.dt-input-toggle:hover { color: var(--dt-tiffany); }
.dt-btn-accent i { margin-right: .3rem; }

.dt-portal-help {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(28, 46, 100, .1);
    font-size: .84rem;
    color: rgba(28, 46, 100, .65);
}
.dt-portal-help a { color: var(--dt-tiffany); text-decoration: none; font-weight: 600; }
.dt-portal-help a:hover { color: var(--dt-navy); }

/* ---------- Portal hero / body ---------- */
.dt-portal-hero .dt-portal-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dt-tiffany);
    margin-bottom: .5rem;
}
.dt-portal-hero h1 { margin-bottom: .35rem; }
/* Fill remaining viewport height (below navbar + hero) so the footer sits at the bottom */
.dt-portal-body { background: var(--dt-light); min-height: 45vh; }

.dt-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--dt-white);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: .4rem;
    padding: .55rem 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    background: transparent;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
    z-index: 1;
}
.dt-btn-outline-light:hover {
    background: var(--dt-tiffany);
    border-color: var(--dt-tiffany);
    color: var(--dt-navy);
}

/* ---------- Stat cards ---------- */
.dt-stat-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: var(--dt-white);
    border-radius: .75rem;
    padding: 1.75rem 1.9rem;
    box-shadow: 0 8px 26px rgba(28, 46, 100, .08);
    border: 1px solid rgba(28, 46, 100, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.dt-stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28, 46, 100, .14); }
.dt-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: .9rem;
    font-size: 1.9rem;
    flex-shrink: 0;
}
.dt-stat-icon--teal { background: rgba(13, 216, 199, .14); color: var(--dt-tiffany); }
.dt-stat-icon--navy { background: rgba(28, 46, 100, .1);  color: var(--dt-navy); }
.dt-stat-number { font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--dt-navy); }
.dt-stat-label  { font-size: .95rem; color: rgba(28, 46, 100, .7); margin-top: .35rem; }

/* ---------- Portal link cards ---------- */
.dt-portal-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dt-white);
    border-radius: .75rem;
    padding: 1.3rem 1.6rem;
    box-shadow: 0 8px 26px rgba(28, 46, 100, .08);
    border: 1px solid rgba(28, 46, 100, .06);
    text-decoration: none;
    color: var(--dt-navy);
    font-weight: 600;
    transition: all .25s ease;
}
.dt-portal-link-card:hover {
    border-color: rgba(13, 216, 199, .55);
    box-shadow: 0 14px 34px rgba(28, 46, 100, .14);
    color: var(--dt-navy);
}
.dt-portal-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .6rem;
    background: rgba(13, 216, 199, .12);
    color: var(--dt-tiffany);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.dt-portal-link-text { flex: 1 1 auto; font-size: 1.05rem; }
.dt-portal-link-arrow { color: var(--dt-tiffany); transition: transform .25s ease; }
.dt-portal-link-card:hover .dt-portal-link-arrow { transform: translateX(4px); }

/* ---------- Data tables ---------- */
.dt-table-wrap {
    background: var(--dt-white);
    border-radius: .75rem;
    box-shadow: 0 8px 26px rgba(28, 46, 100, .08);
    border: 1px solid rgba(28, 46, 100, .06);
    overflow: hidden;
}
.dt-table { margin: 0; border-collapse: separate; border-spacing: 0; }
.dt-table thead {
    background: var(--dt-navy);
}
.dt-table thead tr { position: relative; }
.dt-table thead th {
    position: relative;
    background: transparent;
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: 0;
    padding: 1.15rem 1.2rem;
    white-space: nowrap;
    vertical-align: middle;
}
/* Tiffany accent bar across the bottom of the header */
.dt-table thead th::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: var(--dt-tiffany);
}
.dt-table tbody td {
    padding: .95rem 1.2rem;
    font-size: .92rem;
    border-top: 1px solid rgba(28, 46, 100, .07);
    color: var(--dt-navy);
}
.dt-table tbody tr { transition: background .18s ease; }
.dt-table tbody tr:hover { background: rgba(13, 216, 199, .06); }
.dt-table .fw-600 { font-weight: 600; }
.dt-table-empty {
    text-align: center;
    padding: 2.5rem 1rem !important;
    color: rgba(28, 46, 100, .55);
    font-style: italic;
}

.dt-badge {
    display: inline-block;
    padding: .3rem .7rem;
    border-radius: 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.dt-badge-success { background: rgba(13, 216, 199, .16); color: #0a8f83; }
.dt-badge-info    { background: rgba(28, 46, 100, .1);   color: var(--dt-navy); }
.dt-badge-warning { background: rgba(255, 179, 0, .16);  color: #b37400; }
.dt-badge-danger  { background: rgba(220, 53, 69, .14);  color: #c0392b; }

/* ---------- Report download button ---------- */
.dt-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .55rem;
    color: var(--dt-tiffany);
    background: rgba(13, 216, 199, .12);
    font-size: 1.05rem;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dt-report-btn:hover {
    background: var(--dt-tiffany);
    color: #fff;
    transform: translateY(-1px);
}
.dt-report-na { color: #b8c0cc; }

/* ---------- License form ---------- */
.dt-license-form {
    background: var(--dt-white);
    border-radius: .75rem;
    padding: 1.75rem;
    box-shadow: 0 8px 26px rgba(28, 46, 100, .08);
}
.dt-license-form-title {
    font-size: 1.15rem;
    color: var(--dt-navy);
    margin-bottom: 1.25rem;
}
.dt-license-form-title i { color: var(--dt-tiffany); margin-right: .35rem; }
.dt-file-input { border-radius: .55rem; padding: .55rem .75rem; }
.dt-form-hint { display: block; margin-top: .4rem; color: rgba(28, 46, 100, .55); font-size: .78rem; }

/* ---------- Sortable table headers ---------- */
.dt-sortable th.dt-sort { user-select: none; white-space: nowrap; }
.dt-sort-icon { font-size: .7rem; opacity: .5; margin-left: .2rem; }
.dt-sortable th.dt-sort[aria-sort="ascending"]  .dt-sort-icon::before { content: "\f235"; opacity: 1; }
.dt-sortable th.dt-sort[aria-sort="descending"] .dt-sort-icon::before { content: "\f229"; opacity: 1; }

/* ---------- Lightbox ---------- */
.dt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(10, 20, 45, .85);
    backdrop-filter: blur(2px);
}
.dt-lightbox[hidden] { display: none; }
.dt-lightbox-figure { margin: 0; text-align: center; max-width: 100%; max-height: 100%; }
.dt-lightbox-figure img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: .5rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.dt-lightbox-figure figcaption { color: #fff; margin-top: .9rem; font-size: .95rem; }
.dt-lightbox-close {
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    width: 2.6rem;
    height: 2.6rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease;
}
.dt-lightbox-close:hover { background: rgba(255, 255, 255, .3); }

/* ---------- Placeholder ---------- */
.dt-portal-placeholder {
    background: var(--dt-white);
    border-radius: .75rem;
    padding: 3.5rem 2rem;
    box-shadow: 0 8px 26px rgba(28, 46, 100, .08);
}
.dt-portal-placeholder i { font-size: 3rem; color: var(--dt-tiffany); }
.dt-portal-placeholder h2 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.dt-portal-placeholder p { color: rgba(28, 46, 100, .65); margin: 0; }