[data-bs-theme="dark"]:root {
  /* site‐level vars (merged) */
  --primary:        #e2e2e2;                      /* light grey text on dark */
  --hover-accent:   #ed2e4d;                      /* crimson accent */
  --bg-page:        #121212;                      /* page background */
  --bg-widget:      #1e1e1e;                      /* widget/card background */
  --border-radius:  8px;
  --shadow:         0 4px 12px rgba(0, 0, 0, 0.8); /* deeper shadows */
  --font:           'Inter', sans-serif;

  /* scrollbar (html uses these vars) */
  --scrollbar-track: #1e1e1e;
  --scrollbar-thumb: #444;

  /* button‐specific vars */
  --info-btn-bg:     #00b06f;       /* green stays but pops on dark */
  --info-btn-hover:  #ed2e4d;
  --danger-btn-bg:   #dc3545;       /* red stays */
  --danger-btn-hover:#c82333;

  /* table/body override */
  --tblr-body-bg:   #24262b !important;
}

[data-bs-theme="dark"] .section[x-data="cart()"] {
    background: --bg-widget;
}

[data-bs-theme="dark"] .section[x-data="cart()"] .page-section:hover {
	background: red !important;
}

[data-bs-theme="dark"] .page-wrapper {
    background: #24262b !important;
}

[data-bs-theme="dark"] .container,
[data-bs-theme="dark"] .section,
[data-bs-theme="dark"] .wrapper {
    background-color: inherit !important;
}

[data-bs-theme="dark"] .d-flex.flex-column.py-2 {
    background-color: #1f2125 !important;
}

[data-bs-theme="dark"] .sidebar-link {
    background-color: transparent !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .sidebar-link:hover {
    background-color: #292929 !important;
    color: #ed2e4d !important;
}

[data-bs-theme="dark"] .sidebar-link.active {
    background-color: var(--hover-accent) !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .sidebar-link i {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] a.sidebar-link[href="/account/subscriptions/"] {
    display: none !important;
}
a.sidebar-link[href="/account/subscriptions/"] {
    display: none !important;
}

[data-bs-theme="dark"] a.sidebar-link[href="/account/applications/"] {
    display: none !important;
}
a.sidebar-link[href="/account/applications/"] {
    display: none !important;
}

[data-bs-theme="dark"] .bg-body {
    background-color: #1f2125 !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .card-body {
    background-color: #1f2125 !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .p-0:hover{
	background: #24262b !important;
	transition: none !important;
}

[data-bs-theme="dark"] .username__administraator {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .role__default,
[data-bs-theme="dark"] .role__administraator {
    background-color: #292929 !important;
    color: #00ff00 !important;
}


[data-bs-theme="dark"] .breadcrumb {
    background-color: #181818 !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .breadcrumb-item a {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .breadcrumb-item a:hover {
    color: #26864c !important;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #cccccc !important;
}

[data-bs-theme="dark"] .blog-card {
}

[data-bs-theme="dark"] .blog-title-link {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .blog-meta {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .author-link {
    color: inherit !important;
}

[data-bs-theme="dark"] .author-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-bs-theme="dark"] .blog-date {
    color: #9c9c9e !important;
}

[data-bs-theme="dark"] .image-box img {
    filter: brightness(100%) !important;
}

[data-bs-theme="dark"] .blog-card .card-title a,
[data-bs-theme="dark"] .blog-card .card-title a:hover {
    color: #e2e2e3 !important;
}
[data-bs-theme="dark"] #headerCartTotal{
	color: #e2e2e3 !important;
}
/* applies to both <a> and <button> with .dropdown-item */
[data-bs-theme="dark"] .dropdown-item:hover #headerCartTotal,
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:hover .me-2 {
  border-radius:    5px      !important;
  color:            #ed2e4d !important;
  font-weight: bold !important;
}


[data-bs-theme="dark"] #featuredCarousel {
    background-color: #24262b !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .featured-title,
[data-bs-theme="dark"] .featured-title-link {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .featured-title-link:hover {
    color: #d1d1d1 !important;
}

[data-bs-theme="dark"] .featured-meta,
[data-bs-theme="dark"] .post-date {
    color: #a5a6a6 !important;
}

[data-bs-theme="dark"] .featured-description {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .carousel-control-prev-icon,
[data-bs-theme="dark"] .carousel-control-next-icon {
    filter: invert(100%) !important;
}

[data-bs-theme="dark"] .blog-image {
    border-radius: 8px !important;
    filter: brightness(100%) !important;
}

[data-bs-theme="dark"] .blurred-video {
    background-color: #181818 !important;
}

[data-bs-theme="dark"] .blurred-video::after {
  background: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%2324262b' fill-opacity='1' d='M0,160 Q40,170 80,160 T160,160 T240,160 T320,160 T400,160 T480,160 T560,160 T640,160 T720,160 T800,160 T880,160 T960,160 T1040,160 T1120,160 T1200,160 T1280,160 T1360,160 T1440,160L1440,320L0,320Z'></path></svg>") no-repeat;
  background-size: cover;
  bottom: 0;
  content: '';
  height: 250px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
}


.footer {
    background-color: #1d5349;
    color: #6eada2;
}

[data-bs-theme="dark"] .footer {
    background-color: #1f2125 !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .footer a {
    color: #adadb0 !important;
}

[data-bs-theme="dark"] .footer a:hover {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .footer::before {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%231F2125" fill-opacity="1" d="M0,160 L72,96 L144,160 L216,96 L288,160 L360,96 L432,160 L504,96 L576,160 L648,96 L720,160 L792,96 L864,160 L936,96 L1008,160 L1080,96 L1152,160 L1224,96 L1296,160 L1368,96 L1440,160 L1440,320 L0,320 Z"></path></svg>') no-repeat;
}

[data-bs-theme="dark"] .social-icons a {
    color: #adadb0 !important;
}

[data-bs-theme="dark"] .social-icons a:hover {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .back-to-top {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .back-to-top:hover {
    color: #ffcc00 !important;
}

[data-bs-theme="dark"] .navbar {
    background-color: #1f2125 !important;
}

[data-bs-theme="dark"] .navbar a {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .nav-link {
    color: #ed2e4d !important;
}

[data-bs-theme="dark"] .nav-link:hover,
[data-bs-theme="dark"] .nav-link.active {
	background: none !important;
    color: #ed2e4d !important;
}

[data-bs-theme="dark"] .log-in {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .log-in:hover {
    color: #ed2e4d !important;
}

[data-bs-theme="dark"] .header-banner {
    background: #24262b !important;
}

[data-bs-theme="dark"] .video-overlay {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .info-box {
    background: #313239 !important;
}

[data-bs-theme="dark"] .info-box.discord {
    background: #5566ff !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .info-box h4,
[data-bs-theme="dark"] .info-box p {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .social-icon {
    background: #e2e2e3 !important;
}

[data-bs-theme="dark"] .social-icon img {
    filter: invert(80%) !important;
}

[data-bs-theme="dark"] .social-icon:hover {
    background: #ed2e4d !important;
}

[data-bs-theme="dark"] .custom-button {
    background: #008f5e !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .custom-button:hover {
    background: #00b06f !important;
}

[data-bs-theme="dark"] .popup-body p,
[data-bs-theme="dark"] .popup-body ul li {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .copy-link {
    color: #00ffcc !important;
    font-weight: bold;
    text-decoration: none;
}

[data-bs-theme="dark"] .copy-link:hover {
    text-decoration: underline;
}

[data-bs-theme="dark"] .join-title {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .broadcast {
    background-color: #1e1e1e !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .broadcast-item a {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .broadcast-item a:hover {
    color: #cccccc !important;
}

[data-bs-theme="dark"] input,
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select {
    background-color: #1e1e1e !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] input::placeholder,
[data-bs-theme="dark"] textarea::placeholder {
    color: #aaaaaa !important;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #24262b !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e2e2e3 !important;
	  font-weight: bold !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:hover .me-2 {
    border-radius: 5px !important;
    color: #ed2e4d     !important;
}

[data-bs-theme="dark"] .search-icon {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .card:hover {
    background-color: #1f2125 !important;
}

[data-bs-theme="dark"] .featured-news .featured-title {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .featured-news .carousel-indicators button {
    background-color: #86878a !important;
}

[data-bs-theme="dark"] .featured-news .carousel-indicators .active {
    background-color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .popup {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

[data-bs-theme="dark"] .copyright-text {
    color: #adadb0 !important;
}

[data-bs-theme="dark"] .blog-title {
    color: #e2e2e3;
}

[data-bs-theme="dark"] .article-content,
[data-bs-theme="dark"] .ck-content {
    background-color: #24262b !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .article-content span,
[data-bs-theme="dark"] .article-content p,
[data-bs-theme="dark"] .ck-content span,
[data-bs-theme="dark"] .ck-content p {
    background-color: transparent !important;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] a:hover {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] i {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] hr {
    border-color: #666 !important;
}

[data-bs-theme="dark"] .btn-primary {
	background: #008f5e !important;
	border: none !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .btn-primary:hover {
    background: #00b06f !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .fs-sm a,
[data-bs-theme="dark"] .fs-sm span {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] strong,
[data-bs-theme="dark"] b {
    background: transparent !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] strong img,
[data-bs-theme="dark"] b img {
    filter: none !important;
}

[data-bs-theme="dark"] .fw-medium {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .fw-medium:hover {
	background: none !important;
    color: #ed2e4d !important;
}

[data-bs-theme="dark"] .read-more-btn,
[data-bs-theme="dark"] .view-all-link,
[data-bs-theme="dark"] .button--primary {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .read-more-btn:hover,
[data-bs-theme="dark"] .view-all-link:hover,
[data-bs-theme="dark"] .button--primary:hover {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .small.text-muted {
    color: #b0b3b8 !important;
}

[data-bs-theme="dark"] .small.text-muted:hover {
    color: #b0b3b8 !important;
}

[data-bs-theme="dark"] .popup-button {
    background-color: #008f5e !important;
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.05);
    color: #e2e2e3 !important;
    cursor: pointer;
    font-weight: bold;
    padding: 14px 26px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

[data-bs-theme="dark"] .popup-button:hover {
  background-color: #34be72;
  transform: translateY(-3px);
}

[data-bs-theme="dark"] .theme-toggle-btn {
    background: none !important;
    color: #adadb0 !important;
}

[data-bs-theme="dark"] .theme-toggle-btn:focus,
[data-bs-theme="dark"] .theme-toggle-btn:active {
    box-shadow: none !important;
    outline: none !important;
}

[data-bs-theme="dark"] .theme-toggle-btn:hover {
    background: none !important;
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .mobile-menu {
    background: #24262b !important;
}

[data-bs-theme="dark"] .mobile-menu-list li {
    border-bottom: 1px solid #444;
}

[data-bs-theme="dark"] .mobile-menu-list a {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .mobile-menu-list a:hover {
    background: #2a2a2a;
    color: #ed2e4d;
}

[data-bs-theme="dark"] .mobile-menu-overlay {
    background: rgba(0,0,0,0.7);
}

[data-bs-theme="dark"] .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

[data-bs-theme="dark"] .fs-3,
[data-bs-theme="dark"] .fw-semibold {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .mb-2 {
    background-color: transparent !important;
}

[data-bs-theme="dark"] .mb-2:hover {
    background-color: transparent !important;
}

[data-bs-theme="dark"] .h4,
[data-bs-theme="dark"] .h4 a,
[data-bs-theme="dark"] .h3 a,
[data-bs-theme="dark"] .gap-1,
[data-bs-theme="dark"] .small,
[data-bs-theme="dark"] .small:hover {
    color: #e2e2e3 !important;
}
[data-bs-theme="dark"] .form-control{
	border: none !important;
}

[data-bs-theme="dark"] .dividerCART {
	color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .mt-3:hover,
[data-bs-theme="dark"] .btn-sm:hover,
[data-bs-theme="dark"] .form-control:hover,
[data-bs-theme="dark"] .no-select {
    border: none !important;
    color: #e2e2e3 !important;
}


[data-bs-theme="dark"] .ti-eye {
    background-color: transparent !important;
}

[data-bs-theme="dark"] .sticky-video-toggle button {
    align-items: center;
    background-color: #1f2125 !important;
    border: none;
    border-radius: 50%;
    color: #e2e2e3 !important;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    padding: 10px;
    transition: background-color 0.3s ease;
    width: 50px;
}

/* ==============================
   Rules page
============================== */

[data-bs-theme="dark"] .rules-page-wrapper,
[data-bs-theme="dark"] .rules-content,
[data-bs-theme="dark"] .additional-section {
  background: transparent !important;
}

[data-bs-theme="dark"] .rules-sidebar {
  border-left-color: var(--primary) !important;
}

[data-bs-theme="dark"] .rules-sidebar button {
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .rules-sidebar button:hover {
  color: #ed2e4d !important;
}

[data-bs-theme="dark"] .rules-sidebar button:hover::before,
[data-bs-theme="dark"] .rules-sidebar button.active::before {
  background: #ed2e4d !important;
}

[data-bs-theme="dark"] .store-nav a[href="#ranks"],
[data-bs-theme="dark"] .store-nav a[href="#slotbots"] {
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .store-nav ul li:last-child a:hover,
[data-bs-theme="dark"] .store-nav a[href="#ranks"]:hover {
	background: none !important;
	color: #ed2e4d !important;
}


[data-bs-theme="dark"] .content-header-logo,
[data-bs-theme="dark"] .category-icon,
[data-bs-theme="dark"] .section-header-logo {
  box-shadow: var(--shadow) !important;
}

[data-bs-theme="dark"] .rule-category-card h3,
[data-bs-theme="dark"] .additional-section h3 {
  /* spacing only—text color from --primary */
}

[data-bs-theme="dark"] .rule-toggle-header,
[data-bs-theme="dark"] .rule-toggle-header strong,
[data-bs-theme="dark"] .rule-toggle-header span {
  color: var(--primary) !important;
}

[data-bs-theme="dark"] .punishment-popup {
  background: #1f2125 !important;
  border-color: black !important;
  box-shadow: black !important;
}

[data-bs-theme="dark"] .punishment-popup th {
  background: #1f2125 !important;
  color: var(--primary) !important;
}

[data-bs-theme="dark"] .punishment-popup td {
  color: var(--primary) !important;
}

[data-bs-theme="dark"] .additional-section ul,
[data-bs-theme="dark"] .additional-section li {
  color: var(--primary) !important;
}

[data-bs-theme="dark"] html {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

[data-bs-theme="dark"] html::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

[data-bs-theme="dark"] html::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
}

[data-bs-theme="dark"] .card-product {
  border: none !important;
}

[data-bs-theme="dark"] .card-product .product-footer .btn {
  background-color: #008f5e !important;
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .card-product .product-footer .btn:hover {
  background-color: var(--hover-accent) !important;
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] li {
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] {
  background: #24262b !important;
  color: var(--primary) !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] .table tbody tr {
  background: var(--bg-page) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] .table th,
[data-bs-theme="dark"] section[x-data="cart()"] .table td {
  color: var(--primary) !important;
}
[data-bs-theme="dark"] section[x-data="cart()"] .table th:hover,
[data-bs-theme="dark"] section[x-data="cart()"] .table td:hover {
  background: var(--bg-widget) !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] #checkoutButton,
[data-bs-theme="dark"] section[x-data="cart()"] button[x-show="coupon === null"] {
  background: var(--info-btn-bg) !important;
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] #checkoutButton:hover,
[data-bs-theme="dark"] section[x-data="cart()"] button[x-show="coupon === null"]:hover {
  background: var(--info-btn-hover) !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] .spinner-border {
  border-color: var(--primary) transparent transparent !important;
}

[data-bs-theme="dark"] .modal-content {
	background: #1f2125 !important;
}

[data-bs-theme="dark"] .modal-footer {
	background: #1f2125 !important;
}
[data-bs-theme="dark"] .btn-success{
	background:#008f5e !important;
}
[data-bs-theme="dark"] .btn-success:hover {
	background: var(--hover-accent) !important;
}

[data-bs-theme="dark"] .table td {
	background: var(--bg-widget) !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] .table tbody tr:hover {
  background-color: none !important;
  box-shadow: none !important;
  transform: none !important;
}

[data-bs-theme="dark"] .card-header:first-child:hover {
	background: #1f2125 !important;
}

[data-bs-theme="dark"] .card-header {
	background-color: var(--bg-widget) !important;
}

/* 1) Base colors for the cart table & cells */
[data-bs-theme="dark"] section[x-data="cart()"] .table,
[data-bs-theme="dark"] section[x-data="cart()"] .table th,
[data-bs-theme="dark"] section[x-data="cart()"] .table td {
  background-color: #1f2125 !important;  /* card bg */
  color:          var(--primary)    !important;
}

/* 2) Header row stays darker */
[data-bs-theme="dark"] section[x-data="cart()"] .table thead th {
  background-color: #1f2125 !important;
}

[data-bs-theme="dark"] section[x-data="cart()"] .table thead th:hover {
  background-color: #1f2125 !important;
}

/* 1) Target every row and cell in that cart table (normal & hover) */
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr,
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr > th,
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr > td,
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr:hover,
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr:hover > th,
[data-bs-theme="dark"] section[x-data="cart()"] .table-hover tbody tr:hover > td {
  /* force the widget background always */
  background-color: #1f2125 !important;
  background-image: none          !important;
  cursor: default                 !important;
  opacity: 1                      !important;
  transition: background-color 0s !important;
}


/* 4) Inputs / quantity spinner styling */
[data-bs-theme="dark"] section[x-data="cart()"] .input-group {
  background: var(--bg-widget) !important;
}
[data-bs-theme="dark"] section[x-data="cart()"] .form-control {
  background-color: #222 !important;
  border-color:     #444 !important;
  color:            #e2e2e3 !important;
  transition:       none !important;    /* no blue glow on hover/focus */
}
[data-bs-theme="dark"] section[x-data="cart()"] .form-control:hover,
[data-bs-theme="dark"] section[x-data="cart()"] .form-control:focus {
  background-color: #222 !important;
  box-shadow:       none   !important;
  color:            #e2e2e3 !important;
  outline:          none   !important;
}

/* 5) Quantity spinner box */
[data-bs-theme="dark"] .checkoutItemQuantitySpinner {
  background-color: var(--bg-widget) !important;
  border-color:     #444          !important;
}

/* 6) Buttons (minus/plus/remove) — lock their normal color on hover */
[data-bs-theme="dark"] section[x-data="cart()"] .btn-danger,
[data-bs-theme="dark"] section[x-data="cart()"] .btn-success,
[data-bs-theme="dark"] section[x-data="cart()"] .btn-primary {
  transition: none !important;
}
[data-bs-theme="dark"] section[x-data="cart()"] .btn-danger:hover {
  background-color: var(--danger-btn-bg) !important;
  color:            #e2e2e3              !important;
}
[data-bs-theme="dark"] section[x-data="cart()"] .btn-success:hover {
  background-color: var(--info-btn-bg) !important;
  color:            #e2e2e3              !important;
}
[data-bs-theme="dark"] section[x-data="cart()"] .btn-primary:hover {
  background-color: var(--hover-accent) !important;
  color:            #e2e2e3              !important;
}

/* Make Bootstrap checkboxes match your dark widget bg */
[data-bs-theme="dark"] .form-check-input {
  /* use your widget color for the checkmark & active bg */
  accent-color: var(--bg-widget) !important;
  /* force the box background */
  background-color: var(--bg-widget) !important;
  /* match the border to your dark theme */
  border: 1px solid #444       !important;
}

/* When checked, keep it the same bg (dark) and border */
[data-bs-theme="dark"] .form-check-input:checked {
  background-color: #00b06f !important;
  border-color:      #666       !important;
}

/* And make the check‐mark itself a light color so it shows up */
[data-bs-theme="dark"] .form-check-input:checked::before {
  color: var(--primary) !important;
}

/* Kill any blue glow on focus/hover */
[data-bs-theme="dark"] .form-check-input:focus,
[data-bs-theme="dark"] .form-check-input:hover {
  box-shadow: none !important;
}

[data-bs-theme="dark"] .error-card{
  background: transparent !important;
  border-radius: none !important;
  box-shadow: none !important;
  color: transparent !important;
}

[data-bs-theme="dark"] .success-card{
  background: transparent !important;
  border-radius: none !important;
  box-shadow: none !important;
  color: transparent !important;
}

[data-bs-theme="dark"] .vote-card{
  background: transparent !important;
  border-radius: none !important;
  box-shadow: none !important;
  color: transparent !important;
}

[data-bs-theme="dark"] .team-wrapper {
  background-color: #1f2125 !important;
  color: #e2e2e2 !important;
}

[data-bs-theme="dark"] .member-card {
  background-color: #1f2125;
  box-shadow: var(--shadow);
  color: #e2e2e2;
}

[data-bs-theme="dark"] .role-heading {
  color: var(--primary);
}
[data-bs-theme="dark"] .role-heading::after {
  background-color: var(--primary);
}

[data-bs-theme="dark"] .profile-image {
  border: 2px solid #444;
}

[data-bs-theme="dark"] .person-details .display-name {
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .role-name {
  color: #bbbbbb !important;
}

[data-bs-theme="dark"] .link-button {
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .steam-link {
  background-color: #2c2f38 !important;
}
[data-bs-theme="dark"] .steam-link:hover {
  background-color: #3a3d47 !important;
}

[data-bs-theme="dark"] .discord-link {
  background-color: #4752c4 !important;
}
[data-bs-theme="dark"] .discord-link:hover {
  background-color: #5865f2 !important;
}

[data-bs-theme="dark"] {
  --primary: #a4d4cb;
  --hover-accent: #ff7088;
  --bg-page: #121212;
  --bg-widget: #1e1e1e;
  --scrollbar-track: #1c1c1c;
  --scrollbar-thumb: #5a5a5a;
  --shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}


[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .sidebar-profile-card {
  background-color: #1f2125 !important;
  box-shadow: var(--shadow);
}

[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .user-data i,
[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .sidebar-title,
[data-bs-theme="dark"] .sidebar-link {
  color: var(--primary);
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  background-color: var(--bg-page);
  border-color: #444 #444 var(--bg-widget);
  color: var(--hover-accent);
}

[data-bs-theme="dark"] .table thead th {
  background-color: #1f2125 !important;
  color: var(--primary);
}

[data-bs-theme="dark"] .sidebar-divider {
  background-color: #333;
}

[data-bs-theme="dark"] .text-muted {
  color: #aaa;
}

[data-bs-theme="dark"] .border-end {
  border-right: 1px solid #e2e2e3 !important;
}


[data-bs-theme="dark"] body {
  background-color: #121212 !important;
  color: #e2e2e3 !important;
}

[data-bs-theme="dark"] a {
    color: #e2e2e3 !important;
}

[data-bs-theme="dark"] .card {
    background-color: #1f2125 !important;
    border-color: #444 !important;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.05);
    color: #e2e2e3 !important;
}


[data-bs-theme="dark"] .card-title {
  color: #f1f1f1;
}

[data-bs-theme="dark"] .table-hover tbody tr:hover {
  background-color: #1f2125 !important;
}

[data-bs-theme="dark"] .table th {
  background-color: #2c2c2c;
  color: #ddd;
}

[data-bs-theme="dark"] .table td, 
[data-bs-theme="dark"] .table th {
	background: #1f2125 !important;
  border-top: 1px solid #444;
}

[data-bs-theme="dark"] .table td .small {
  color: #bbb;
}

[data-bs-theme="dark"] input[readonly] {
  background-color: #2a2a2a;
  border: 1px solid #555;
  color: #ccc;
}


[data-bs-theme="dark"] .text-success {
  color: #4cc99c !important;
}

[data-bs-theme="dark"] .role__default {
	background: none !important;
	color: #3AD07F !important;
}

/* Base style for coin icon */
.fa-coins {
  color: inherit !important;
}
/* 1) Make “text-danger” dropdown‐items look like the others by default */
[data-bs-theme="dark"] .dropdown-item.text-danger,
[data-bs-theme="dark"] .dropdown-item.text-danger .me-2 {
  color: #ed2e4d !important;  /* your normal dropdown text color */
}

/* fully override the logout‐button hover in dark mode */
body[data-bs-theme="dark"] .dropdown-menu .dropdown-item.text-danger:hover,
body[data-bs-theme="dark"] .dropdown-menu .dropdown-item.text-danger:hover .me-2 {
  background-color: #3a3a3a !important;
  color:            #ed2e4d !important;
}



/* Apply correct color contextually */
.text-danger .fa-coins {
  color: #ed2e4d !important; /* Bootstrap red */
}

.text-success .fa-coins {
  color: #198754 !important; /* Bootstrap green */
}

/* Optional: More explicit dark mode support */
[data-bs-theme="dark"] .text-danger .fa-coins {
  color: #ed2e4d !important;
}

[data-bs-theme="dark"] .text-success .fa-coins {
  color: #4cc99c !important;
}

[data-bs-theme="dark"] .popup-content {
  background: #24262b !important;
  box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

[data-bs-theme="dark"] .popup-header-bar {
  background-color: #2a2a2a;
  border-bottom: 1px solid #3a3a3a;
  color: #f0f0f0;
}


[data-bs-theme="dark"] .popup-title,
[data-bs-theme="dark"] .join-title {
  color: #f6f6f6;
}

[data-bs-theme="dark"] .popup-image img {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
  filter: brightness(100%) !important;
}

[data-bs-theme="dark"] .popup-list ul {
  color: #cccccc;
}

[data-bs-theme="dark"] .popup-body p {
  color: #bbb;
}

[data-bs-theme="dark"] .close-popup {
  color: #aaa;
}

[data-bs-theme="dark"] .close-popup:hover {
  color: #e2e2e3;
}

[data-bs-theme="dark"] .mobile-cart-float {
	background: #1e1e1e !important;
}

[data-bs-theme="dark"] #cartNavLink:hover,
[data-bs-theme="dark"] #cartNavLink:hover * {
  color: #ed2e4d !important;
    transition: color 0.2s ease, background 0.2s ease;
}

html[data-bs-theme="dark"] .me-1,
html[data-bs-theme="dark"] .fw-bold,
html[data-bs-theme="dark"] td,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .mb-2 {
  color: #e2e2e3 !important;
}
