/* ==========================================================================
   DGTEK ELITE — Member area theme
   Loaded after the template CSS (app-*.css). Design only: no markup/logic.
   Palette matches dgtekelite.com (logo violet → indigo → blue, cyan accent).
   ========================================================================== */

:root,
html[data-theme-mode] {
  --dg-obsidian: #0a0b0e;
  --dg-carbon: #11131a;
  --dg-panel: rgba(22, 20, 42, .62);
  --dg-panel-solid: #15142a;
  --dg-line: rgba(160, 150, 255, .14);
  --dg-line-strong: rgba(160, 150, 255, .28);
  --dg-text: #ecebf7;
  --dg-muted: #9d9bb8;
  --dg-violet: #8a14d4;
  --dg-indigo: #5a3ce6;
  --dg-blue: #3157ea;
  --dg-cyan: #2fd3f5;
  --dg-silver: #c9cbe0;
  --dg-ok: #3ee0a1;
  --dg-warn: #f5b84a;
  --dg-bad: #ff5c6c;
  --dg-grad: linear-gradient(100deg, #8a14d4, #5a3ce6 55%, #3157ea);
  --dg-f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --dg-f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dg-f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Template variables re-pointed to the DGTEK palette */
  --primary-rgb: 122, 92, 255;
  --secondary-rgb: 47, 211, 245;
  --info-rgb: 47, 211, 245;
  --success-rgb: 62, 224, 161;
  --warning-rgb: 245, 184, 74;
  --danger-rgb: 255, 92, 108;
  --purple-rgb: 138, 20, 212;
  --teal-rgb: 47, 211, 245;
  --body-bg-rgb: 10, 11, 14;
  --body-bg-rgb2: 10, 11, 14;
  --default-body-bg-color: #0a0b0e;
  --theme-bg-gradient: #0a0b0e;
  --bg-pattern: none;
  --default-font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --default-text-color-rgb: 236, 235, 247;
  --custom-white: #11131a;
  --custom-black: #ecebf7;
  --menu-bg: rgba(17, 16, 34, .72);
  --header-bg: rgba(10, 11, 14, .72);
  --menu-border-color: rgba(160, 150, 255, .14);
  --header-border-color: rgba(160, 150, 255, .14);
  --default-border: rgba(160, 150, 255, .14);
  --bootstrap-card-border: rgba(160, 150, 255, .14);
  --input-border: rgba(160, 150, 255, .2);
  --form-control-bg: rgba(255, 255, 255, .03);
  --list-hover-focus-bg: rgba(122, 92, 255, .1);
  --default-background: rgba(22, 20, 42, .6);
  --text-muted: #9d9bb8;
  --light-rgb: 30, 28, 52;
  --card-bg: 22, 20, 42;
  color-scheme: dark;
}

/* ---------- Base ---------- */
html, body { background-color: var(--dg-obsidian) !important; }
body {
  font-family: var(--dg-f-body) !important;
  color: var(--dg-text);
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(90, 60, 230, .20), transparent 60%),
    radial-gradient(700px 520px at -10% 40%, rgba(138, 20, 212, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 48px 48px,
    #0a0b0e !important;
  background-attachment: fixed !important;
  letter-spacing: .005em;
}
body::before { display: none !important; } /* template pattern overlay */
#dg-chain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* no z-index here: it would trap the sidebar under #responsive-overlay on mobile */
.page { position: relative; background: transparent !important; }
::selection { background: rgba(122, 92, 255, .45); color: #fff; }
a { color: #a996ff; }
a:hover { color: var(--dg-cyan); }
.text-muted { color: var(--dg-muted) !important; }
.text-primary { color: #a996ff !important; }
.text-info, .text-secondary { color: var(--dg-cyan) !important; }
.text-success { color: var(--dg-ok) !important; }
.text-warning { color: var(--dg-warn) !important; }
.text-danger { color: var(--dg-bad) !important; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--dg-text); }
*:focus-visible { outline: 2px solid var(--dg-cyan); outline-offset: 2px; }

/* Scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(122, 92, 255, .45) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(122, 92, 255, .4); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Loader ---------- */
#loader { background: var(--dg-obsidian) !important; }
#loader img { display: none !important; }
#loader::after {
  content: ""; width: 54px; height: 54px; border-radius: 14px;
  border: 2px solid rgba(47, 211, 245, .2); border-top-color: var(--dg-cyan); border-right-color: var(--dg-violet);
  animation: dg-spin 1s linear infinite; box-shadow: 0 0 30px -6px rgba(122, 92, 255, .8);
}
@keyframes dg-spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.app-header {
  background: rgba(10, 11, 14, .72) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dg-line) !important;
  box-shadow: 0 1px 0 0 rgba(47, 211, 245, .06), 0 12px 30px -20px rgba(0, 0, 0, .8);
}
.app-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 20, 212, .7), rgba(47, 211, 245, .7), transparent);
  opacity: .55; pointer-events: none;
}
.app-header .header-logo img { height: 38px !important; width: auto !important; }
.app-header .header-link, .app-header .header-link-icon { color: var(--dg-silver) !important; }
.app-header .animated-arrow span, .app-header .animated-arrow span::before, .app-header .animated-arrow span::after { background: var(--dg-silver) !important; }
#mainHeaderProfile {
  border: 1px solid var(--dg-line); border-radius: 12px; padding: 5px 10px 5px 5px !important;
  background: rgba(255, 255, 255, .03); transition: border-color .2s, box-shadow .2s;
}
#mainHeaderProfile:hover { border-color: rgba(47, 211, 245, .5); box-shadow: 0 0 18px -6px rgba(47, 211, 245, .6); }
#mainHeaderProfile img { border-radius: 9px !important; border: 1px solid var(--dg-line-strong); }
#mainHeaderProfile span { font-family: var(--dg-f-mono); font-size: .82rem; color: var(--dg-text); letter-spacing: .04em; }
.dg-live-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
  border: 1px solid var(--dg-line); background: rgba(255, 255, 255, .03);
  font: 500 .72rem/1 var(--dg-f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dg-muted);
}
.dg-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--dg-ok); box-shadow: 0 0 10px var(--dg-ok); animation: dg-blink 1.6s infinite; }
@keyframes dg-blink { 50% { opacity: .3; } }

/* ---------- Dropdowns ---------- */
.dropdown-menu, .main-header-dropdown {
  background: rgba(21, 20, 42, .96) !important; border: 1px solid var(--dg-line) !important;
  border-radius: 14px !important; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(122, 92, 255, .08) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 6px !important;
}
.dropdown-item { color: var(--dg-silver) !important; border-radius: 9px; padding: 9px 12px; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(122, 92, 255, .14) !important; color: #fff !important; }

/* ---------- Sidebar ---------- */
.app-sidebar {
  background: rgba(17, 16, 34, .72) !important;
  border: 1px solid var(--dg-line) !important; border-radius: 18px !important;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}
@media (max-width: 991.98px) {
  /* mobile slide-out menu: solid so page content does not show through */
  .app-sidebar { background: #120f24 !important; border-radius: 0 18px 18px 0 !important; }
}
.app-sidebar::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, rgba(138, 20, 212, .25), transparent 70%);
}
.app-sidebar .top-left, .app-sidebar .top-right, .app-sidebar .bottom-left, .app-sidebar .bottom-right { display: none !important; }
.app-sidebar .main-sidebar-header { background: transparent !important; border-color: var(--dg-line) !important; }
.app-sidebar .main-sidebar-header img { height: 38px !important; width: auto !important; }
.app-sidebar .side-menu__item {
  color: var(--dg-silver) !important; border-radius: 12px !important; margin: 3px 8px !important;
  transition: background .2s, color .2s, box-shadow .2s;
}
.app-sidebar .side-menu__icon, .app-sidebar .side-menu__icon i { color: var(--dg-muted) !important; fill: var(--dg-muted) !important; filter: none !important; }
.app-sidebar .side-menu__label { color: inherit !important; font-weight: 500; }
.app-sidebar .side-menu__item:hover { background: rgba(122, 92, 255, .12) !important; color: #fff !important; }
.app-sidebar .side-menu__item:hover .side-menu__icon,
.app-sidebar .side-menu__item:hover .side-menu__icon i { color: var(--dg-cyan) !important; fill: var(--dg-cyan) !important; }
.app-sidebar .slide > .side-menu__item.active,
.app-sidebar .slide.open > .side-menu__item,
.app-sidebar .slide.active > .side-menu__item {
  background: linear-gradient(100deg, rgba(138, 20, 212, .55), rgba(49, 87, 234, .45)) !important;
  color: #fff !important; box-shadow: 0 8px 22px -10px rgba(90, 60, 230, .9), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.app-sidebar .slide > .side-menu__item.active .side-menu__icon,
.app-sidebar .slide > .side-menu__item.active .side-menu__icon i,
.app-sidebar .slide.open > .side-menu__item .side-menu__icon i,
.app-sidebar .slide.active > .side-menu__item .side-menu__icon i { color: #fff !important; fill: #fff !important; }
.app-sidebar .slide-menu { background: transparent !important; }
.app-sidebar .slide-menu .side-menu__item { margin: 1px 6px !important; padding-block: 7px !important; font-size: .88rem; color: var(--dg-muted) !important; box-shadow: none !important; background: transparent !important; }
.app-sidebar .slide-menu .side-menu__item::before { border-color: var(--dg-muted) !important; }
.app-sidebar .slide-menu .side-menu__item:hover,
.app-sidebar .slide-menu .side-menu__item.active { color: var(--dg-cyan) !important; background: rgba(47, 211, 245, .06) !important; }
.app-sidebar .side-menu__label1 a { color: var(--dg-cyan) !important; font-family: var(--dg-f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
/* collapsed icon rail flyouts */
[data-toggled=detached-close] .app-sidebar .slide-menu,
[data-toggled=icon-overlay-close] .app-sidebar .slide-menu {
  background: rgba(21, 20, 42, .97) !important; border: 1px solid var(--dg-line) !important; border-radius: 14px !important;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9) !important;
}
[data-vertical-style=detached] .app-sidebar { overflow: visible; }
[data-vertical-style=detached] .app-sidebar::after { border-radius: 18px 18px 0 0; }

/* ---------- Content ---------- */
.main-content.app-content { padding-bottom: 1rem; }
.app-content h5.fw-medium.mb-0 {
  font-family: var(--dg-f-display) !important; font-weight: 600 !important; font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -.01em; color: #fff;
}
.app-content h5.fw-medium.mb-0 + .text-muted.fs-13 {
  font-family: var(--dg-f-mono); font-size: .72rem !important; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dg-cyan) !important; opacity: 1 !important; margin-top: 8px; display: flex; align-items: center; gap: 10px;
}
.app-content h5.fw-medium.mb-0 + .text-muted.fs-13::before { content: ""; width: 22px; height: 1px; background: var(--dg-cyan); box-shadow: 0 0 8px var(--dg-cyan); }

/* ---------- Cards ---------- */
.card, .card.custom-card {
  background: var(--dg-panel) !important;
  border: 1px solid var(--dg-line) !important; border-radius: 16px !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .03) !important;
  color: var(--dg-text);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card.custom-card:hover { border-color: rgba(122, 92, 255, .35) !important; }
.card .card-header {
  background: transparent !important; border-bottom: 1px solid var(--dg-line) !important;
  padding: 1rem 1.25rem !important;
}
.card .card-title, .card .card-header .card-title {
  font-family: var(--dg-f-display); font-weight: 600; font-size: .95rem; color: #fff; text-transform: none; letter-spacing: 0;
}
.card .card-title::before { display: none !important; }
.card .card-footer { background: transparent !important; border-top: 1px solid var(--dg-line) !important; }
/* corner brackets -> cyan/violet glints */
.card.custom-card .top-left, .card.custom-card .top-right, .card.custom-card .bottom-left, .card.custom-card .bottom-right {
  background: transparent !important; width: 28px !important; height: 1px !important; z-index: 2;
}
.card.custom-card .top-left { top: -1px !important; left: 18px !important; }
.card.custom-card .top-left::before { width: 100% !important; background: linear-gradient(90deg, transparent, var(--dg-cyan)) !important; }
.card.custom-card .top-right, .card.custom-card .bottom-left { display: none !important; }
.card.custom-card .bottom-right { bottom: -1px !important; right: 18px !important; }
.card.custom-card .bottom-right::before { width: 100% !important; background: linear-gradient(90deg, var(--dg-violet), transparent) !important; }
.card.bg-primary-gradient, .bg-primary-gradient { background: var(--dg-grad) !important; }
.card.bg-secondary-gradient, .bg-secondary-gradient { background: linear-gradient(120deg, rgba(138, 20, 212, .45), rgba(49, 87, 234, .35)), var(--dg-panel-solid) !important; }

/* icon tiles */
.avatar.bg-primary-transparent, .avatar.bg-info-transparent, .avatar.bg-secondary-transparent,
.avatar.bg-success-transparent, .avatar.bg-warning-transparent {
  background: linear-gradient(140deg, rgba(138, 20, 212, .35), rgba(49, 87, 234, .22)) !important;
  border: 1px solid var(--dg-line-strong); color: var(--dg-cyan) !important; border-radius: 12px !important;
  box-shadow: inset 0 0 18px -6px rgba(47, 211, 245, .35);
}
.avatar svg, .svg-primary svg, .svg-info svg { stroke: var(--dg-cyan) !important; color: var(--dg-cyan) !important; }
.svg-primary svg [fill]:not([fill=none]), .svg-info svg [fill]:not([fill=none]) { fill: var(--dg-cyan) !important; }
.avatar i { color: var(--dg-cyan) !important; }
.card-body h3.fw-semibold, .card-body h5.fw-semibold, .card-body h4.fw-semibold {
  font-family: var(--dg-f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn-primary, .btn-primary:disabled {
  background: var(--dg-grad) !important; border: 0 !important; color: #fff !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 26px -10px rgba(90, 60, 230, .85) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--dg-grad) !important; color: #fff !important; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 14px 34px -8px rgba(90, 60, 230, 1) !important;
}
.btn-secondary, .btn-info, .btn-outline-primary, .btn-light {
  background: rgba(47, 211, 245, .06) !important; color: var(--dg-text) !important; border: 1px solid rgba(47, 211, 245, .5) !important;
  box-shadow: 0 0 16px -8px rgba(47, 211, 245, .6) !important;
}
.btn-secondary:hover, .btn-info:hover, .btn-outline-primary:hover, .btn-light:hover { background: rgba(47, 211, 245, .14) !important; border-color: var(--dg-cyan) !important; }
.btn-success { background: linear-gradient(100deg, #1fb88a, #3ee0a1) !important; border: 0 !important; color: #05150f !important; }
.btn-danger { background: linear-gradient(100deg, #e0364c, #ff5c6c) !important; border: 0 !important; color: #fff !important; }
.btn-warning { background: linear-gradient(100deg, #e49b22, #f5b84a) !important; border: 0 !important; color: #1a1000 !important; }
/* status chips rendered as <span class="btn btn-sm ..."> inside tables */
td span.btn, td .btn.btn-sm:not(a):not(button) { pointer-events: none; }
td span.btn.btn-sm {
  border-radius: 99px !important; padding: 4px 11px !important; font: 600 .7rem/1.2 var(--dg-f-mono) !important;
  letter-spacing: .06em; text-transform: uppercase; box-shadow: none !important; transform: none !important;
}
td span.btn-success { background: rgba(62, 224, 161, .12) !important; color: var(--dg-ok) !important; border: 1px solid rgba(62, 224, 161, .45) !important; }
td span.btn-danger { background: rgba(255, 92, 108, .12) !important; color: var(--dg-bad) !important; border: 1px solid rgba(255, 92, 108, .45) !important; }
td span.btn-primary { background: rgba(122, 92, 255, .14) !important; color: #b7a8ff !important; border: 1px solid rgba(122, 92, 255, .5) !important; }
td span.btn-warning { background: rgba(245, 184, 74, .12) !important; color: var(--dg-warn) !important; border: 1px solid rgba(245, 184, 74, .45) !important; }

/* ---------- Badges ---------- */
.badge { border-radius: 99px; font-family: var(--dg-f-mono); font-weight: 600; letter-spacing: .04em; }
.bg-primary { background-color: rgb(122, 92, 255) !important; }
.bg-success { background-color: var(--dg-ok) !important; color: #05150f !important; }

/* ---------- Forms ---------- */
.form-label, label { color: var(--dg-silver); font-weight: 500; }
.form-control, .form-select, .input-group-text, .choices__inner, textarea.form-control {
  background-color: rgba(255, 255, 255, .035) !important; border: 1px solid rgba(160, 150, 255, .2) !important;
  color: var(--dg-text) !important; border-radius: 10px !important; min-height: 44px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239d9bb8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important; background-repeat: no-repeat !important; background-position: right .75rem center !important; background-size: 14px 10px !important; }
.form-select option { background: #15142a; color: var(--dg-text); }
.form-control::placeholder { color: rgba(157, 155, 184, .7) !important; }
.form-control:focus, .form-select:focus {
  border-color: rgba(47, 211, 245, .7) !important; background-color: rgba(47, 211, 245, .04) !important;
  box-shadow: 0 0 0 3px rgba(47, 211, 245, .14), 0 0 22px -8px rgba(47, 211, 245, .7) !important;
}
.form-control:disabled, .form-control[readonly] { background-color: rgba(255, 255, 255, .02) !important; color: var(--dg-muted) !important; }
.input-group > .form-control, .input-group > .input-group-text, .input-group > .btn { border-radius: 0 !important; }
.input-group > :first-child { border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; }
.input-group > :last-child { border-top-right-radius: 10px !important; border-bottom-right-radius: 10px !important; }
.input-group-text { color: var(--dg-cyan) !important; font-family: var(--dg-f-mono); }
.form-check-input { background-color: rgba(255, 255, 255, .05) !important; border-color: rgba(160, 150, 255, .35) !important; }
.form-check-input:checked { background-color: rgb(122, 92, 255) !important; border-color: rgb(122, 92, 255) !important; box-shadow: 0 0 12px -2px rgba(122, 92, 255, .9); }
.show-password-button { color: var(--dg-muted) !important; }

/* ---------- Tables / DataTables ---------- */
.table, .table > :not(caption) > * > * { color: var(--dg-text) !important; background-color: transparent !important; border-color: var(--dg-line) !important; }
.table-bordered > :not(caption) > * > * { border-width: 0 0 1px 0 !important; }
.table-bordered > :not(caption) > * { border-width: 0 !important; }
.table thead th, table.dataTable thead th {
  font: 600 .7rem/1.3 var(--dg-f-mono) !important; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dg-muted) !important; background: rgba(122, 92, 255, .07) !important; border-bottom: 1px solid var(--dg-line-strong) !important;
  padding-block: .85rem !important;
}
.table tbody tr { transition: background .15s; }
.table tbody tr:hover > * { background-color: rgba(122, 92, 255, .07) !important; }
.table td { font-variant-numeric: tabular-nums; vertical-align: middle; }
.table-responsive { border-radius: 12px; }
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info { color: var(--dg-muted) !important; font-size: .85rem; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select { min-height: 36px; }
.page-link, .dataTables_wrapper .paginate_button .page-link {
  background: rgba(255, 255, 255, .03) !important; border: 1px solid var(--dg-line) !important; color: var(--dg-silver) !important;
  border-radius: 9px !important; margin: 0 3px; font-family: var(--dg-f-mono); font-size: .8rem;
}
.page-item.active .page-link, .dataTables_wrapper .paginate_button.active .page-link { background: var(--dg-grad) !important; border-color: transparent !important; color: #fff !important; }
.page-item.disabled .page-link { opacity: .45; }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px !important; border: 1px solid var(--dg-line) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.alert-primary { background: rgba(122, 92, 255, .1) !important; color: var(--dg-text) !important; border-color: rgba(122, 92, 255, .35) !important; }
.alert-success { background: rgba(62, 224, 161, .1) !important; color: #c9f7e6 !important; border-color: rgba(62, 224, 161, .4) !important; }
.alert-danger { background: rgba(255, 92, 108, .1) !important; color: #ffd5da !important; border-color: rgba(255, 92, 108, .4) !important; }
.alert-warning { background: rgba(245, 184, 74, .1) !important; color: #fbe4bb !important; border-color: rgba(245, 184, 74, .4) !important; }
.alert-info { background: rgba(47, 211, 245, .08) !important; color: #c8f3fd !important; border-color: rgba(47, 211, 245, .4) !important; }

/* ---------- Modals / tabs / misc ---------- */
.modal-content { background: rgba(21, 20, 42, .97) !important; border: 1px solid var(--dg-line) !important; border-radius: 18px !important; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .95), 0 0 60px -30px rgba(122, 92, 255, .6) !important; }
.modal-header, .modal-footer { border-color: var(--dg-line) !important; }
.modal-title { font-family: var(--dg-f-display); font-weight: 600; }
.modal-backdrop.show { opacity: .75; background: #05050a; }
.nav-tabs, .nav-pills { border-color: var(--dg-line) !important; gap: 6px; }
.nav-tabs .nav-link, .nav-pills .nav-link { color: var(--dg-muted) !important; border-radius: 10px !important; border: 1px solid transparent !important; }
.nav-tabs .nav-link.active, .nav-pills .nav-link.active { background: rgba(122, 92, 255, .16) !important; color: #fff !important; border-color: rgba(122, 92, 255, .4) !important; }
.progress { background: rgba(255, 255, 255, .06) !important; border-radius: 99px; }
.progress-bar { background: var(--dg-grad) !important; box-shadow: 0 0 14px rgba(90, 60, 230, .8); }
.list-group-item { background: transparent !important; color: var(--dg-text) !important; border-color: var(--dg-line) !important; }
hr { border-color: var(--dg-line) !important; opacity: 1; }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: var(--dg-line) !important; }
marquee h5, marquee span { font-family: var(--dg-f-body); font-weight: 500; }
.tradingview-widget-container { border-radius: 14px; overflow: hidden; border: 1px solid var(--dg-line); }
.scrollToTop { background: var(--dg-grad) !important; border-radius: 12px !important; box-shadow: 0 10px 26px -10px rgba(90, 60, 230, .9); }
.scrollToTop .arrow, .scrollToTop i { color: #fff !important; }

/* genealogy tree images & member tiles keep their art, just soften edges */
.profile-pic, .img-sm.rounded-circle { border: 2px solid rgba(122, 92, 255, .5); box-shadow: 0 0 18px -6px rgba(122, 92, 255, .9); }

/* ---------- Footer ---------- */
.footer { background: transparent !important; border-top: 1px solid var(--dg-line) !important; position: relative; z-index: 1; }
.footer .text-muted { font-size: .82rem; }
.footer .developer-link { background: linear-gradient(90deg, #8a14d4, #5a3ce6, #2fd3f5) !important; -webkit-background-clip: text !important; background-clip: text !important; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Dashboard (member/dashboard)
   ========================================================================== */
.dg-dash .container-fluid { padding-top: 1.25rem; }
.dg-eyebrow {
  font: 600 .7rem/1 var(--dg-f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dg-cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.dg-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--dg-cyan); box-shadow: 0 0 8px var(--dg-cyan); }
.dg-grad-text { background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.dg-sec-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 1.75rem 0 .9rem; }
.dg-sec-head h2 { font-family: var(--dg-f-display); font-weight: 600; font-size: 1.15rem; margin: 0; color: #fff; }

/* hero */
.dg-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(22px, 3.2vw, 38px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 28px; align-items: end; margin-bottom: 1rem;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(47, 211, 245, .18), transparent 70%),
    linear-gradient(120deg, rgba(138, 20, 212, .42), rgba(49, 87, 234, .30) 60%, rgba(17, 19, 26, .6)),
    var(--dg-panel-solid);
  border: 1px solid rgba(160, 150, 255, .28);
  box-shadow: 0 30px 70px -40px rgba(90, 60, 230, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dg-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 32px 32px,
              linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%);
}
.dg-hero-copy { position: relative; z-index: 1; display: grid; gap: 14px; min-width: 0; }
.dg-hero-title { font-family: var(--dg-f-display); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.12; margin: 0; color: #fff; letter-spacing: -.02em; }
.dg-hero-title .dg-grad-text { background: linear-gradient(100deg, #c6a8ff, #7fdcff); -webkit-background-clip: text; background-clip: text; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.dg-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(10, 11, 14, .45); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dg-chip i { color: var(--dg-cyan); font-size: 1.05rem; }
.dg-chip small { font: 500 .66rem/1 var(--dg-f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dg-muted); }
.dg-chip b { font: 600 .9rem/1 var(--dg-f-mono); color: #fff; }
.dg-chip.is-ok b { color: var(--dg-ok); }
.dg-chip.is-ok i { color: var(--dg-ok); }
.dg-chip.is-warn b, .dg-chip.is-warn i { color: var(--dg-warn); }
.dg-hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.dg-hero-cube { position: absolute; right: -40px; top: -50px; width: 300px; opacity: .10; pointer-events: none; filter: blur(.3px); transform: rotate(-8deg); }
.dg-hero-cube img { width: 100%; }
.dg-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 11px;
  font: 600 .9rem/1 var(--dg-f-body); text-decoration: none !important; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.dg-btn i { font-size: 1.05rem; }
.dg-btn-solid { background: var(--dg-grad); color: #fff !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 12px 30px -10px rgba(90, 60, 230, .95); }
.dg-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 16px 40px -8px rgba(90, 60, 230, 1); }
.dg-btn-ghost { color: #fff !important; background: rgba(47, 211, 245, .07); box-shadow: 0 0 0 1px rgba(47, 211, 245, .5) inset; }
.dg-btn-ghost:hover { background: rgba(47, 211, 245, .14); box-shadow: 0 0 0 1px var(--dg-cyan) inset, 0 0 22px -6px rgba(47, 211, 245, .7); transform: translateY(-2px); }

/* news + ticker */
.dg-news {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin-bottom: 1rem; border-radius: 14px;
  background: rgba(22, 20, 42, .55); border: 1px solid var(--dg-line);
}
.dg-news-tag { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 600 .68rem/1 var(--dg-f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dg-warn); padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(245, 184, 74, .45); }
.dg-news-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--dg-warn); box-shadow: 0 0 10px var(--dg-warn); animation: dg-blink 1.6s infinite; }
.dg-news-track { flex: 1; min-width: 0; color: var(--dg-silver); font-size: .92rem; }
.dg-ticker { margin-bottom: 1rem; }
.dg-ticker .tradingview-widget-container { background: rgba(22, 20, 42, .55); }

/* stat cards */
.dg-stat .card-body, .dg-reward .card-body { display: flex; flex-direction: column; gap: 10px; padding: 1.15rem 1.25rem; }
.dg-stat-head { display: flex; align-items: center; gap: 12px; }
.dg-stat-head p { margin: 0; color: var(--dg-muted); font-size: .86rem; font-weight: 500; }
.dg-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(138, 20, 212, .4), rgba(49, 87, 234, .25)); border: 1px solid rgba(160, 150, 255, .3);
  box-shadow: inset 0 0 18px -6px rgba(47, 211, 245, .4);
}
.dg-ico i { color: var(--dg-cyan); font-size: 1.2rem; }
.dg-val { margin: 0 !important; font-size: clamp(1.25rem, 1.9vw, 1.6rem) !important; line-height: 1.15; word-break: break-word; }
h5.dg-val { font-size: clamp(1.05rem, 1.5vw, 1.25rem) !important; }
.dg-sub { font: 500 .8rem/1.3 var(--dg-f-mono); color: var(--dg-cyan); }
.dg-mini-link { margin-top: auto; font-size: .8rem; color: var(--dg-muted) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dg-mini-link:hover { color: var(--dg-cyan) !important; }
.card.custom-card.dg-stat:hover, .card.custom-card.dg-reward:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(90, 60, 230, .9) !important; }
.card.custom-card.dg-stat-hl {
  background: linear-gradient(140deg, rgba(138, 20, 212, .30), rgba(49, 87, 234, .18) 70%), var(--dg-panel) !important;
  border-color: rgba(160, 150, 255, .3) !important;
}
.dg-spark { width: 100%; height: 38px; margin-top: auto; overflow: visible; }
.dg-spark path { fill: none; stroke: url(#dgSparkGrad); stroke: var(--dg-cyan); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(47, 211, 245, .7)); stroke-dasharray: 300; stroke-dashoffset: 300; animation: dg-draw 2.2s ease-out forwards; vector-effect: non-scaling-stroke; }
.dg-reward:nth-child(2n) .dg-spark path { stroke: #a996ff; filter: drop-shadow(0 0 6px rgba(122, 92, 255, .8)); }
.col-xl-3:nth-child(2) .dg-spark path, .col-xl-3:nth-child(4) .dg-spark path { stroke: #a996ff; filter: drop-shadow(0 0 6px rgba(122, 92, 255, .8)); }
@keyframes dg-draw { to { stroke-dashoffset: 0; } }

/* capping */
.dg-capping { background: linear-gradient(120deg, rgba(138, 20, 212, .22), rgba(49, 87, 234, .14) 60%), var(--dg-panel) !important; }
.dg-capping .card-body { padding: 1.4rem 1.5rem !important; display: grid; gap: 16px; }
.dg-cap-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dg-cap-title { font-family: var(--dg-f-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 8px 0 0; color: #fff; }
.dg-cap-pct { text-align: right; display: grid; }
.dg-cap-pct b { font: 600 1.6rem/1 var(--dg-f-mono); color: #fff; }
.dg-cap-pct small { font: 500 .7rem/1.6 var(--dg-f-mono); color: var(--dg-muted); letter-spacing: .12em; text-transform: uppercase; }
.dg-cap-bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; border: 1px solid var(--dg-line); }
.dg-cap-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8a14d4, #5a3ce6, #2fd3f5); box-shadow: 0 0 16px rgba(47, 211, 245, .7); position: relative; overflow: hidden; }
.dg-cap-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-100%); animation: dg-shine 2.6s ease-in-out infinite; }
@keyframes dg-shine { to { transform: translateX(100%); } }
.dg-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dg-cap-grid > div { padding: 14px 16px; border-radius: 12px; background: rgba(10, 11, 14, .35); border: 1px solid var(--dg-line); min-width: 0; }
.dg-cap-grid small { display: block; font: 500 .68rem/1 var(--dg-f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dg-muted); margin-bottom: 8px; }
.dg-cap-grid h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.5rem) !important; word-break: break-word; }
.dg-c-ok { color: var(--dg-ok) !important; }

/* clubs */
.dg-clubs .card-body { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 1.4rem 1.5rem !important; }
.dg-club { padding: 18px; border-radius: 14px; background: rgba(10, 11, 14, .35); border: 1px solid var(--dg-line); min-width: 0; }
.dg-club-a { box-shadow: inset 3px 0 0 #8a14d4; }
.dg-club-b { box-shadow: inset -3px 0 0 #2fd3f5; }
.dg-club-name { display: flex; align-items: center; gap: 10px; font-family: var(--dg-f-display); font-weight: 600; color: #fff; margin-bottom: 14px; }
.dg-club-name span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 .9rem/1 var(--dg-f-display); background: linear-gradient(140deg, #8a14d4, #5a3ce6); color: #fff; }
.dg-club-b .dg-club-name { justify-content: flex-end; }
.dg-club-b .dg-club-name span { background: linear-gradient(140deg, #3157ea, #2fd3f5); order: 2; }
.dg-club dl { margin: 0; display: grid; gap: 10px; }
.dg-club dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--dg-line); }
.dg-club dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dg-club dt { font-weight: 500; color: var(--dg-muted); font-size: .86rem; }
.dg-club dd { margin: 0; font: 600 1.05rem/1.2 var(--dg-f-mono); color: #fff; font-variant-numeric: tabular-nums; text-align: right; word-break: break-word; }
.dg-club-core { position: relative; display: grid; place-items: center; width: 170px; }
.dg-club-links { position: absolute; left: -30px; right: -30px; width: calc(100% + 60px); height: 60px; top: 50%; transform: translateY(-50%); z-index: 0; }
.dg-club-links path { stroke: rgba(47, 211, 245, .6); stroke-width: 2; stroke-dasharray: 5 6; fill: none; animation: dg-flow 1.2s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dg-flow { to { stroke-dashoffset: -22; } }
.dg-core-ring {
  position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 6px;
  background: radial-gradient(circle at 35% 30%, rgba(138, 20, 212, .7), rgba(49, 87, 234, .4) 60%, rgba(10, 11, 14, .95)), #15142a;
  box-shadow: 0 0 50px -10px rgba(90, 60, 230, .95), 0 0 0 1px rgba(255, 255, 255, .14) inset;
}
.dg-core-ring::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(47, 211, 245, .5); animation: dg-spin 22s linear infinite; }
.dg-core-ring small { font: 500 .62rem/1.2 var(--dg-f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dg-silver); padding: 0 14px; }
.dg-core-ring b { font: 600 1.15rem/1.1 var(--dg-f-mono); color: #fff; padding: 0 10px; word-break: break-word; }

/* referral */
.dg-ref { height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--dg-panel); border: 1px solid var(--dg-line); display: grid; gap: 12px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dg-ref-top { display: flex; align-items: center; gap: 10px; color: #fff; }
.dg-ref-top b { font-weight: 600; }
.dg-ref-badge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 800 .8rem/1 var(--dg-f-display); background: linear-gradient(140deg, #8a14d4, #5a3ce6); color: #fff; }
.dg-ref-badge.is-b { background: linear-gradient(140deg, #3157ea, #2fd3f5); }
.dg-ref-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 11px; background: rgba(10, 11, 14, .5); border: 1px dashed rgba(160, 150, 255, .3); min-width: 0; }
.dg-ref-row a { flex: 1; min-width: 0; font: 500 .8rem/1.4 var(--dg-f-mono); color: var(--dg-silver) !important; overflow-wrap: anywhere; }
.dg-copy { flex: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; font: 600 .78rem/1 var(--dg-f-body); color: #fff; background: var(--dg-grad); box-shadow: 0 8px 20px -10px rgba(90, 60, 230, .9); user-select: none; }
.dg-copy:hover { filter: brightness(1.12); }

@media (max-width: 991.98px) {
  .dg-hero { grid-template-columns: 1fr; }
  .dg-hero-actions { justify-content: flex-start; }
  .dg-clubs .card-body { grid-template-columns: 1fr; }
  .dg-club-core { width: 100%; padding: 6px 0; }
  .dg-club-links { display: none; }
  .dg-club-b .dg-club-name { justify-content: flex-start; }
  .dg-club-b .dg-club-name span { order: 0; }
}
@media (max-width: 575.98px) {
  .dg-cap-grid { grid-template-columns: 1fr; }
  .dg-hero-actions .dg-btn { flex: 1 1 auto; justify-content: center; }
  .dg-news { flex-direction: column; align-items: flex-start; }
  .dg-news-track { width: 100%; }
}

/* ==========================================================================
   Auth pages (sign in, register, forgot password, account created, 404)
   ========================================================================== */
body.dg-auth { min-height: 100vh; }
body.dg-auth .authentication { position: relative; z-index: 1; min-height: 100vh; }
body.dg-auth .authentication > [class*=col-] { min-height: 100vh; }
body.dg-auth .authentication-cover { background: transparent !important; height: 100%; min-height: 100vh; padding: 28px; }
body.dg-auth .authentication-cover::before, body.dg-auth .authentication-cover::after { display: none !important; }
body.dg-auth .authentication-cover-image { display: none !important; }
.dg-auth-home {
  position: fixed; z-index: 5; top: calc(18px + env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font: 500 .85rem/1 var(--dg-f-body);
  color: var(--dg-silver) !important; text-decoration: none; background: rgba(17, 16, 34, .7); border: 1px solid var(--dg-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, color .2s;
}
.dg-auth-home:hover { border-color: rgba(47, 211, 245, .6); color: #fff !important; }

.dg-auth-brand {
  position: relative; overflow: hidden; height: 100%; min-height: calc(100vh - 56px); border-radius: 26px; padding: 40px 44px;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 26px;
  background:
    radial-gradient(520px 340px at 85% 10%, rgba(47, 211, 245, .16), transparent 70%),
    linear-gradient(150deg, rgba(138, 20, 212, .38), rgba(49, 87, 234, .22) 55%, rgba(10, 11, 14, .4)),
    rgba(17, 16, 34, .72);
  border: 1px solid rgba(160, 150, 255, .26);
  box-shadow: 0 40px 90px -50px rgba(90, 60, 230, 1), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dg-auth-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,
              linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%); mask: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}
.dg-auth-logo { position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.dg-auth-logo img { height: 42px; width: auto; }
.dg-auth-logo span { font: 600 .62rem/1 var(--dg-f-mono); letter-spacing: .32em; color: var(--dg-silver); border: 1px solid var(--dg-line-strong); padding: 5px 7px; border-radius: 4px; }
.dg-auth-orb { position: relative; justify-self: center; align-self: center; width: min(320px, 70%); aspect-ratio: 1; }
.dg-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(47, 211, 245, .45); animation: dg-spin 30s linear infinite; }
.dg-orb-ring.r1::before { content: ""; position: absolute; top: -5px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--dg-cyan); box-shadow: 0 0 14px var(--dg-cyan); }
.dg-orb-ring.r2 { inset: 12%; border: 1px solid rgba(160, 150, 255, .25); animation-duration: 18s; animation-direction: reverse; }
.dg-orb-ring.r2::before { content: ""; position: absolute; bottom: -4px; left: 50%; margin-left: -4px; width: 8px; height: 8px; border-radius: 2px; background: #a996ff; box-shadow: 0 0 12px #a996ff; transform: rotate(45deg); }
.dg-orb-core {
  position: absolute; inset: 24%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(30, 24, 64, .95), rgba(12, 12, 24, .95) 70%);
  box-shadow: 0 0 0 1px rgba(160, 150, 255, .3) inset, 0 0 60px -6px rgba(138, 20, 212, .8), 0 0 120px -20px rgba(49, 87, 234, .9);
  animation: dg-breathe 4s ease-in-out infinite;
}
.dg-orb-core img { width: 86%; filter: drop-shadow(0 0 12px rgba(138, 20, 212, .65)); }
@keyframes dg-breathe { 50% { box-shadow: 0 0 0 1px rgba(160, 150, 255, .45) inset, 0 0 80px -2px rgba(138, 20, 212, .95), 0 0 150px -10px rgba(49, 87, 234, 1); } }
.dg-orb-block { position: absolute; width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(140deg, #8a14d4, #3157ea); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 14px rgba(90, 60, 230, .9); animation: dg-float 5s ease-in-out infinite; }
.dg-orb-block.b1 { top: 6%; right: 10%; }
.dg-orb-block.b2 { bottom: 14%; left: 2%; width: 14px; height: 14px; animation-delay: -1.6s; background: linear-gradient(140deg, #3157ea, #2fd3f5); }
.dg-orb-block.b3 { bottom: 2%; right: 22%; width: 11px; height: 11px; animation-delay: -3s; }
@keyframes dg-float { 50% { transform: translateY(-10px) rotate(12deg); } }
.dg-auth-copy { position: relative; display: grid; gap: 14px; max-width: 46ch; }
.dg-auth-copy h1 { font-family: var(--dg-f-display); font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.1; margin: 0; color: #fff; letter-spacing: -.02em; text-wrap: balance; }
.dg-auth-copy p { color: var(--dg-silver); margin: 0; font-size: 1rem; line-height: 1.6; }
.dg-auth-points { position: relative; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--dg-line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dg-auth-points li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dg-auth-points i { color: var(--dg-cyan); font-size: 1.3rem; }
.dg-auth-points span { display: grid; font-size: .76rem; color: var(--dg-muted); line-height: 1.3; }
.dg-auth-points b { font: 600 .82rem/1.3 var(--dg-f-mono); color: #fff; }

/* form card */
body.dg-auth .card.custom-card {
  background: rgba(19, 18, 38, .78) !important; border-radius: 22px !important; border-color: rgba(160, 150, 255, .22) !important;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1), 0 0 80px -40px rgba(122, 92, 255, .7) !important;
}
body.dg-auth .card.custom-card::before {
  content: ""; position: absolute; inset: -1px 28px auto; height: 2px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #8a14d4, #5a3ce6, #2fd3f5); box-shadow: 0 0 14px rgba(90, 60, 230, .9);
}
body.dg-auth .card-body { padding: clamp(24px, 4vw, 44px) !important; }
body.dg-auth .card-body p.h5 { font-family: var(--dg-f-display); font-weight: 600; font-size: 1.45rem; color: #fff; margin-top: 6px; }
body.dg-auth .card-body .desktop-dark { height: 60px !important; width: auto !important; }
body.dg-auth .btn-primary { min-height: 48px; font-size: 1rem; }
body.dg-auth .form-label { font-size: .86rem; }
body.dg-auth .form-label a.float-end { color: var(--dg-cyan) !important; font-weight: 500; }
body.dg-auth .table th, body.dg-auth .table td { padding: .75rem .9rem; }
body.dg-auth .table th { font: 600 .7rem/1.4 var(--dg-f-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--dg-muted) !important; background: transparent !important; text-transform: uppercase; }
body.dg-auth .table td { font-family: var(--dg-f-mono); color: #fff !important; overflow-wrap: anywhere; }
body.dg-auth .table tr { border-color: var(--dg-line) !important; }
.dg-success-ico { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(62, 224, 161, .12); border: 1px solid rgba(62, 224, 161, .5); box-shadow: 0 0 40px -10px rgba(62, 224, 161, .8); }
.dg-success-ico i { color: var(--dg-ok); font-size: 2rem; }
@media (max-width: 1199.98px) {
  body.dg-auth .authentication > [class*=col-] { min-height: auto; }
  body.dg-auth .authentication .h-100 { min-height: 100vh; padding: 64px 0 24px; }
}

/* 404 */
.dg-404 { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
.dg-404-inner { display: grid; gap: 18px; justify-items: center; max-width: 520px; }
.dg-404-code { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--dg-f-display); letter-spacing: -.04em; background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(90, 60, 230, .6)); }
.dg-404 h1 { font-family: var(--dg-f-display); font-weight: 600; font-size: 1.4rem; margin: 0; color: #fff; }
.dg-404 p { color: var(--dg-muted); margin: 0; }
.dg-404-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
/* account created */
body.dg-auth .table td { width: auto !important; text-align: right; }
body.dg-auth .table th { white-space: nowrap; width: 42%; }
body.dg-auth .card-body h3.text-center { font-family: var(--dg-f-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
body.dg-auth .card-body h4.text-primary { font-weight: 600; }
body.dg-auth .card-body h6.text-success { text-align: center; font-weight: 500; font-size: .95rem; line-height: 1.55; }
body.dg-auth .card-body .d-flex.gap-2 > .btn { flex: 1 1 160px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: .92rem !important; padding: 10px 16px; }
/* leftovers from the template's green palette */
.card-body.bg-primary, .card-header.bg-primary { background: linear-gradient(110deg, rgba(138, 20, 212, .55), rgba(49, 87, 234, .45)) !important; }
.form-select option, .form-select option.text-dark, select option { background: #15142a !important; color: #ecebf7 !important; }
