/* Legacy base skin retained beneath the WYD Apex visual system */
:root {
  --wyd2-black: #07080c;
  --wyd2-ink: #0d1017;
  --wyd2-panel: #151922;
  --wyd2-panel-soft: #1d222c;
  --wyd2-gold: #f0c46a;
  --wyd2-gold-soft: #ffe2a3;
  --wyd2-red: #d71920;
  --wyd2-red-dark: #7e1116;
  --wyd2-blue: #3f7ea6;
  --wyd2-text: #f7efe3;
  --wyd2-muted: #b9ad9b;
  --wyd2-line: rgba(240, 196, 106, .22);
  --wyd2-radius: 8px;
  --wyd2-shadow: 0 22px 60px rgba(0, 0, 0, .42);
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 25, 32, .22), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(63, 126, 166, .18), transparent 28%),
    linear-gradient(180deg, rgba(7, 8, 12, .58), rgba(7, 8, 12, .98)),
    url("../images/bg3.jpg") top center / cover fixed !important;
  color: var(--wyd2-text);
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(rgba(240, 196, 106, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 196, 106, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: .34;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-premium,
.navbar-dark.nav-premium {
  background: rgba(7, 8, 12, .9) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .28) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5) !important;
  min-height: 86px;
}

.nav-premium .container {
  max-width: 1240px;
}

.navbar-brand {
  align-items: center;
  gap: 12px;
}

.wyd2-menu-logo {
  display: block;
  height: 64px !important;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

.wyd2-brand-text {
  color: var(--wyd2-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .86);
}

.wyd2-hero-logo {
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .72)) drop-shadow(0 0 28px rgba(215, 25, 32, .18));
  margin-top: 14px;
}

.nav-premium .nav-link {
  border-radius: var(--wyd2-radius);
  color: rgba(247, 239, 227, .82) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .08em !important;
  margin: 0 2px;
  padding: 11px 13px !important;
  text-transform: uppercase;
}

.nav-premium .nav-link:hover,
.nav-premium .nav-link:focus {
  background: rgba(240, 196, 106, .09);
  color: var(--wyd2-gold-soft) !important;
  text-shadow: 0 0 14px rgba(240, 196, 106, .44);
}

.btn-premium,
.btn-premium-solid,
.buy-btn,
.btn-primary,
.btn-success,
.btn-info {
  border-radius: var(--wyd2-radius) !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-premium {
  background: rgba(255, 255, 255, .045) !important;
  border: 1px solid rgba(240, 196, 106, .38) !important;
  color: var(--wyd2-gold-soft) !important;
}

.btn-premium-solid,
.buy-btn,
.btn-primary,
.btn-success,
.btn-info {
  background: linear-gradient(180deg, #ee2630 0%, #8b1217 100%) !important;
  border: 1px solid rgba(255, 226, 163, .34) !important;
  box-shadow: 0 14px 32px rgba(215, 25, 32, .24) !important;
  color: #fff !important;
}

.btn-premium:hover,
.btn-premium-solid:hover,
.buy-btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
  box-shadow: 0 18px 40px rgba(215, 25, 32, .32), 0 0 26px rgba(240, 196, 106, .16) !important;
  transform: translateY(-1px);
}

body > .container[style*="margin-top: 100px"] {
  margin-top: 112px !important;
  min-height: 360px;
  position: relative;
}

body > .container[style*="margin-top: 100px"]::before {
  background: url("../images/wyd2-logo.png") no-repeat center / contain;
  content: "";
  height: min(28vw, 260px);
  left: 50%;
  max-width: 780px;
  opacity: .94;
  pointer-events: none;
  position: absolute;
  top: 34px;
  transform: translateX(-50%);
  width: min(82vw, 780px);
}

.container[style*="margin-top: -370px"] {
  margin-top: -230px !important;
  max-width: 1240px;
}

.card-affiliate-logo,
.card-body.nav-premium,
.pack-card,
.modal-content,
.table-responsive,
.footer-premium,
.content-body .card,
.panel,
.widget-summary,
.invoice,
.timeline .tm-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(29, 34, 44, .95), rgba(12, 14, 20, .96)) !important;
  border: 1px solid var(--wyd2-line) !important;
  border-radius: var(--wyd2-radius) !important;
  box-shadow: var(--wyd2-shadow) !important;
  color: var(--wyd2-text) !important;
}

.card-affiliate-logo b,
.pack-title,
.modal-title,
.title,
h1,
h2,
h3,
h4,
h5 {
  color: var(--wyd2-text) !important;
}

.card-affiliate-logo > b,
.footer-premium .copy,
.modal-title {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-body.nav-premium {
  padding: 18px;
}

.nav-tabs {
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  gap: 8px;
}

.nav-tabs .nav-link {
  background: rgba(7, 8, 12, .48) !important;
  border: 1px solid rgba(240, 196, 106, .16) !important;
  border-radius: var(--wyd2-radius) var(--wyd2-radius) 0 0 !important;
  color: rgba(247, 239, 227, .78) !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  background: linear-gradient(180deg, rgba(215, 25, 32, .32), rgba(126, 17, 22, .22)) !important;
  border-color: rgba(240, 196, 106, .34) !important;
  color: var(--wyd2-gold-soft) !important;
}

.table,
.table td,
.table th {
  border-color: rgba(240, 196, 106, .12) !important;
  color: rgba(247, 239, 227, .82) !important;
}

.table thead th,
.table-modern thead th,
.dataTable-table thead th {
  background: rgba(7, 8, 12, .74) !important;
  color: var(--wyd2-gold-soft) !important;
  text-transform: uppercase;
}

.table tbody tr,
.table-modern tbody tr,
.dataTable-table tbody tr {
  background: rgba(7, 8, 12, .38) !important;
}

.table tbody tr:hover,
.table-modern tbody tr:hover,
.dataTable-table tbody tr:hover {
  background: rgba(240, 196, 106, .08) !important;
}

.badge,
.badge-primary {
  border-radius: var(--wyd2-radius) !important;
  font-weight: 900;
  letter-spacing: .04em;
}

.modal-header,
.modal-footer {
  border-color: rgba(240, 196, 106, .16) !important;
}

.modal .form-control,
.form-control,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"] {
  background: #0a0c11 !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  border-radius: var(--wyd2-radius) !important;
  color: var(--wyd2-text) !important;
}

.input-group-text {
  background: rgba(240, 196, 106, .12) !important;
  border-color: rgba(240, 196, 106, .22) !important;
  color: var(--wyd2-gold-soft) !important;
}

.footer-premium {
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  margin-top: 40px;
}

.footer-premium .footer-links a {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(240, 196, 106, .28) !important;
  border-radius: var(--wyd2-radius) !important;
  color: var(--wyd2-gold-soft) !important;
  text-decoration: none;
}

.footer-premium .footer-links a:hover {
  background: linear-gradient(180deg, #ee2630, #8b1217) !important;
  color: #fff !important;
}

/* Account/control panel */
.header {
  background: rgba(7, 8, 12, .92) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .24) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42) !important;
}

.logo-container .logo {
  align-items: center;
  background: url("../images/wyd2-logo.png") no-repeat left center / contain;
  display: flex;
  height: 60px;
  min-width: 170px;
}

.inner-wrapper,
.content-body,
.tab-navigation {
  background: transparent !important;
}

.tab-navigation {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    #10141c !important;
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
}

.tab-navigation nav > ul > li > a,
.nav-pills .nav-link {
  color: rgba(247, 239, 227, .76) !important;
  font-weight: 800;
}

.tab-navigation nav > ul > li > a:hover,
.tab-navigation nav > ul > li.nav-active > a,
.nav-pills .nav-link.active {
  background: linear-gradient(90deg, rgba(215, 25, 32, .26), rgba(240, 196, 106, .07)) !important;
  color: var(--wyd2-gold-soft) !important;
}

.dropdown-menu {
  background: #10141c !important;
  border: 1px solid rgba(240, 196, 106, .2) !important;
  border-radius: var(--wyd2-radius) !important;
  box-shadow: var(--wyd2-shadow) !important;
}

.dropdown-menu a {
  color: rgba(247, 239, 227, .78) !important;
}

.dropdown-menu a:hover {
  background: rgba(240, 196, 106, .08) !important;
  color: var(--wyd2-gold-soft) !important;
}

.userbox .profile-info .name,
.userbox .profile-info .role,
.notification-menu .notification-title,
.notification-menu .title,
.notification-menu .message {
  color: var(--wyd2-text) !important;
}

/* Panel login */
.body-sign {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 36px);
  padding: 42px 16px;
}

.body-sign .center-sign {
  max-width: 480px;
  width: min(480px, calc(100vw - 32px));
}

.body-sign .logo.float-left {
  display: flex !important;
  float: none !important;
  justify-content: center;
  margin: 0 0 16px;
}

.body-sign .logo img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .62));
  height: auto !important;
  max-width: 230px;
}

.body-sign .panel.card-sign {
  background: rgba(7, 8, 12, .84) !important;
  border: 1px solid rgba(240, 196, 106, .28) !important;
  border-radius: var(--wyd2-radius) !important;
  box-shadow: var(--wyd2-shadow) !important;
  overflow: hidden;
}

.body-sign .card-title-sign {
  margin: 0 !important;
  text-align: center !important;
}

.body-sign .card-title-sign .title {
  background: linear-gradient(90deg, rgba(130, 16, 18, .9), rgba(12, 15, 22, .96)) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .3);
  color: var(--wyd2-gold-soft) !important;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 15px 20px;
}

.body-sign .card-sign .card-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    rgba(8, 10, 15, .94) !important;
  color: var(--wyd2-text) !important;
  padding: 30px !important;
}

.body-sign .form-group label,
.body-sign .checkbox-custom label {
  color: rgba(247, 239, 227, .84) !important;
  font-weight: 800;
}

.body-sign .form-control {
  height: 48px;
}

.body-sign .input-group-text {
  min-width: 48px;
  justify-content: center;
}

.body-sign .btn-dark,
.body-sign .btn-primary {
  background: linear-gradient(180deg, #e52b31, #8d1217) !important;
  border: 1px solid rgba(255, 210, 122, .28) !important;
  border-radius: var(--wyd2-radius) !important;
  box-shadow: 0 12px 22px rgba(210, 24, 31, .24) !important;
  color: #fff !important;
  font-weight: 800;
}

.body-sign a {
  color: var(--wyd2-gold-soft) !important;
  font-weight: 800;
}

.body-sign + p,
.body-sign .text-muted {
  color: rgba(247, 239, 227, .64) !important;
}

@media (max-width: 991px) {
  .nav-premium {
    min-height: 74px;
  }

  .wyd2-menu-logo {
    height: 50px !important;
    max-width: 150px;
  }

  .wyd2-brand-text {
    display: none;
  }

  body > .container[style*="margin-top: 100px"] {
    min-height: 260px;
  }

  .container[style*="margin-top: -370px"] {
    margin-top: -150px !important;
  }
}

@media (max-width: 767px) {
  .nav-premium .navbar-collapse {
    background: rgba(7, 8, 12, .98);
    border: 1px solid rgba(240, 196, 106, .2);
    border-radius: var(--wyd2-radius);
    margin-top: 10px;
    padding: 12px;
  }

  .table-responsive {
    border: 0 !important;
  }
}

/* WYD2 full redesign pass */
.wyd2-hero {
  min-height: 560px;
  padding-top: 130px;
  position: relative;
}

.wyd2-hero::before {
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .05), rgba(7, 8, 12, .86)),
    linear-gradient(90deg, rgba(215, 25, 32, .22), transparent 42%, rgba(63, 126, 166, .18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.wyd2-hero center {
  position: relative;
  z-index: 1;
}

.wyd2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.wyd2-hero-actions .btn {
  min-width: 150px;
  padding: 12px 18px !important;
}

.wyd2-home-main {
  margin-top: -120px !important;
  max-width: 1240px !important;
  position: relative;
  z-index: 3;
}

.wyd2-quick-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.wyd2-quick-card {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(20,24,33,.96), rgba(8,10,15,.96));
  border: 1px solid rgba(240,196,106,.24);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0,0,0,.36);
  color: var(--wyd2-text) !important;
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 112px;
  padding: 18px;
  text-align: left;
  text-decoration: none !important;
}

.wyd2-quick-card:hover {
  border-color: rgba(255,226,163,.46);
  transform: translateY(-2px);
}

.wyd2-quick-icon {
  align-items: center;
  background: linear-gradient(180deg, #e52b31, #8d1217);
  border: 1px solid rgba(255,226,163,.35);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.wyd2-quick-card strong {
  color: var(--wyd2-gold-soft);
  display: block;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wyd2-quick-card small {
  color: rgba(247,239,227,.72);
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.wyd2-home-section,
.wyd2-ranking-card {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wyd2-section-title {
  background:
    linear-gradient(90deg, rgba(130,16,18,.92), rgba(16,19,27,.96)) !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding: 16px 20px !important;
}

.wyd2-section-title b {
  color: var(--wyd2-gold-soft) !important;
  font-size: 15px;
  letter-spacing: .12em;
}

.wyd2-section-panel {
  border-radius: 0 0 8px 8px !important;
  margin-bottom: 20px;
  padding: 22px !important;
}

.wyd2-section-panel .d-flex.small,
.modal-content .d-flex.small {
  background: rgba(7,8,12,.46);
  border: 1px solid rgba(240,196,106,.12);
  border-radius: 8px;
  margin-top: 10px !important;
  padding: 12px 14px;
}

.wyd2-section-panel table[width],
.modal-content table[width] {
  table-layout: auto;
  width: 100% !important;
}

.wyd2-section-panel td,
.modal-content td {
  padding: 6px 8px;
  vertical-align: middle;
}

.wyd2-section-panel a,
.modal-content a {
  color: var(--wyd2-text);
}

.wyd2-section-panel a:hover,
.modal-content a:hover {
  color: var(--wyd2-gold-soft);
}

.table-responsive {
  overflow-x: auto;
}

.table {
  margin-bottom: 0;
}

.table th,
.table td {
  padding: 12px 10px !important;
}

.wyd2-social-section iframe,
.wyd2-social-section .fb-page {
  border: 1px solid rgba(240,196,106,.16) !important;
  border-radius: 8px;
  max-width: 100%;
  overflow: hidden;
}

.container[style*="margin-top: -383px"] {
  margin-top: -120px !important;
  max-width: 1180px;
  position: relative;
  z-index: 3;
}

.card-affiliate.card,
.card-affiliate .card-body,
.container[style*="margin-top: -383px"] .card,
.container[style*="margin-top: -383px"] .card-body {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(29,34,44,.96), rgba(9,11,16,.97)) !important;
  border: 1px solid rgba(240,196,106,.22) !important;
  border-radius: 8px !important;
  color: var(--wyd2-text) !important;
  box-shadow: var(--wyd2-shadow) !important;
}

.bg-white,
.container[style*="margin-top: -383px"] .bg-white {
  background: linear-gradient(90deg, rgba(130,16,18,.92), rgba(16,19,27,.96)) !important;
  border: 1px solid rgba(240,196,106,.24) !important;
  color: var(--wyd2-gold-soft) !important;
}

.container[style*="margin-top: -383px"] label,
.container[style*="margin-top: -383px"] p,
.container[style*="margin-top: -383px"] center,
.container[style*="margin-top: -383px"] li {
  color: rgba(247,239,227,.82) !important;
}

.container[style*="margin-top: -383px"] font[color="#0000"] {
  color: rgba(247,239,227,.82) !important;
}

/* Control panel redesign */
.wyd2-panel-shell {
  background: transparent !important;
}

.wyd2-panel-header.header {
  min-height: 76px;
}

.wyd2-panel-logo-text {
  color: var(--wyd2-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-left: 86px;
  text-shadow: 0 4px 18px rgba(0,0,0,.78);
}

.header-right,
.search.nav-form .form-control,
.search.nav-form .btn {
  background: rgba(7,8,12,.52) !important;
  border-color: rgba(240,196,106,.18) !important;
}

.content-body {
  padding: 28px !important;
}

.wyd2-dashboard-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(130,16,18,.82), rgba(12,15,22,.96)),
    url("../images/bg3.jpg") center / cover;
  border: 1px solid rgba(240,196,106,.26);
  border-radius: 8px;
  box-shadow: var(--wyd2-shadow);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 26px;
}

.wyd2-kicker {
  color: var(--wyd2-gold-soft);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.wyd2-dashboard-hero h1,
.wyd2-panel-section h2 {
  color: #fff !important;
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

.wyd2-dashboard-hero p {
  color: rgba(247,239,227,.78);
  margin: 8px 0 0;
  max-width: 680px;
}

.wyd2-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.wyd2-panel-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.wyd2-panel-card,
.wyd2-panel-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(29,34,44,.96), rgba(8,10,15,.97));
  border: 1px solid rgba(240,196,106,.22);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  color: var(--wyd2-text);
}

.wyd2-panel-card {
  min-height: 118px;
  padding: 20px;
}

.wyd2-panel-card-icon {
  align-items: center;
  background: rgba(240,196,106,.12);
  border: 1px solid rgba(240,196,106,.24);
  border-radius: 8px;
  color: var(--wyd2-gold-soft);
  display: flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 12px;
  width: 42px;
}

.wyd2-panel-card small {
  color: rgba(247,239,227,.62);
  display: block;
  font-weight: 800;
  text-transform: uppercase;
}

.wyd2-panel-card strong {
  color: var(--wyd2-text);
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.wyd2-panel-section {
  padding: 20px;
}

.wyd2-panel-section-head {
  align-items: center;
  border-bottom: 1px solid rgba(240,196,106,.14);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.wyd2-date {
  color: rgba(247,239,227,.62);
  font-weight: 800;
}

.wyd2-account-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.wyd2-account-list div {
  background: rgba(7,8,12,.44);
  border: 1px solid rgba(240,196,106,.12);
  border-radius: 8px;
  padding: 12px;
}

.wyd2-account-list dt {
  color: var(--wyd2-gold-soft);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wyd2-account-list dd {
  color: rgba(247,239,227,.82);
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.content-body .card-body,
.content-body .card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(29,34,44,.95), rgba(12,14,20,.96)) !important;
  border: 1px solid rgba(240,196,106,.2) !important;
  border-radius: 8px !important;
  color: var(--wyd2-text) !important;
}

@media (max-width: 991px) {
  .wyd2-hero { min-height: 500px; padding-top: 110px; }
  .wyd2-home-main { margin-top: -90px !important; }
  .wyd2-quick-grid,
  .wyd2-panel-cards { grid-template-columns: 1fr; }
  .wyd2-dashboard-hero { align-items: flex-start; flex-direction: column; }
  .wyd2-dashboard-actions { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .wyd2-hero-actions .btn,
  .wyd2-dashboard-actions .btn { width: 100%; }
  .wyd2-section-panel { padding: 16px !important; }
  .content-body { padding: 18px !important; }
  .wyd2-panel-logo-text { display: none; }
}

/* Final specificity fixes */
.container.wyd2-home-main[style*="margin-top: -370px"] {
  margin-top: -120px !important;
}

.wyd2-home-main > .col-md-12,
.wyd2-home-main > .col-md-12 > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wyd2-home-main .nav-tabs {
  justify-content: center;
}

.wyd2-home-main .badge-primary {
  min-width: 92px;
  padding: 7px 10px;
}

@media (max-width: 991px) {
  .container.wyd2-home-main[style*="margin-top: -370px"] {
    margin-top: -80px !important;
  }
}

/* Remove old empty logo spacer from the previous template */
body > .wyd2-legacy-hero-spacer,
body > .wyd2-legacy-hero-spacer::before {
  display: none !important;
  min-height: 0 !important;
}

body > .container[style*="margin-top: 100px"]:not(.wyd2-home-main) {
  display: none !important;
  min-height: 0 !important;
}

.wrapper .wyd2-hero {
  margin-top: 86px;
}

/* Hero/card refinement after visual review */
.wyd2-hero-logo {
  width: min(560px, 76vw) !important;
}

.container.wyd2-home-main[style*="margin-top: -370px"] {
  margin-top: 10px !important;
}

.wyd2-quick-icon {
  grid-row: 1 / span 2;
}

.wyd2-quick-card strong,
.wyd2-quick-card small {
  grid-column: 2;
}

.wyd2-quick-card {
  grid-template-columns: 62px minmax(0, 1fr);
}

@media (max-width: 991px) {
  .container.wyd2-home-main[style*="margin-top: -370px"] {
    margin-top: 0 !important;
  }
}

/* WYD2 alignment repair pass */
.nav-premium {
  min-height: 78px !important;
  padding: 8px 0 !important;
}

.nav-premium .container {
  align-items: center !important;
  display: flex !important;
  max-width: 1200px !important;
}

.navbar-brand.wyd2-brand-logo {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 148px !important;
  margin: 0 28px 0 0 !important;
  max-width: 148px !important;
  padding: 0 !important;
}

.wyd2-brand-text {
  display: none !important;
}

.wyd2-menu-logo {
  height: auto !important;
  max-height: 58px !important;
  max-width: 148px !important;
  object-fit: contain !important;
  width: auto !important;
}

.nav-premium .navbar-nav {
  align-items: center !important;
  gap: 8px !important;
}

.nav-premium .nav-link {
  line-height: 1 !important;
  padding: 11px 12px !important;
  white-space: nowrap !important;
}

.nav-premium .navbar-collapse > .d-flex {
  align-items: center !important;
  gap: 10px !important;
}

.nav-premium .navbar-collapse > .d-flex .btn {
  margin: 0 !important;
  white-space: nowrap !important;
}

.wrapper.wyd2-hero-wrap {
  margin: 0 !important;
}

.wrapper .wyd2-hero {
  margin-top: 78px !important;
}

.wyd2-hero {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 500px !important;
  overflow: hidden !important;
  padding: 54px 16px 38px !important;
}

.wyd2-hero-inner {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
  width: min(1120px, 100%) !important;
  z-index: 1 !important;
}

.wyd2-hero-logo-link {
  display: block !important;
  line-height: 0 !important;
}

.wyd2-hero-logo {
  height: auto !important;
  margin: 0 !important;
  max-height: 260px !important;
  object-fit: contain !important;
  width: min(520px, 72vw) !important;
}

.wyd2-hero-actions {
  margin-top: 24px !important;
  width: auto !important;
}

.wyd2-hero-actions .btn {
  min-width: 146px !important;
}

.container.wyd2-home-main,
.container.wyd2-home-main[style*="margin-top"] {
  margin-top: 22px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.wyd2-quick-grid {
  align-items: stretch !important;
  margin-bottom: 24px !important;
}

.wyd2-quick-card {
  grid-template-columns: 56px minmax(0, 1fr) !important;
  min-height: 104px !important;
  padding: 20px !important;
}

.wyd2-quick-icon {
  height: 52px !important;
  width: 52px !important;
}

.wyd2-section-panel {
  overflow: hidden !important;
}

.wyd2-section-panel .table,
.wyd2-section-panel table {
  max-width: 100% !important;
  table-layout: auto !important;
  width: 100% !important;
}

.wyd2-section-panel td,
.wyd2-section-panel th {
  vertical-align: middle !important;
}

.wyd2-section-panel .d-flex.justify-content-between {
  width: 100% !important;
}

.body-sign {
  min-height: 100vh !important;
  padding: 34px 16px !important;
}

.body-sign .center-sign {
  max-width: 430px !important;
  width: min(430px, calc(100vw - 32px)) !important;
}

.body-sign .logo.float-left {
  margin: 0 0 18px !important;
}

.body-sign .logo img {
  max-width: 205px !important;
}

.body-sign .panel.card-sign {
  border-radius: 8px !important;
}

.body-sign .card-title-sign .title {
  font-size: 13px !important;
  letter-spacing: .08em !important;
  padding: 14px 18px !important;
  text-align: center !important;
}

.body-sign .card-sign .card-body {
  padding: 28px !important;
}

.body-sign .form-control {
  height: 46px !important;
}

.body-sign .input-group-text {
  min-width: 46px !important;
}

.body-sign .checkbox-custom {
  margin-top: 0 !important;
}

.body-sign .btn-premium-solid {
  min-height: 42px !important;
  min-width: 112px !important;
}

.body-sign .text-muted {
  color: rgba(247, 239, 227, .68) !important;
  font-size: 13px !important;
}

.wyd2-panel-header.header {
  background: rgba(8, 10, 15, .96) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .24) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .32) !important;
  min-height: 70px !important;
}

.wyd2-panel-header .logo-container {
  align-items: center !important;
  display: flex !important;
  height: 70px !important;
  padding-left: 22px !important;
  width: 220px !important;
}

.wyd2-panel-brand {
  align-items: center !important;
  display: flex !important;
  height: 70px !important;
  line-height: 0 !important;
  padding: 0 !important;
}

.wyd2-panel-logo {
  height: auto !important;
  max-height: 54px !important;
  max-width: 132px !important;
  object-fit: contain !important;
  width: auto !important;
}

.wyd2-panel-logo-text {
  display: none !important;
}

.wyd2-panel-header .header-right {
  align-items: center !important;
  display: flex !important;
  min-height: 70px !important;
}

.wyd2-panel-header .search .form-control {
  background: #090c12 !important;
  border-color: rgba(240, 196, 106, .22) !important;
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .inner-wrapper,
.wyd2-dashboard.content-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(215, 25, 32, .12), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(63, 126, 166, .12), transparent 34%),
    #0b0d13 !important;
}

.wyd2-panel-shell .tab-navigation {
  background: rgba(13, 16, 23, .98) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22) !important;
}

.wyd2-panel-shell .tab-navigation nav > ul {
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
}

.wyd2-panel-shell .tab-navigation .nav > li > a,
.wyd2-panel-shell .tab-navigation .nav-link {
  border-radius: 8px !important;
  color: rgba(247, 239, 227, .82) !important;
  font-weight: 800 !important;
  padding: 10px 14px !important;
}

.wyd2-panel-shell .tab-navigation .nav > li.nav-active > a,
.wyd2-panel-shell .tab-navigation .nav-link:hover {
  background: linear-gradient(180deg, rgba(229, 43, 49, .92), rgba(141, 18, 23, .92)) !important;
  color: #fff !important;
}

.wyd2-panel-shell .dropdown-menu {
  background: #111720 !important;
  border: 1px solid rgba(240, 196, 106, .18) !important;
  border-radius: 8px !important;
}

.wyd2-dashboard.content-body {
  margin-left: 0 !important;
  min-height: calc(100vh - 130px) !important;
  padding: 26px !important;
}

.wyd2-dashboard-hero {
  border-radius: 8px !important;
  margin-bottom: 18px !important;
  padding: 24px !important;
}

.wyd2-panel-cards {
  gap: 14px !important;
}

.wyd2-panel-card {
  min-height: 108px !important;
  padding: 18px !important;
}

.wyd2-panel-section .table {
  color: var(--wyd2-text) !important;
}

.wyd2-panel-section .table td,
.wyd2-panel-section .table th {
  border-color: rgba(240, 196, 106, .14) !important;
}

@media (max-width: 991px) {
  .nav-premium .container {
    align-items: center !important;
  }

  .navbar-brand.wyd2-brand-logo {
    flex-basis: 130px !important;
    max-width: 130px !important;
  }

  .wyd2-menu-logo {
    max-height: 52px !important;
    max-width: 130px !important;
  }

  .nav-premium .navbar-collapse {
    background: rgba(8, 10, 15, .98) !important;
    border: 1px solid rgba(240, 196, 106, .18) !important;
    border-radius: 8px !important;
    margin-top: 12px !important;
    padding: 14px !important;
  }

  .wrapper .wyd2-hero {
    margin-top: 74px !important;
  }

  .wyd2-hero {
    min-height: 420px !important;
    padding-top: 44px !important;
  }

  .container.wyd2-home-main,
  .container.wyd2-home-main[style*="margin-top"] {
    margin-top: 18px !important;
  }

  .wyd2-quick-grid,
  .wyd2-panel-cards {
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-header .logo-container {
    width: 170px !important;
  }

  .wyd2-panel-header .search {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .wyd2-hero-actions {
    width: min(320px, 100%) !important;
  }

  .wyd2-hero-actions .btn {
    width: 100% !important;
  }

  .wyd2-quick-card {
    min-height: 96px !important;
    padding: 16px !important;
  }

  .body-sign .card-sign .card-body {
    padding: 22px !important;
  }
}

/* WYD2 final full-width and panel repair */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.nav-premium.fixed-top {
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
}

.nav-premium .container {
  margin-left: auto !important;
  margin-right: auto !important;
  width: min(1200px, calc(100vw - 48px)) !important;
}

.wrapper.wyd2-hero-wrap {
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  position: relative !important;
  right: 50% !important;
  width: 100vw !important;
}

.wrapper.wyd2-hero-wrap .header.wyd2-hero {
  border-bottom: 1px solid rgba(240, 196, 106, .24) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

.wyd2-hero {
  min-height: 480px !important;
  padding-bottom: 36px !important;
  padding-top: 48px !important;
}

.wyd2-hero::before {
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .10), rgba(7, 8, 12, .90)),
    linear-gradient(90deg, rgba(215, 25, 32, .24), rgba(4, 8, 14, .44) 52%, rgba(63, 126, 166, .18)) !important;
}

.wyd2-hero-inner {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1160px !important;
  width: min(1160px, calc(100vw - 32px)) !important;
}

.wyd2-hero-logo {
  max-height: 250px !important;
  width: min(500px, 70vw) !important;
}

.container.wyd2-home-main,
.container.wyd2-home-main[style*="margin-top"] {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 22px !important;
  max-width: 1200px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: min(1200px, calc(100vw - 48px)) !important;
}

.wyd2-home-main > .col-md-12,
.wyd2-home-main > .row,
.wyd2-home-main .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wyd2-home-main > .col-md-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wyd2-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.wyd2-quick-card {
  align-content: center !important;
  gap: 0 14px !important;
  overflow: hidden !important;
}

.wyd2-quick-card strong,
.wyd2-quick-card small {
  min-width: 0 !important;
}

.wyd2-section-title {
  align-items: center !important;
  border-radius: 8px 8px 0 0 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 58px !important;
  padding: 14px 18px !important;
  width: 100% !important;
}

.wyd2-section-panel {
  border-radius: 0 0 8px 8px !important;
  width: 100% !important;
}

.wyd2-home-main table {
  border-collapse: collapse !important;
  max-width: 100% !important;
  table-layout: auto !important;
  width: 100% !important;
}

.wyd2-home-main table td:first-child {
  width: 118px !important;
}

.wyd2-home-main table td:last-child {
  text-align: right !important;
  white-space: nowrap !important;
  width: 112px !important;
}

.wyd2-home-main table a {
  overflow-wrap: anywhere !important;
}

.body-sign .card-title-sign {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
}

.body-sign .card-title-sign .title {
  align-items: center !important;
  border-radius: 0 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 48px !important;
  width: 100% !important;
}

.body-sign .card-title-sign .title i {
  margin-right: 8px !important;
}

.body-sign .card-sign .card-body .row {
  align-items: center !important;
}

.body-sign .checkbox-custom label {
  line-height: 1.35 !important;
}

.wyd2-panel-shell {
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .inner-wrapper {
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 25, 32, .14), transparent 30%),
    radial-gradient(circle at 88% 5%, rgba(63, 126, 166, .12), transparent 32%),
    #090c12 !important;
  min-height: calc(100vh - 70px) !important;
}

.wyd2-panel-shell .content-body {
  background: transparent !important;
  margin-left: 0 !important;
  min-height: calc(100vh - 136px) !important;
  padding: 26px !important;
}

.wyd2-panel-shell .card,
.wyd2-panel-shell .panel,
.wyd2-panel-shell .panel-body,
.wyd2-panel-shell .card-body,
.wyd2-panel-shell .panel-featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(21, 25, 34, .97), rgba(8, 10, 15, .98)) !important;
  border: 1px solid rgba(240, 196, 106, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .card-header,
.wyd2-panel-shell .panel-heading {
  background: rgba(8, 10, 15, .86) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  color: var(--wyd2-gold-soft) !important;
}

.wyd2-panel-shell h1,
.wyd2-panel-shell h2,
.wyd2-panel-shell h3,
.wyd2-panel-shell h4,
.wyd2-panel-shell h5,
.wyd2-panel-shell label,
.wyd2-panel-shell .control-label {
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .text-muted,
.wyd2-panel-shell small {
  color: rgba(247, 239, 227, .66) !important;
}

.wyd2-panel-shell .form-control,
.wyd2-panel-shell select,
.wyd2-panel-shell textarea {
  background: #080b11 !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .form-control:focus,
.wyd2-panel-shell textarea:focus {
  border-color: rgba(255, 226, 163, .48) !important;
  box-shadow: 0 0 0 3px rgba(240, 196, 106, .12) !important;
}

.wyd2-panel-shell .table,
.wyd2-panel-shell .table-modern,
.wyd2-panel-shell .dataTable-table {
  background: transparent !important;
  color: var(--wyd2-text) !important;
  width: 100% !important;
}

.wyd2-panel-shell .table th,
.wyd2-panel-shell .table td,
.wyd2-panel-shell .table-modern th,
.wyd2-panel-shell .table-modern td,
.wyd2-panel-shell .dataTable-table th,
.wyd2-panel-shell .dataTable-table td {
  background: rgba(8, 10, 15, .44) !important;
  border-color: rgba(240, 196, 106, .14) !important;
  color: var(--wyd2-text) !important;
  vertical-align: middle !important;
}

.wyd2-panel-shell .table thead th,
.wyd2-panel-shell .table-modern thead th,
.wyd2-panel-shell .dataTable-table thead th {
  background: rgba(215, 25, 32, .22) !important;
  color: var(--wyd2-gold-soft) !important;
}

.wyd2-panel-shell .btn-primary,
.wyd2-panel-shell .btn-success,
.wyd2-panel-shell .btn-info {
  background: linear-gradient(180deg, #e52b31, #8d1217) !important;
  border: 1px solid rgba(255, 226, 163, .30) !important;
  color: #fff !important;
}

.wyd2-dashboard-grid {
  margin-left: -8px !important;
  margin-right: -8px !important;
}

.wyd2-dashboard-grid > [class*="col-"] {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

@media (max-width: 991px) {
  .nav-premium .container,
  .container.wyd2-home-main,
  .container.wyd2-home-main[style*="margin-top"] {
    width: min(100% - 28px, 720px) !important;
  }

  .wyd2-hero {
    min-height: 420px !important;
  }

  .wyd2-quick-grid {
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-shell .content-body {
    padding: 18px !important;
  }
}

@media (max-width: 575px) {
  .nav-premium .container,
  .container.wyd2-home-main,
  .container.wyd2-home-main[style*="margin-top"] {
    width: calc(100vw - 24px) !important;
  }

  .wyd2-home-main table,
  .wyd2-home-main tbody,
  .wyd2-home-main tr,
  .wyd2-home-main td {
    display: block !important;
    width: 100% !important;
  }

  .wyd2-home-main table td:last-child {
    margin-top: 6px !important;
    text-align: left !important;
  }
}

/* WYD2 admin menu and home polish */
html.boxed .body.wyd2-panel-shell,
html.boxed .body.wyd2-panel-shell .inner-wrapper {
  max-width: none !important;
  width: 100% !important;
}

.wyd2-panel-nav {
  background:
    linear-gradient(180deg, rgba(16, 20, 28, .98), rgba(8, 10, 15, .98)) !important;
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .26) !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 30 !important;
}

@media (min-width: 768px) {
  .wyd2-panel-nav.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
}

.wyd2-panel-nav nav {
  margin: 0 auto !important;
  max-width: 1280px !important;
  padding: 10px 22px !important;
  width: 100% !important;
}

.wyd2-panel-nav .nav {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

.wyd2-panel-nav .nav-item {
  margin: 0 !important;
  position: relative !important;
}

.wyd2-panel-nav .nav-link {
  align-items: center !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(240, 196, 106, .14) !important;
  border-radius: 8px !important;
  color: rgba(247, 239, 227, .86) !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  gap: 8px !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  min-height: 40px !important;
  padding: 11px 14px !important;
  white-space: nowrap !important;
}

.wyd2-panel-nav .nav-link:hover,
.wyd2-panel-nav .nav-item.show > .nav-link,
.wyd2-panel-nav .nav-active > .nav-link {
  background: linear-gradient(180deg, rgba(215, 25, 32, .88), rgba(116, 14, 19, .94)) !important;
  border-color: rgba(255, 226, 163, .34) !important;
  color: #fff !important;
}

.wyd2-panel-nav .dropdown-menu {
  background: #0d1119 !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .42) !important;
  left: 0 !important;
  margin-top: 8px !important;
  min-width: 240px !important;
  padding: 8px !important;
}

@media (min-width: 768px) {
  .wyd2-panel-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}

.wyd2-panel-nav .dropdown-item {
  align-items: center !important;
  border-radius: 7px !important;
  color: rgba(247, 239, 227, .82) !important;
  display: flex !important;
  font-weight: 700 !important;
  gap: 9px !important;
  padding: 10px 11px !important;
}

.wyd2-panel-nav .dropdown-item:hover {
  background: rgba(215, 25, 32, .22) !important;
  color: var(--wyd2-gold-soft) !important;
}

.wyd2-panel-nav .wyd2-admin-menu > .nav-link {
  border-color: rgba(215, 25, 32, .34) !important;
}

.wyd2-panel-shell .header-right {
  padding-right: 22px !important;
}

.wyd2-panel-shell .userbox > a {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
}

.wyd2-panel-shell .profile-picture img {
  background: #0b0f16 !important;
  border: 1px solid rgba(240, 196, 106, .34) !important;
  height: 38px !important;
  object-fit: cover !important;
  width: 38px !important;
}

.wyd2-panel-shell .profile-info .name {
  color: var(--wyd2-text) !important;
  font-weight: 800 !important;
}

.wyd2-panel-shell .profile-info .role {
  color: var(--wyd2-gold-soft) !important;
}

.wyd2-panel-shell .content-body {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1280px !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body > .row {
  margin-left: -8px !important;
  margin-right: -8px !important;
}

.wyd2-panel-shell .content-body > .row > [class*="col-"] {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.wyd2-panel-shell .content-body > .row > [class*="col-"] > .card-body,
.wyd2-panel-shell .content-body > .card-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(21, 25, 34, .97), rgba(8, 10, 15, .98)) !important;
  border: 1px solid rgba(240, 196, 106, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
  color: var(--wyd2-text) !important;
  padding: 20px !important;
}

.wyd2-panel-shell .card > .card-body,
.wyd2-panel-shell .panel > .panel-body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 18px !important;
}

.wyd2-panel-shell .card-title,
.wyd2-panel-shell .title {
  color: var(--wyd2-gold-soft) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.wyd2-panel-shell .card-subtitle {
  color: rgba(247, 239, 227, .62) !important;
}

.wyd2-panel-shell .widget-summary {
  align-items: center !important;
  display: flex !important;
  gap: 14px !important;
}

.wyd2-panel-shell .widget-summary-col-icon {
  flex: 0 0 auto !important;
}

.wyd2-panel-shell .summary-icon {
  align-items: center !important;
  background: linear-gradient(180deg, #e52b31, #8d1217) !important;
  border: 1px solid rgba(255, 226, 163, .32) !important;
  border-radius: 8px !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  width: 52px !important;
}

.wyd2-panel-shell .amount {
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

.wyd2-panel-shell .label {
  border-radius: 999px !important;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 6px 9px !important;
}

.wyd2-panel-footer {
  align-items: center !important;
  background: rgba(8, 10, 15, .96) !important;
  border-top: 1px solid rgba(240, 196, 106, .16) !important;
  color: rgba(247, 239, 227, .72) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  justify-content: center !important;
  padding: 16px 20px !important;
  text-align: center !important;
}

.wyd2-panel-footer small {
  color: rgba(247, 239, 227, .55) !important;
}

.wyd2-hero-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
  margin-top: 18px !important;
}

.wyd2-hero-meta span {
  align-items: center !important;
  background: rgba(9, 12, 18, .74) !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  border-radius: 999px !important;
  color: rgba(247, 239, 227, .82) !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  gap: 7px !important;
  min-height: 32px !important;
  padding: 8px 13px !important;
  text-transform: uppercase !important;
}

.wyd2-hero-meta i {
  color: #4fd681 !important;
}

@media (max-width: 767px) {
  .wyd2-panel-nav nav {
    padding: 10px 14px !important;
  }

  .wyd2-panel-nav .nav {
    align-items: stretch !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-nav .nav-link {
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .wyd2-panel-nav .dropdown-menu {
    box-shadow: none !important;
    display: block !important;
    margin: 6px 0 8px !important;
    position: static !important;
    width: 100% !important;
  }
}

/* WYD2 admin cleanup polish */
.wyd2-panel-shell .content-body > .row {
  row-gap: 18px;
}

.wyd2-panel-shell .content-body .title {
  color: var(--wyd2-text);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
}

.wyd2-panel-shell .card,
.wyd2-panel-shell section.card {
  background: var(--wyd2-panel);
  border: 1px solid var(--wyd2-border);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.wyd2-panel-shell .table-responsive {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(4, 6, 10, .34);
  overflow-x: auto;
}

.wyd2-panel-shell .table {
  color: var(--wyd2-text);
  margin: 0;
  min-width: 720px;
}

.wyd2-panel-shell .table thead th {
  background: rgba(241, 184, 77, .1);
  border-color: rgba(241, 184, 77, .18);
  color: var(--wyd2-gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.wyd2-panel-shell .table td,
.wyd2-panel-shell .table th {
  border-color: rgba(255, 255, 255, .08);
  vertical-align: middle;
}

.wyd2-panel-shell .table-striped tbody tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, .025);
}

.wyd2-panel-shell .table-hover tbody tr:hover,
.wyd2-panel-shell .table tbody tr:hover {
  background: rgba(241, 184, 77, .08);
}

.wyd2-panel-shell .btn,
.wyd2-panel-shell input[type="submit"],
.wyd2-panel-shell button[type="submit"] {
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
}

.wyd2-panel-shell .btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px;
}

.wyd2-panel-shell .badge {
  border-radius: 999px;
  font-weight: 800;
  padding: 7px 10px;
}

.wyd2-panel-shell .form-control,
.wyd2-panel-shell input[type="text"],
.wyd2-panel-shell input[type="email"],
.wyd2-panel-shell input[type="password"],
.wyd2-panel-shell input[type="number"],
.wyd2-panel-shell input[type="file"],
.wyd2-panel-shell select,
.wyd2-panel-shell textarea {
  background: rgba(1, 4, 10, .58);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  color: var(--wyd2-text);
  min-height: 42px;
  width: 100%;
}

.wyd2-panel-shell input[type="file"] {
  padding: 8px;
}

.wyd2-panel-shell input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #f2c66d, #a86a20);
  border: 0;
  border-radius: 6px;
  color: #170d05;
  cursor: pointer;
  font-weight: 900;
  margin-right: 12px;
  padding: 8px 12px;
}

.wyd2-panel-shell label {
  color: var(--wyd2-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.wyd2-panel-shell .modal-content {
  background: #0c111b;
  border: 1px solid var(--wyd2-border);
  border-radius: 8px;
  color: var(--wyd2-text);
}

.wyd2-panel-shell .modal-header,
.wyd2-panel-shell .modal-footer {
  border-color: rgba(255, 255, 255, .1);
}

.wyd2-panel-shell center,
.wyd2-panel-shell font {
  color: var(--wyd2-text);
}

.wyd2-admin-form-panel {
  padding: 24px;
}

.wyd2-admin-page-head {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
}

.wyd2-admin-page-head h4 {
  color: var(--wyd2-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  margin: 4px 0 0;
}

.wyd2-admin-kicker {
  color: var(--wyd2-gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wyd2-admin-pill {
  background: rgba(241, 184, 77, .1);
  border: 1px solid rgba(241, 184, 77, .25);
  border-radius: 999px;
  color: #f5d08b;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 12px;
  white-space: nowrap;
}

.wyd2-guildmark-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
}

.wyd2-guidance-panel,
.wyd2-guildmark-form {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 18px;
}

.wyd2-guidance-panel h5 {
  color: var(--wyd2-gold);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 12px;
}

.wyd2-guidance-panel ol {
  color: var(--wyd2-muted);
  margin: 0;
  padding-left: 20px;
}

.wyd2-guidance-panel li + li {
  margin-top: 10px;
}

.wyd2-guidance-panel strong,
.wyd2-guidance-panel p {
  color: var(--wyd2-text);
}

.wyd2-guidance-panel p {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin: 16px 0 0;
  padding-top: 14px;
}

.wyd2-guildmark-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wyd2-guildmark-form .g-recaptcha {
  min-height: 78px;
}

.wyd2-guildmark-form .btn {
  margin-top: 2px;
}

@media (max-width: 991px) {
  .wyd2-guildmark-layout,
  .wyd2-admin-page-head {
    grid-template-columns: 1fr;
  }

  .wyd2-admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .wyd2-admin-pill {
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar.fixed-top.nav-premium {
    padding: 10px 0;
  }

  .nav-premium .container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
  }

  .navbar-brand.wyd2-brand-logo {
    flex: 0 0 auto;
    margin-right: 0;
    max-width: 138px;
  }

  .wyd2-menu-logo {
    height: auto;
    max-height: 48px;
    max-width: 124px;
    width: auto;
  }

  .nav-premium .navbar-toggler {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    flex: 0 0 44px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    margin-right: 0;
    padding: 0;
    width: 44px;
  }

  .nav-premium .navbar-collapse {
    flex-basis: 100%;
    margin-top: 10px;
    max-width: 100%;
    width: 100%;
  }

  .nav-premium .navbar-collapse > .d-flex {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
  }

  .nav-premium .navbar-collapse > .d-flex .btn {
    justify-content: center;
    width: 100%;
  }

  .wrapper .wyd2-hero {
    min-height: auto;
    overflow: hidden;
    padding: 90px 16px 34px;
  }

  .wyd2-hero-inner {
    max-width: 100%;
    width: 100%;
  }

  .wyd2-hero-logo {
    display: block;
    height: auto;
    margin: 0 auto 24px;
    max-width: 86vw;
    width: min(86vw, 340px);
  }

  .wyd2-hero-actions {
    gap: 12px;
    width: 100%;
  }

  .wyd2-hero-actions .btn {
    justify-content: center;
    min-height: 50px;
    width: 100%;
  }

  .wyd2-hero-meta {
    gap: 10px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

  .wyd2-hero-meta span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    min-width: 0;
    padding: 9px 8px;
    white-space: nowrap;
  }

  .body-sign {
    overflow-x: hidden;
  }

  .body-sign .center-sign {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .body-sign .panel-sign,
  .body-sign .panel {
    max-width: 100%;
  }
}

/* WYD2 dashboard and home repair */
.wyd2-panel-shell .content-body.wyd2-dashboard-page {
  max-width: min(1680px, calc(100vw - 56px));
  padding-left: 28px;
  padding-right: 28px;
}

.wyd2-dashboard-top {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(520px, 1.1fr) minmax(520px, .9fr);
  margin: 0 0 22px !important;
}

.wyd2-dashboard-top > .wyd2-support-column,
.wyd2-dashboard-top > .wyd2-stats-column {
  flex: none;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.wyd2-stats-column > .row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 16px !important;
}

.wyd2-stats-column > .row > [class*="col-"] {
  flex: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

.wyd2-dashboard-page .card-featured-left,
.wyd2-dashboard-page .widget-summary {
  height: 100%;
}

.wyd2-dashboard-page .card-featured-left .card-body {
  min-height: 118px;
  padding: 16px;
}

.wyd2-dashboard-page .widget-summary {
  align-items: center;
  display: flex;
  gap: 14px;
}

.wyd2-dashboard-page .widget-summary-col {
  min-width: 0;
}

.wyd2-dashboard-page .summary .title {
  font-size: 13px;
  margin-bottom: 8px;
}

.wyd2-dashboard-page .summary .amount {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.wyd2-online-count {
  border-radius: 999px;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.wyd2-online-low { color: #ff8fb5; }
.wyd2-online-mid { color: #ff6b6b; }
.wyd2-online-high { color: #55d879; }

.wyd2-dashboard-page > .row:not(.wyd2-dashboard-top) {
  margin-left: 0;
  margin-right: 0;
}

.wyd2-dashboard-page > .row:not(.wyd2-dashboard-top) > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.wyd2-finance-card {
  margin-top: 20px;
  padding: 20px;
}

.wyd2-finance-card h4,
.wyd2-chart-card h4 {
  color: var(--wyd2-text);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 14px;
}

.wyd2-finance-card .table {
  min-width: 0;
}

.wyd2-finance-card .table td,
.wyd2-finance-card .table th {
  padding: 11px 14px;
}

.wyd2-finance-card [style*="background:#ddd"] {
  background: rgba(255, 255, 255, .16) !important;
  border-radius: 999px;
  overflow: hidden;
}

.wyd2-finance-card [style*="background:#4CAF50"] {
  background: linear-gradient(90deg, #36c66f, #7af09f) !important;
}

.wyd2-chart-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.wyd2-chart-card {
  background: rgba(15, 20, 30, .88);
  border: 1px solid var(--wyd2-border);
  border-radius: 8px;
  min-width: 0;
  padding: 18px;
}

.wyd2-chart-card canvas {
  max-height: 360px;
}

.wyd2-home-main {
  max-width: min(1400px, calc(100vw - 36px));
  padding-left: 0;
  padding-right: 0;
}

.wyd2-home-section,
.wyd2-ranking-card,
.wyd2-social-section {
  float: none;
}

.wyd2-home-section .wyd2-section-panel,
.wyd2-ranking-card .wyd2-section-panel,
.wyd2-social-section .wyd2-section-panel {
  width: 100%;
}

.wyd2-home-main .table-responsive {
  border-radius: 8px;
  overflow-x: auto;
}

.wyd2-home-main .table {
  margin-bottom: 0;
}

.wyd2-home-main .table td,
.wyd2-home-main .table th {
  vertical-align: middle;
}

.wyd2-social-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

.wyd2-social-card,
.wyd2-social-embed {
  background: rgba(10, 14, 22, .82);
  border: 1px solid rgba(241, 184, 77, .18);
  border-radius: 8px;
  min-height: 400px;
  overflow: hidden;
}

.wyd2-social-card {
  align-items: center;
  color: var(--wyd2-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.wyd2-social-card:hover {
  border-color: rgba(241, 184, 77, .45);
  color: var(--wyd2-text);
  text-decoration: none;
}

.wyd2-social-icon {
  align-items: center;
  background: linear-gradient(135deg, #d71920, #8f0d13);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(215, 25, 32, .24);
  color: #fff;
  display: inline-flex;
  font-size: 32px;
  height: 78px;
  justify-content: center;
  margin-bottom: 18px;
  width: 78px;
}

.wyd2-social-card strong {
  color: var(--wyd2-gold);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.wyd2-social-card small {
  color: var(--wyd2-muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.wyd2-social-embed iframe {
  display: block;
  height: 400px;
  width: 100% !important;
}

@media (max-width: 1199px) {
  .wyd2-dashboard-top,
  .wyd2-chart-grid {
    grid-template-columns: 1fr;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page {
    max-width: calc(100vw - 28px);
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 767px) {
  .wyd2-stats-column > .row,
  .wyd2-social-grid {
    grid-template-columns: 1fr;
  }

  .wyd2-dashboard-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar.fixed-top.nav-premium {
    padding: 10px 0;
  }

  .nav-premium .container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 72px;
    position: relative;
    width: 100%;
  }

  .navbar-brand.wyd2-brand-logo {
    flex: 0 0 auto;
    margin-right: 0;
    max-width: 138px;
  }

  .wyd2-menu-logo {
    height: auto;
    max-height: 48px;
    max-width: 124px;
    width: auto;
  }

  .nav-premium .navbar-toggler {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    left: auto;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
  }

  .navbar.fixed-top.nav-premium .navbar-toggler {
    box-sizing: border-box;
    display: none !important;
  }

  .navbar.fixed-top.nav-premium .navbar-toggler-icon {
    background-position: center;
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
  }

  .nav-premium .navbar-collapse {
    display: block !important;
    flex-basis: 100%;
    height: auto !important;
    margin-top: 8px;
    max-width: 100%;
    visibility: visible !important;
    width: 100%;
  }

  .nav-premium .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 0 !important;
    width: 100%;
  }

  .nav-premium .nav-link {
    font-size: 10px;
    padding: 6px 8px;
  }

  .nav-premium .navbar-collapse > .d-flex {
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
  }

  .nav-premium .navbar-collapse > .d-flex .btn {
    flex: 1 1 0;
    justify-content: center;
    max-width: 150px;
    min-width: 0;
    padding-left: 8px !important;
    padding-right: 8px !important;
    width: auto;
  }

  .wrapper .wyd2-hero {
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 690px !important;
    overflow: visible !important;
    padding: 0 16px 74px !important;
  }

  .wyd2-hero-inner {
    max-width: 100%;
    padding-top: 246px !important;
    width: 100%;
  }

  .wyd2-hero-logo {
    display: block !important;
    height: auto !important;
    margin: 0 auto 18px !important;
    max-height: 170px !important;
    max-width: 72vw !important;
    width: min(72vw, 280px) !important;
  }

  .wyd2-hero-actions,
  .wyd2-hero-meta {
    width: 100%;
  }

  .wyd2-hero-actions {
    gap: 12px;
  }

  .wyd2-hero-actions .btn {
    justify-content: center;
    min-height: 50px;
    width: 100%;
  }

  .wyd2-hero-meta {
    gap: 10px;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
  }

  .wyd2-hero-meta span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    min-width: 0;
    padding: 9px 8px;
    white-space: nowrap;
  }
}

/* WYD2 full panel alignment and donate unify */
html.boxed.has-tab-navigation .body.wyd2-panel-shell,
html.boxed.has-tab-navigation .body.wyd2-panel-shell .inner-wrapper,
.body.wyd2-panel-shell,
.body.wyd2-panel-shell .inner-wrapper {
  max-width: none !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(1540px, calc(100vw - 64px)) !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page {
  max-width: min(1580px, calc(100vw - 56px)) !important;
}

.wyd2-dashboard-page .wyd2-dashboard-top {
  align-items: stretch !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(460px, .75fr) !important;
  margin: 0 0 26px !important;
  width: 100% !important;
}

.wyd2-dashboard-page .wyd2-support-column,
.wyd2-dashboard-page .wyd2-stats-column {
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-dashboard-page .wyd2-support-column > .card-body,
.wyd2-dashboard-page .wyd2-support-column .table-responsive {
  width: 100% !important;
}

.wyd2-dashboard-page .wyd2-stats-column > .row {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 !important;
}

.wyd2-dashboard-page .wyd2-stats-column > .row + .row {
  margin-top: 16px !important;
}

.wyd2-dashboard-page .wyd2-stats-column > .row > [class*="col-"] {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-dashboard-page .table-responsive {
  overflow-x: auto !important;
  width: 100% !important;
}

.wyd2-dashboard-page .table {
  min-width: 0 !important;
}

.wyd2-dashboard-page .table thead th,
.wyd2-dashboard-page .table td {
  white-space: nowrap !important;
}

.wyd2-dashboard-page .wyd2-finance-card,
.wyd2-dashboard-page .wyd2-chart-grid {
  width: 100% !important;
}

.wyd2-dashboard-page .wyd2-chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.wyd2-panel-shell .tab-pane,
.wyd2-panel-shell .tab-content {
  color: var(--wyd2-text) !important;
}

.wyd2-panel-shell .bg-white {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(21, 25, 34, .97), rgba(8, 10, 15, .98)) !important;
  border: 1px solid rgba(240, 196, 106, .2) !important;
  color: var(--wyd2-gold-soft) !important;
}

.modal .shop-grid {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)) !important;
  margin: 0 !important;
  width: 100% !important;
}

.modal .shop-grid > [class*="col-"] {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.modal .pack-card {
  height: 100% !important;
  min-height: 380px !important;
}

.modal .pack-items {
  max-height: 135px !important;
  min-height: 94px !important;
}

@media (max-width: 1199px) {
  .wyd2-dashboard-page .wyd2-dashboard-top,
  .wyd2-dashboard-page .wyd2-chart-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .wyd2-panel-shell .content-body,
  .wyd2-panel-shell .content-body.wyd2-dashboard-page {
    max-width: calc(100vw - 24px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .wyd2-dashboard-page .wyd2-stats-column > .row {
    grid-template-columns: 1fr !important;
  }
}

/* WYD2 final layout pass */
.wyd2-panel-header.header {
  align-items: center !important;
  display: flex !important;
  gap: 18px !important;
  padding: 0 24px !important;
  width: 100% !important;
}

.wyd2-panel-header .logo-container {
  flex: 0 0 auto !important;
  padding-left: 0 !important;
  width: auto !important;
}

.wyd2-panel-header .header-right {
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  min-width: 0 !important;
  padding-right: 0 !important;
}

.wyd2-panel-header .search.nav-form {
  flex: 0 1 240px !important;
  max-width: 240px !important;
  min-width: 190px !important;
}

.wyd2-panel-header .userbox .profile-info {
  max-width: 170px !important;
  min-width: 0 !important;
}

.wyd2-panel-header .userbox .profile-info .name,
.wyd2-panel-header .userbox .profile-info .role {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-nav nav,
.wyd2-panel-shell .tab-navigation nav {
  max-width: min(1540px, calc(100vw - 56px)) !important;
}

.wyd2-panel-nav .nav,
.wyd2-panel-shell .tab-navigation nav > ul {
  justify-content: center !important;
}

.wyd2-panel-nav .nav-link {
  min-width: 132px !important;
  justify-content: center !important;
  text-transform: uppercase !important;
}

.wyd2-panel-nav .dropdown-menu {
  max-width: min(360px, calc(100vw - 32px)) !important;
}

.wyd2-dashboard-page > .wyd2-dashboard-top {
  align-items: start !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(500px, .8fr) !important;
  margin: 0 0 26px !important;
  width: 100% !important;
}

.wyd2-dashboard-page > .wyd2-dashboard-full {
  display: block !important;
  margin: 0 0 24px !important;
  width: 100% !important;
}

.wyd2-dashboard-page > .wyd2-dashboard-full > [class*="col-"],
.wyd2-dashboard-page > .wyd2-dashboard-top > .col-lg-12 {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.wyd2-dashboard-page > .wyd2-dashboard-top > .col-lg-12 {
  grid-column: 1 / -1 !important;
}

.wyd2-dashboard-page .wyd2-stats-column > .row,
.wyd2-dashboard-page .wyd2-stats-row {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 0 16px !important;
  width: 100% !important;
}

.wyd2-dashboard-page .wyd2-stats-row {
  margin-top: 16px !important;
}

.wyd2-dashboard-page .wyd2-stats-row > [class*="col-"],
.wyd2-dashboard-page .wyd2-stats-column > .row > [class*="col-"] {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-dashboard-page .card-body,
.wyd2-dashboard-page .card,
.wyd2-dashboard-page .table-responsive {
  border-radius: 8px !important;
}

.wyd2-dashboard-page .table-responsive {
  background: rgba(5, 7, 12, .72) !important;
  border: 1px solid rgba(240, 196, 106, .16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  overflow-x: auto !important;
  padding: 0 !important;
}

.wyd2-dashboard-page .table {
  margin-bottom: 0 !important;
}

.wyd2-dashboard-page .table thead th,
.wyd2-dashboard-page .table tr:first-child th {
  background: linear-gradient(180deg, rgba(105, 32, 39, .96), rgba(72, 23, 29, .96)) !important;
  border-color: rgba(240, 196, 106, .12) !important;
  color: #f4d18f !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.wyd2-dashboard-page .table td,
.wyd2-dashboard-page .table th {
  border-color: rgba(255, 255, 255, .075) !important;
  color: rgba(247, 239, 227, .9) !important;
  vertical-align: middle !important;
}

.wyd2-dashboard-page .widget-summary {
  min-height: 118px !important;
}

.wyd2-dashboard-page .summary-icon {
  align-items: center !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  flex: 0 0 58px !important;
  height: 58px !important;
  justify-content: center !important;
  width: 58px !important;
}

.wyd2-dashboard-page .summary .amount {
  color: #fff !important;
  overflow-wrap: anywhere !important;
}

.wyd2-dashboard-page .summary-footer a {
  color: rgba(247, 239, 227, .62) !important;
  font-size: 11px !important;
}

.wyd2-finance-card,
.wyd2-chart-card {
  width: 100% !important;
}

.wyd2-finance-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(10, 13, 20, .92) !important;
  border: 1px solid rgba(240, 196, 106, .16) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32) !important;
}

.wyd2-shop-page > .row,
.wyd2-shop-page > .row > [class*="col-"] {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.wyd2-shop-page .wyd2-shop-shell {
  margin: 0 auto !important;
  max-width: min(1420px, 100%) !important;
}

.wyd2-shop-page .shop-grid,
.wyd2-shop-page .wyd2-shop-packages .shop-grid {
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)) !important;
  justify-content: stretch !important;
  margin: 0 !important;
}

.wyd2-shop-page .shop-card {
  min-height: 420px !important;
}

.wyd2-shop-page .shop-items {
  max-height: 156px !important;
  min-height: 126px !important;
}

.wyd2-shop-page .shop-btn {
  background: linear-gradient(180deg, #f1333a, #b70f18) !important;
  border: 1px solid rgba(255, 215, 145, .24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 20px rgba(215, 25, 32, .24) !important;
  color: #fff !important;
  letter-spacing: 0 !important;
}

.wyd2-shop-page .shop-btn:hover {
  background: linear-gradient(180deg, #ff464e, #c7131e) !important;
  color: #fff !important;
}

.modal .pack-card,
.wyd2-shop-page .pack-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)),
    linear-gradient(145deg, #15100c, #070605) !important;
  border: 1px solid rgba(240, 196, 106, .28) !important;
}

@media (max-width: 1199px) {
  .wyd2-dashboard-page > .wyd2-dashboard-top {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .wyd2-panel-header.header {
    min-height: auto !important;
    padding: 10px 14px !important;
  }

  .wyd2-panel-header .search.nav-form {
    display: none !important;
  }

  .wyd2-panel-nav nav,
  .wyd2-panel-shell .tab-navigation nav {
    max-width: calc(100vw - 24px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wyd2-panel-nav .nav-link {
    min-width: 0 !important;
  }
}

@media (max-width: 767px) {
  .wyd2-dashboard-page .wyd2-stats-column > .row,
  .wyd2-dashboard-page .wyd2-stats-row {
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-header .userbox .profile-info {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .navbar.fixed-top.nav-premium .navbar-toggler,
  .nav-premium .navbar-toggler {
    display: inline-flex !important;
  }

  .nav-premium .navbar-collapse {
    display: none !important;
    flex-basis: 100% !important;
    margin-top: 12px !important;
    visibility: hidden !important;
    width: 100% !important;
  }

  .nav-premium .navbar-collapse.show,
  .nav-premium .navbar-collapse.collapsing {
    display: block !important;
    visibility: visible !important;
  }

  .nav-premium .navbar-collapse.show .navbar-nav,
  .nav-premium .navbar-collapse.collapsing .navbar-nav {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .nav-premium .navbar-collapse.show .nav-link,
  .nav-premium .navbar-collapse.collapsing .nav-link {
    font-size: 12px !important;
    min-height: 40px !important;
    padding: 10px 12px !important;
    text-align: center !important;
  }

  .nav-premium .navbar-collapse.show > .d-flex,
  .nav-premium .navbar-collapse.collapsing > .d-flex {
    flex-direction: column !important;
    margin-top: 10px !important;
  }

  .nav-premium .navbar-collapse.show > .d-flex .btn,
  .nav-premium .navbar-collapse.collapsing > .d-flex .btn {
    max-width: none !important;
    width: 100% !important;
  }
}

/* WYD2 social rules panel fix */
.wyd2-social-grid {
  align-items: stretch !important;
}

.wyd2-social-card {
  min-height: 260px !important;
}

.wyd2-social-instagram .wyd2-social-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #515bd4) !important;
}

.wyd2-social-facebook .wyd2-social-icon {
  background: linear-gradient(135deg, #1877f2, #0d47a1) !important;
}

.wyd2-social-discord .wyd2-social-icon {
  background: linear-gradient(135deg, #5865f2, #343d9a) !important;
}

.wyd2-rules-page {
  margin: 130px auto 80px !important;
  max-width: min(1180px, calc(100vw - 32px)) !important;
  width: 100% !important;
}

.wyd2-rules-hero,
.wyd2-rules-note,
.wyd2-rule-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(9, 12, 18, .94) !important;
  border: 1px solid rgba(240, 196, 106, .18) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .34) !important;
  color: rgba(247, 239, 227, .9) !important;
}

.wyd2-rules-hero {
  overflow: hidden !important;
  padding: 34px !important;
  position: relative !important;
  text-align: center !important;
}

.wyd2-rules-hero::before {
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 32, .24), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(240, 196, 106, .12), transparent 36%);
  content: "" !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
}

.wyd2-rules-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

.wyd2-rules-hero span {
  color: #f5d08b !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

.wyd2-rules-hero h1 {
  color: #fff !important;
  font-size: clamp(30px, 5vw, 54px) !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin: 0 0 14px !important;
  text-transform: uppercase !important;
}

.wyd2-rules-hero p,
.wyd2-rules-note p,
.wyd2-rule-card p {
  color: rgba(247, 239, 227, .78) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.wyd2-rules-grid {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 22px 0 !important;
}

.wyd2-rule-card {
  padding: 22px !important;
}

.wyd2-rule-card h2,
.wyd2-rules-note h2 {
  color: #f5d08b !important;
  font-size: 17px !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  margin: 0 0 10px !important;
  text-transform: uppercase !important;
}

.wyd2-rules-note {
  padding: 24px !important;
}

.wyd2-panel-header .logo-container .logo.wyd2-panel-brand,
.wyd2-panel-brand.logo,
.wyd2-panel-brand {
  background: none !important;
  min-width: 0 !important;
  width: auto !important;
}

.wyd2-panel-header .logo-container .logo.wyd2-panel-brand::before,
.wyd2-panel-header .logo-container .logo.wyd2-panel-brand::after {
  content: none !important;
  display: none !important;
}

.wyd2-panel-header .header-right {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

.wyd2-panel-header .search.nav-form {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  width: 250px !important;
}

.wyd2-panel-header .search.nav-form .input-group {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  height: 38px !important;
  width: 100% !important;
}

.wyd2-panel-header .search.nav-form .form-control {
  border-radius: 7px 0 0 7px !important;
  flex: 1 1 auto !important;
  height: 38px !important;
  min-width: 0 !important;
}

.wyd2-panel-header .search.nav-form .input-group-append,
.wyd2-panel-header .search.nav-form .btn {
  height: 38px !important;
}

.wyd2-panel-header .search.nav-form .btn {
  align-items: center !important;
  border-radius: 0 7px 7px 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
  width: 42px !important;
}

.wyd2-panel-header .separator {
  background: rgba(240, 196, 106, .16) !important;
  height: 32px !important;
  margin: 0 !important;
  width: 1px !important;
}

.wyd2-panel-shell .content-body:not(.wyd2-dashboard-page):not(.wyd2-shop-page) {
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(1500px, calc(100vw - 64px)) !important;
  padding: 26px 24px !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body:not(.wyd2-dashboard-page):not(.wyd2-shop-page) > .row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body:not(.wyd2-dashboard-page):not(.wyd2-shop-page) > .row > [class*="col-"] {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body .card,
.wyd2-panel-shell .content-body .card-body,
.wyd2-panel-shell .content-body .table-responsive {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(9, 12, 18, .92) !important;
  border: 1px solid rgba(240, 196, 106, .16) !important;
  border-radius: 8px !important;
  color: rgba(247, 239, 227, .9) !important;
}

.wyd2-panel-shell .content-body .form-control,
.wyd2-panel-shell .content-body select,
.wyd2-panel-shell .content-body textarea {
  background: rgba(4, 6, 10, .84) !important;
  border: 1px solid rgba(240, 196, 106, .18) !important;
  border-radius: 7px !important;
  color: #fff !important;
  min-height: 38px !important;
}

.wyd2-panel-shell .content-body .input-group-text {
  background: rgba(215, 25, 32, .18) !important;
  border-color: rgba(240, 196, 106, .18) !important;
  color: #f5d08b !important;
}

.wyd2-panel-shell .content-body .table {
  color: rgba(247, 239, 227, .9) !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body .table th {
  background: linear-gradient(180deg, rgba(105, 32, 39, .96), rgba(72, 23, 29, .96)) !important;
  color: #f5d08b !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body .table td,
.wyd2-panel-shell .content-body .table th {
  border-color: rgba(255, 255, 255, .075) !important;
  vertical-align: middle !important;
}

.wyd2-panel-shell .dataTables_wrapper,
.wyd2-panel-shell .dataTables_length,
.wyd2-panel-shell .dataTables_filter,
.wyd2-panel-shell .dataTables_info,
.wyd2-panel-shell .dataTables_paginate {
  color: rgba(247, 239, 227, .82) !important;
}

.wyd2-panel-shell .dataTables_filter input,
.wyd2-panel-shell .dataTables_length select {
  background: rgba(4, 6, 10, .84) !important;
  border: 1px solid rgba(240, 196, 106, .18) !important;
  border-radius: 7px !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .wyd2-rules-grid {
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-header .search.nav-form {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .wyd2-rules-page {
    margin-top: 96px !important;
  }

  .wyd2-rules-hero {
    padding: 26px 18px !important;
  }

  .wyd2-panel-shell .content-body:not(.wyd2-dashboard-page):not(.wyd2-shop-page) {
    max-width: calc(100vw - 24px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* WYD2 admin cards and rules completion */
.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(12, 16, 24, .94) !important;
  border: 1px solid rgba(240, 196, 106, .2) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28) !important;
  height: 100% !important;
  margin: 0 !important;
  min-height: 126px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left > .card-body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  min-height: 126px !important;
  padding: 18px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .widget-summary {
  align-items: center !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  min-height: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .widget-summary-col-icon {
  align-items: center !important;
  display: flex !important;
  float: none !important;
  justify-content: center !important;
  max-width: 64px !important;
  min-width: 64px !important;
  padding: 0 !important;
  width: 64px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .summary-icon {
  align-items: center !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  flex: 0 0 58px !important;
  font-size: 0 !important;
  height: 58px !important;
  justify-content: center !important;
  left: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-width: 58px !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: 58px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-icon i {
  color: #fff !important;
  font-size: 27px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .widget-summary-col:not(.widget-summary-col-icon) {
  display: block !important;
  float: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .title {
  color: #f5d08b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  margin: 0 0 8px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .amount,
.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .amount b {
  color: #fff !important;
  display: block !important;
  font-size: clamp(18px, 1.35vw, 24px) !important;
  font-weight: 1000 !important;
  line-height: 1.08 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-online-count {
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  display: inline !important;
  font-size: inherit !important;
  padding: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-footer {
  border-top: 1px dotted rgba(240, 196, 106, .24) !important;
  margin-top: 10px !important;
  padding-top: 7px !important;
  text-align: right !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-footer a {
  color: rgba(247, 239, 227, .68) !important;
  display: inline-block !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.wyd2-rules-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.wyd2-rule-card ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wyd2-rule-card li {
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
  color: rgba(247, 239, 227, .82) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  padding: 10px 0 0 18px !important;
  position: relative !important;
}

.wyd2-rule-card li:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.wyd2-rule-card li::before {
  background: #d71920 !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 6px !important;
  left: 0 !important;
  position: absolute !important;
  top: 17px !important;
  width: 6px !important;
}

.wyd2-rule-card li:first-child::before {
  top: 7px !important;
}

.wyd2-rules-modal-summary {
  color: rgba(247, 239, 227, .86) !important;
  text-align: center !important;
}

.wyd2-rules-modal-summary p {
  line-height: 1.65 !important;
  margin: 0 auto 18px !important;
  max-width: 720px !important;
}

@media (max-width: 1199px) {
  .wyd2-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .wyd2-rules-grid {
    grid-template-columns: 1fr !important;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .widget-summary {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page .widget-summary-col-icon {
    max-width: 56px !important;
    min-width: 56px !important;
    width: 56px !important;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .summary-icon {
    flex-basis: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    width: 52px !important;
  }
}

/* WYD2 pincode cards final tune */
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-dashboard-top {
  gap: 26px !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(560px, .75fr) !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left {
  min-height: 112px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left > .card-body {
  min-height: 112px !important;
  padding: 16px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .widget-summary {
  gap: 12px !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .widget-summary-col-icon {
  max-width: 54px !important;
  min-width: 54px !important;
  width: 54px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .card-featured-left .summary-icon {
  flex-basis: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  width: 52px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-icon i {
  font-size: 24px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .title {
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .amount,
.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary .amount b {
  font-size: clamp(16px, 1.05vw, 21px) !important;
  letter-spacing: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-footer {
  margin-top: 8px !important;
  padding-top: 6px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .summary-footer a {
  font-size: 10px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column > h4.title {
  color: #f5d08b !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  margin: 0 0 16px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column > .card-body {
  padding: 18px !important;
}

@media (max-width: 1199px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-dashboard-top {
    grid-template-columns: 1fr !important;
  }
}

/* WYD2 dashboard support below layout */
.wyd2-panel-shell .content-body.wyd2-dashboard-page > .wyd2-dashboard-top {
  align-items: stretch !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: 1fr !important;
  margin-bottom: 28px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  max-width: none !important;
  order: 1 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column > .row,
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column > .wyd2-stats-row {
  display: contents !important;
  margin: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column > .row > [class*="col-"],
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column > .wyd2-stats-row > [class*="col-"] {
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .card-featured-left {
  margin: 0 !important;
  min-height: 118px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column {
  max-width: none !important;
  order: 2 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column > h4.title {
  align-items: center !important;
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  display: flex !important;
  justify-content: space-between !important;
  margin: 4px 0 14px !important;
  padding-bottom: 10px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column > .card-body {
  min-height: 0 !important;
  padding: 16px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column .table-responsive {
  margin-top: 0 !important;
}

@media (max-width: 1199px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
    grid-template-columns: 1fr !important;
  }
}

/* WYD2 dashboard flat aligned cards */
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .card-featured-left {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(24, 29, 39, .96), rgba(9, 12, 18, .98)) !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28) !important;
  min-height: 138px !important;
  overflow: hidden !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .card-featured-left > .card-body {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 138px !important;
  padding: 16px 14px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .widget-summary {
  align-content: center !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  height: 100% !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .widget-summary-col-icon {
  align-self: center !important;
  max-width: 48px !important;
  min-width: 48px !important;
  width: 48px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary-icon {
  border-radius: 8px !important;
  flex-basis: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  width: 48px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary-icon i {
  font-size: 22px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .widget-summary-col:not(.widget-summary-col-icon) {
  align-self: center !important;
  min-width: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .title {
  color: #f5d08b !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  line-height: 1.2 !important;
  margin: 0 0 5px !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .amount,
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .amount b {
  color: #fff !important;
  display: block !important;
  font-size: 19px !important;
  font-weight: 1000 !important;
  line-height: 1.05 !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary-footer {
  border-top: 0 !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary-footer a {
  color: rgba(247, 239, 227, .58) !important;
  display: block !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-support-column {
  margin-top: 4px !important;
}

@media (max-width: 1599px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .title {
    font-size: 13px !important;
  }

  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .amount,
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column .summary .amount b {
    font-size: 21px !important;
  }
}

@media (max-width: 991px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-stats-column {
    grid-template-columns: 1fr !important;
  }
}

/* WYD2 admin dashboard custom metrics */
.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-dashboard-top {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-metrics {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  margin: 0 0 30px !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-card {
  align-items: center !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    linear-gradient(135deg, rgba(24, 29, 39, .96), rgba(8, 11, 18, .98)) !important;
  border: 1px solid rgba(240, 196, 106, .24) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28) !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  min-height: 126px !important;
  padding: 18px !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-icon {
  align-items: center !important;
  align-self: center !important;
  background: linear-gradient(180deg, #ff2d34, #aa101c) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 22px rgba(191, 23, 33, .22) !important;
  color: #fff !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  width: 52px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-icon i {
  color: #fff !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-copy {
  align-content: center !important;
  align-items: start !important;
  display: grid !important;
  min-height: 80px !important;
  min-width: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-label {
  color: #f5d08b !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  line-height: 1.15 !important;
  margin: 0 0 5px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-value {
  color: #fff !important;
  display: block !important;
  font-size: 20px !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-metric-foot {
  color: rgba(247, 239, 227, .58) !important;
  display: block !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-top: 11px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-support {
  margin: 0 !important;
  width: 100% !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-support > .title {
  border-bottom: 1px solid rgba(240, 196, 106, .18) !important;
  color: #f5d08b !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  line-height: 1.2 !important;
  margin: 0 0 15px !important;
  padding-bottom: 12px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-support > .card-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    rgba(9, 12, 18, .78) !important;
  border: 1px solid rgba(240, 196, 106, .22) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;
  padding: 16px !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-support .table-responsive {
  margin: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-support table {
  margin: 0 !important;
}

.wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-empty-cell {
  color: rgba(247, 239, 227, .72) !important;
  font-weight: 700 !important;
  padding: 18px !important;
  text-align: center !important;
}

@media (max-width: 1599px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .wyd2-panel-shell .content-body.wyd2-dashboard-page .wyd2-admin-metrics {
    grid-template-columns: 1fr !important;
  }
}
/* WYD2 site internal pages and donate packages */
body > .container[style*="margin-top: -"]:not(.wyd2-home-main) {
  margin-top: 128px !important;
  max-width: min(1180px, calc(100vw - 32px)) !important;
  min-height: calc(100vh - 360px) !important;
  position: relative !important;
  z-index: 2 !important;
}

.footer-premium {
  clear: both !important;
  margin-top: 64px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 2 !important;
}

.wyd2-site-page {
  margin: 128px auto 82px !important;
  max-width: min(1180px, calc(100vw - 32px)) !important;
  min-height: calc(100vh - 360px) !important;
  position: relative !important;
  width: 100% !important;
  z-index: 2 !important;
}

.wyd2-donate-page {
  max-width: min(1320px, calc(100vw - 32px)) !important;
}

.wyd2-donate-hero,
.wyd2-donate-info,
.wyd2-donate-empty {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(9, 12, 18, .94) !important;
  border: 1px solid rgba(240, 196, 106, .2) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .34) !important;
  color: rgba(247, 239, 227, .88) !important;
}

.wyd2-donate-hero {
  margin-bottom: 20px !important;
  overflow: hidden !important;
  padding: 34px !important;
  position: relative !important;
  text-align: center !important;
}

.wyd2-donate-hero::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(215, 25, 32, .24), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(240, 196, 106, .12), transparent 36%);
  content: "" !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
}

.wyd2-donate-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

.wyd2-donate-hero span {
  color: #f5d08b !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

.wyd2-donate-hero h1 {
  color: #fff !important;
  font-size: clamp(30px, 5vw, 54px) !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin: 0 0 14px !important;
  text-transform: uppercase !important;
}

.wyd2-donate-hero p,
.wyd2-donate-info p,
.wyd2-donate-empty p {
  color: rgba(247, 239, 227, .78) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.wyd2-donate-info {
  align-items: center !important;
  display: flex !important;
  gap: 20px !important;
  justify-content: space-between !important;
  margin-bottom: 22px !important;
  padding: 22px !important;
}

.wyd2-donate-info h2,
.wyd2-donate-empty h2 {
  color: #f5d08b !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
}

.wyd2-donate-grid {
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  margin: 0 !important;
  width: 100% !important;
}

.wyd2-donate-package {
  display: block !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.wyd2-donate-page .pack-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 430px !important;
  padding: 22px !important;
}

.wyd2-donate-page .pack-title {
  min-height: 44px !important;
}

.wyd2-donate-page .pack-items {
  flex: 1 1 auto !important;
  max-height: 156px !important;
  min-height: 126px !important;
  overflow-y: auto !important;
}

.wyd2-donate-page .pack-price {
  margin-top: 14px !important;
}

.wyd2-donate-empty {
  padding: 26px !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  body > .container[style*="margin-top: -"]:not(.wyd2-home-main),
  .wyd2-site-page {
    margin-top: 104px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .wyd2-donate-info {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Legacy logo sizing */
.navbar-brand.wyd2-brand-logo {
  flex: 0 0 92px !important;
  margin-right: 26px !important;
  max-width: 92px !important;
}

.wyd2-menu-logo {
  display: block !important;
  height: auto !important;
  max-height: 70px !important;
  max-width: 78px !important;
  object-fit: contain !important;
  width: auto !important;
}

.wyd2-hero-logo {
  height: auto !important;
  max-height: 330px !important;
  object-fit: contain !important;
  width: min(430px, 72vw) !important;
}

.wyd2-panel-header .logo-container {
  padding-left: 18px !important;
  width: 118px !important;
}

.wyd2-panel-logo {
  height: auto !important;
  max-height: 62px !important;
  max-width: 74px !important;
  object-fit: contain !important;
  width: auto !important;
}

@media (max-width: 991.98px) {
  .navbar-brand.wyd2-brand-logo {
    flex-basis: 76px !important;
    margin-right: 0 !important;
    max-width: 76px !important;
  }

  .wyd2-menu-logo {
    max-height: 58px !important;
    max-width: 66px !important;
  }

  .wyd2-hero-logo {
    max-height: 280px !important;
    width: min(320px, 74vw) !important;
  }
}
/* End legacy logo sizing */
