/* =========================================================================
   THEME MODERN — Glossy, animated, fast, dark/light switchable overlay
   This file layers on top of the existing styles without touching the
   admin-configurable CSS variables set in layouts/app.blade.php.
   ========================================================================= */

/* ---------- Smooth global motion ---------- */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  transition: background-color .25s ease, border-color .25s ease,
    color .25s ease, box-shadow .25s ease, opacity .3s ease, transform .25s ease;
}

body {
  /* opacity-only: never set `transform` on body/html. A lingering non-none
     transform (even translateY(0)) makes this element a containing block
     for every position:fixed descendant on the page — that breaks the
     sticky mobile bottom nav, the account slide-menu, and the floating
     theme toggle. */
  animation: tm-page-in .4s ease both;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes tm-page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

html, body {
  overflow-x: hidden;
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--theme-color, #6d5efc), #8f7bff);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ---------- Glassy sticky header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* NOTE: no transform / filter / backdrop-filter directly on .header —
     any of those on an ancestor turns it into a containing block for its
     position:fixed descendants (the account slide-menu, the sticky mobile
     bottom nav, etc.), which breaks them. The glass effect below is done
     on a ::before layer instead so .header stays a normal element. */
  transition: box-shadow .3s ease;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--navigation-background-color, #ffffff) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(120, 120, 140, .12);
}

.header.tm-scrolled {
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .25);
}

.header .logo {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1) , filter .35s ease;
}
.header a:hover .logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .15));
}

/* Nav links — animated underline */
.header nav a.link,
.header nav a.fb-normal {
  position: relative;
}
.header nav a.link::after,
.header nav a.fb-normal::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-color, #6d5efc), #ff6fa5);
  border-radius: 2px;
  transition: right .3s cubic-bezier(.2, .8, .2, 1);
}
.header nav a.link:hover::after,
.header nav a.fb-normal:hover::after {
  right: 0;
}

/* ---------- Buttons: glossy gradient + lift ---------- */
.btn-pro,
.gosizi-btn,
.theme-btn-block,
.buy_now_btn,
button[type="submit"],
.btn-primary {
  position: relative;
  overflow: hidden;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .25);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease;
}
.btn-pro:hover,
.gosizi-btn:hover,
.theme-btn-block:hover,
.buy_now_btn:hover,
button[type="submit"]:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .35);
  filter: brightness(1.05);
}
.btn-pro:active,
.gosizi-btn:active,
.buy_now_btn:active,
button[type="submit"]:active {
  transform: translateY(0) scale(.98);
}

/* subtle shine sweep on hover */
.btn-pro::before,
.gosizi-btn::before,
.buy_now_btn::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-pro:hover::before,
.gosizi-btn:hover::before,
.buy_now_btn:hover::before {
  left: 130%;
}

/* ---------- Product / package cards ---------- */
.single-game-product,
.variation_list,
.list-group-item,
.package-item-outer .list-group-item {
  border-radius: 14px !important;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.single-game-product:hover,
.variation_list:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .3);
  border-color: var(--theme-color, #6d5efc) !important;
}
.single-game-product img {
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  border-radius: 12px;
}
.single-game-product:hover img {
  transform: scale(1.06);
}

/* ---------- Carousel polish ---------- */
.carousel__track { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.carousel__item { transition: transform .3s ease, opacity .3s ease; }
.carousel__prev,
.carousel__next {
  transition: transform .2s ease, opacity .2s ease;
}
.carousel__prev:hover,
.carousel__next:hover { transform: scale(1.15); }
.carousel__pagination-button {
  transition: transform .25s ease, background-color .25s ease;
}
.carousel__pagination-button--active { transform: scale(1.3); }

/* ---------- Inputs / selects ---------- */
input, select, textarea, .form-input, .form-select {
  border-radius: 10px !important;
}
input:focus, select:focus, textarea:focus, .form-input:focus, .form-select:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color, #6d5efc) 30%, transparent) !important;
}

/* ---------- Reveal on scroll (added dynamically by theme-modern.js) ---------- */
.tm-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}
.tm-reveal.tm-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Nav / auth buttons ---------- */
.btn-pro-login,
.btn-register {
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn-pro-login:hover {
  transform: translateY(-2px);
  background-color: var(--theme-color, #6d5efc);
  color: #fff !important;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.35);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.4);
  filter: brightness(1.08);
}

.top-profile {
  transition: box-shadow .25s ease, transform .2s ease, border-color .25s ease;
}
.top-profile:hover {
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.3);
  border-color: var(--theme-color, #6d5efc);
}
.top-profile img {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.top-profile:hover img { transform: scale(1.08) rotate(-4deg); }
.top-profile svg { transition: transform .25s ease; }

/* Account slide-menu links */
#userMenu a {
  transition: background-color .2s ease, padding-left .2s ease, color .2s ease;
}
#userMenu a:hover {
  background-color: color-mix(in srgb, var(--theme-color, #6d5efc) 10%, transparent);
  padding-left: 20px;
  color: var(--theme-color, #6d5efc) !important;
}
#userMenu aside {
  box-shadow: -10px 0 40px -14px rgba(0,0,0,.35);
}

/* ---------- Footer section titles (Stay Connected / Support Center) ---------- */
.footer-title {
  position: relative;
  display: inline-block;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--theme-color, #6d5efc), #ff6fa5);
}

/* Support-center contact card */
.footer-contact-icon1 {
  border-radius: 12px;
}
.footer-contact-icon1:hover {
  background-color: rgba(255,255,255,.04);
}
.footer-contact-icon {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.footer-contact-icon1:hover .footer-contact-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* Social icons — circular glossy buttons */
.social_icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.social_icon a:hover {
  background: linear-gradient(135deg, var(--theme-color, #6d5efc), #ff6fa5);
  border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
}

/* =========================================================================
   AUTH PAGES — Login / Register
   ========================================================================= */
.secondary-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 15% -10%, color-mix(in srgb, var(--theme-color, #6d5efc) 14%, transparent), transparent),
              radial-gradient(900px 500px at 100% 0%, color-mix(in srgb, #ff6fa5 12%, transparent), transparent),
              linear-gradient(180deg, #f1f6ff, rgba(242,243,253,.5), rgba(239,247,255,.4));
}
html[data-theme="dark"] .secondary-section {
  background: radial-gradient(1200px 500px at 15% -10%, color-mix(in srgb, var(--theme-color, #6d5efc) 22%, transparent), transparent),
              radial-gradient(900px 500px at 100% 0%, color-mix(in srgb, #ff6fa5 16%, transparent), transparent),
              #0e1015;
}

.login-form {
  border-radius: 18px !important;
  box-shadow: 0 24px 60px -20px rgba(20, 20, 40, .25) !important;
  border: 1px solid rgba(120, 120, 140, .12) !important;
  animation: tm-card-in .55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes tm-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-theme="dark"] .login-form {
  background-color: #171a22 !important;
  border-color: rgba(255,255,255,.08) !important;
}

.social-login a {
  border-radius: 10px !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.social-login a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.3);
}

.login-form .error-msg,
.login-form .alert-white,
.error-msg {
  animation: tm-shake .4s ease;
  display: inline-block;
}
@keyframes tm-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.login-form a,
.game-name a {
  position: relative;
}
.login-form a::after,
.game-name a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  opacity: .6;
  transition: right .25s ease;
}
.login-form a:hover::after,
.game-name a:hover::after {
  right: 0;
}

/* =========================================================================
   PROFILE / MY ACCOUNT
   ========================================================================= */
.user_style_profile {
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color, #6d5efc) 30%, transparent),
              0 14px 34px -12px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.user_style_profile:hover {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--theme-color, #6d5efc) 45%, transparent),
              0 18px 40px -12px rgba(0,0,0,.45);
}

.statics {
  border-radius: 14px !important;
  padding: 18px 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px -14px rgba(0,0,0,.2);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  animation: tm-card-in .5s cubic-bezier(.2,.8,.2,1) both;
}
.statics::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-color, #6d5efc), #ff6fa5);
}
.statics:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -14px rgba(0,0,0,.3);
}
.statics-heading {
  background: linear-gradient(90deg, var(--theme-color, #6d5efc), #ff6fa5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.account-info-container {
  border-radius: 16px !important;
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.25);
  border: 1px solid rgba(120,120,140,.1);
  overflow: hidden;
  animation: tm-card-in .5s cubic-bezier(.2,.8,.2,1) both;
}
html[data-theme="dark"] .account-info-container {
  background-color: #171a22 !important;
  border-color: rgba(255,255,255,.08) !important;
}
.account-info-container:hover {
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.32);
}
.account-info-container .form-control {
  transition: border-color .25s ease, box-shadow .25s ease;
}
.account-info-container .form-control:focus {
  border-color: var(--theme-color, #6d5efc) !important;
}

/* ---------- Checkout: package / payment-method selection ---------- */
.pm_list label.list-group-item,
.variation_list {
  transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease, background-color .25s ease;
}
.pm_list label.list-group-item:hover,
.variation_list:hover {
  border-color: var(--theme-color, #6d5efc) !important;
}

.pm_list.selected_pm label.list-group-item,
.variation_list.selected_variation {
  border-color: var(--theme-color, #6d5efc) !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color, #6d5efc) 18%, transparent);
  background-color: color-mix(in srgb, var(--theme-color, #6d5efc) 6%, white);
}

.check_selected.element-check-label {
  background-color: var(--theme-color, #6d5efc) !important;
  border-color: var(--theme-color, #6d5efc) !important;
  animation: tm-pop-in .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes tm-pop-in {
  from { transform: rotate(45deg) scaleX(-1) scale(.4); opacity: 0; }
  to   { transform: rotate(45deg) scaleX(-1) scale(1); opacity: 1; }
}

/* =========================================================================
   BOTTOM STICKY MOBILE NAV — redesigned icon tabs
   ========================================================================= */
@media (max-width: 767px) {
  body {
    margin-bottom: 84px !important;
  }

  .sticky-footer-container {
    background: color-mix(in srgb, var(--navigation-background-color, #ffffff) 88%, transparent) !important;
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid rgba(120, 120, 140, .12);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .18) !important;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  html[data-theme="dark"] .sticky-footer-container {
    background: color-mix(in srgb, #0e1015 88%, transparent) !important;
    border-top-color: rgba(255, 255, 255, .08);
  }
}

.sticky-footer-item {
  position: relative;
}
.sticky-footer-item a {
  text-decoration: none;
}
.sticky-footer-item .d-flex {
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.sticky-footer-item a:active .d-flex {
  transform: scale(.88);
}

/* icon pill — first span in the item is the icon wrapper */
.sticky-footer-item .d-flex > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  margin: 0 auto 3px;
  background: transparent;
  transition: background .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.sticky-footer-item .d-flex > span:first-child i,
.sticky-footer-item .d-flex > span:first-child svg {
  font-size: 19px;
  width: 19px;
  height: 19px;
  color: var(--primary-font-color, #6b7280);
  opacity: .65;
  transition: color .3s ease, opacity .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

/* label — second span */
.sticky-footer-item .d-flex > span:last-child {
  font-size: 11px;
  font-weight: 500;
  opacity: .65;
  transition: opacity .25s ease, color .25s ease, font-weight .25s ease;
}

/* hover / press feedback (all items) */
.sticky-footer-item a:hover .d-flex > span:first-child i,
.sticky-footer-item a:hover .d-flex > span:first-child svg {
  transform: translateY(-2px) scale(1.1);
  opacity: 1;
}

/* active (current page) tab */
.sticky-footer-item.tm-nav-active .d-flex > span:first-child {
  background: linear-gradient(135deg, var(--theme-color, #6d5efc), #ff6fa5);
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--theme-color, #6d5efc) 60%, transparent);
  transform: translateY(-3px);
}
.sticky-footer-item.tm-nav-active .d-flex > span:first-child i,
.sticky-footer-item.tm-nav-active .d-flex > span:first-child svg {
  color: #fff !important;
  opacity: 1;
}
.sticky-footer-item.tm-nav-active .d-flex > span:last-child {
  color: var(--theme-color, #6d5efc);
  opacity: 1;
  font-weight: 700;
}
.sticky-footer-item.tm-nav-active::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--theme-color, #6d5efc);
  transform: translateX(-50%);
  animation: tm-dot-in .3s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes tm-dot-in {
  from { opacity: 0; transform: translateX(-50%) scale(0); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* ---------- Footer ---------- */
footer { position: relative; }
.footer-contact-icon1 {
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer-contact-icon1:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .4);
}
.social_icon a { display: inline-block; transition: transform .25s ease; }
.social_icon a:hover { transform: translateY(-3px) scale(1.08); }

/* =========================================================================
   THEME TOGGLE — floating switch, sun/moon
   ========================================================================= */
.tm-theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 120, 140, .18);
  background: color-mix(in srgb, var(--content-box-color, #ffffff) 85%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.tm-theme-toggle:hover {
  transform: translateY(-3px) rotate(-8deg) scale(1.05);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .45);
}
.tm-theme-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--theme-color, #6d5efc);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.tm-theme-toggle .tm-icon-moon { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.4); }
.tm-theme-toggle .tm-icon-sun { position: absolute; opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="dark"] .tm-theme-toggle .tm-icon-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
html[data-theme="dark"] .tm-theme-toggle .tm-icon-moon { opacity: 1; transform: rotate(0) scale(1); }

@media (max-width: 767px) {
  .tm-theme-toggle {
    width: 46px; height: 46px; right: 14px; bottom: 84px;
  }
  .tm-theme-toggle svg { width: 20px; height: 20px; }
}

/* =========================================================================
   DARK MODE
   Overrides both the admin CSS variables and the many hard-coded
   Tailwind / Bootstrap utility colors used across the templates.
   ========================================================================= */
html[data-theme="dark"] {
  --background-color: #0e1015 !important;
  --primary-font-color: #e7e9ee !important;
  --navigation-background-color: #12141b !important;
  --navigation-font-color: #e7e9ee !important;
  --footer-color: #0a0b10 !important;
  --footer-font-color: #c7cad3 !important;
  --content-box-color: #171a22 !important;
  --background-image: none !important;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background-color: var(--background-color) !important;
  color: var(--primary-font-color) !important;
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-gray-50,
html[data-theme="dark"] .bg-gray-100,
html[data-theme="dark"] .bg-gray-200,
html[data-theme="dark"] .bg-gray-300 {
  background-color: #171a22 !important;
}

html[data-theme="dark"] .text-black,
html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .text-gray-800,
html[data-theme="dark"] .text-gray-700 {
  color: #e7e9ee !important;
}
html[data-theme="dark"] .text-gray-600,
html[data-theme="dark"] .text-gray-500,
html[data-theme="dark"] .text-gray-400 {
  color: #a7abb8 !important;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .border-gray-100,
html[data-theme="dark"] .border-gray-200,
html[data-theme="dark"] .border-gray-300,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] hr {
  border-color: rgba(255, 255, 255, .08) !important;
}

html[data-theme="dark"] .single-game-product,
html[data-theme="dark"] .variation_list,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .bg-white.border,
html[data-theme="dark"] .border.bg-white {
  background-color: #171a22 !important;
  color: #e7e9ee !important;
}

html[data-theme="dark"] .header {
  background: color-mix(in srgb, #0e1015 82%, transparent) !important;
  border-bottom-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select {
  background-color: #1b1e27 !important;
  color: #e7e9ee !important;
  border-color: rgba(255, 255, 255, .12) !important;
}
html[data-theme="dark"] ::placeholder { color: #7d8190 !important; }

html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] #userMenu,
html[data-theme="dark"] aside.bg-white {
  background-color: #171a22 !important;
  color: #e7e9ee !important;
  border-color: rgba(255, 255, 255, .08) !important;
}

html[data-theme="dark"] table,
html[data-theme="dark"] .table {
  background-color: #171a22 !important;
  color: #e7e9ee !important;
}
html[data-theme="dark"] table thead,
html[data-theme="dark"] .bg-gray-300.text-left {
  background-color: #1f232d !important;
  color: #e7e9ee !important;
}

html[data-theme="dark"] .shadow,
html[data-theme="dark"] .shadow-md,
html[data-theme="dark"] .shadow-lg,
html[data-theme="dark"] .drop-shadow-2xl {
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6) !important;
}

html[data-theme="dark"] .top-profile {
  background-color: #171a22 !important;
  border-color: rgba(255, 255, 255, .12) !important;
  color: #e7e9ee !important;
}

html[data-theme="dark"] img {
  filter: brightness(.94);
}

html[data-theme="dark"] .pm_list.selected_pm label.list-group-item,
html[data-theme="dark"] .variation_list.selected_variation {
  background-color: color-mix(in srgb, var(--theme-color, #6d5efc) 16%, #171a22) !important;
}

/* keep brand-colored buttons vivid in dark mode */
html[data-theme="dark"] .btn-pro,
html[data-theme="dark"] .gosizi-btn,
html[data-theme="dark"] .buy_now_btn {
  filter: saturate(1.05);
}
