:root {
  --main: #b91c1c;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
    position: absolute;
    top: -44px;
    right: 15px;
  }
}

.close-button {
  border-radius: 3px;
  line-height: 1em;
  padding: 10px;
}

.maintenance-page {
  display: grid;
  place-content: center;
  width: 100vw;
  height: 100vh;
}

.maintenance-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  color: #e73d3e;
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  background-color: #121621 !important;
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
  background: #141a2a;
  border: 1px solid rgb(255 255 255 / 10%) !important;
  color: #fff;
}


.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid transparent !important;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2 .selection {
  width: 100%;
}

.select2-container--default .select2-selection--single {
  background: linear-gradient(#141A2A, #141A2A) padding-box, linear-gradient(hsl(var(--white) / 0.3), hsl(var(--white) / 0.3)) border-box;
  border-radius: 4px !important;
  height: 50px !important;
  padding: .75rem .75rem !important;
  border: 1px solid hsl(var(--white) / .3) !important;
  border-color: #565656 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--base-gradient);
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--main) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: var(--main) !important;
  border-radius: .375rem !important;
}


.gateway-card {
  padding: 15px;
}


@media (max-width: 768px) {
  .gateway-card {
    padding: 0;
  }
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: var(--main);
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: var(--main);
  background-color: transparent;
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: var(--main);
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.payment-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.payment-item:first-child {
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid var(--main);
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__btn-text,
.payment-item__btn__icon {
  color: rgb(181, 181, 181);
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid var(--main);
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.adjust-height .payment-system-list.is-scrollable {
  max-height: 461px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.input-group-text.mobile-code {
  background: var(--base-gradient) !important;
  border: 0 !important;
  border-radius: 4px;
}

/* ==========================================================================
   SANTA'S GIFT - 2x4 FORCED MATRIX THEME (CHRISTMAS RED & SNOW WHITE BRANDING)
   Palette:
     - Primary Christmas Crimson / Santa Red: #7f1d1d, #991b1b, #b91c1c, #dc2626
     - Secondary Crisp Snow White & Candy-Cane Rose: #ffffff, #fff5f5, #fef2f2, #fecaca
     - Festive Gold / Starlight Accent: #f59e0b, #fde047
     - Text Primary: #2a0a0a (Deep Berry) / #1f2937
     - Text Secondary: #644949 / #7f1d1d
   ========================================================================== */
:root {
  --main: #b91c1c;
  --festive-green: #b91c1c;
  --festive-green-dark: #7f1d1d;
  --festive-green-deep: #991b1b;
  --festive-green-light: #dc2626;
  --festive-green-glow: rgba(185, 28, 28, 0.22);

  --festive-brown: #dc2626;
  --festive-brown-dark: #991b1b;
  --festive-brown-light: #ef4444;
  --festive-brown-warm: #b91c1c;
  --festive-amber: #f59e0b;
  --festive-amber-light: #fde047;
  --festive-brown-glow: rgba(220, 38, 38, 0.25);

  --festive-parchment: #fffafa;
  --festive-cream: #fef2f2;
  --festive-border: #fecaca;
  --festive-text: #2a0a0a;
  --festive-text-muted: #644949;

  --base-gradient: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%);
  --brown-gradient: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #ef4444 100%);
  --festive-card-gradient: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

body, h1, h2, h3, h4, h5, h6, p, span, a, input, select, textarea, button, table, label {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font) !important;
  background-color: var(--festive-parchment) !important;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(220, 38, 38, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(185, 28, 28, 0.06) 0%, transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 50%, #fef2f2 100%) !important;
  color: var(--festive-text) !important;
}

h1, h2, h3, h4, h5, h6, .card-title, .breadcrumb__title, .dashboard-widget__title {
  font-family: var(--heading-font) !important;
}

/* Header & Navbar */
.header,
.dashboard-header {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 45%, #b91c1c 100%) !important;
  border-bottom: 4px solid #ffffff !important;
  box-shadow: 0 4px 20px rgba(127, 29, 29, 0.28) !important;
}

.header .navbar-brand.logo img {
  max-height: 58px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header .nav-menu .nav-link,
.header .nav-menu .dropdown-menu__link {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.header .nav-menu .nav-link:hover,
.header .nav-menu .dropdown-menu__link:hover {
  color: #fde047 !important;
}

.header .dropdown-menu {
  background: #991b1b !important;
  border: 1.5px solid #fca5a5 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

/* Breadcrumb Banner */
.breadcrumb {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 55%, #dc2626 100%) !important;
  border-bottom: 4px solid #ffffff !important;
  padding: 45px 0 !important;
  position: relative;
  overflow: hidden;
}

.breadcrumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.breadcrumb__title {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.apex-breadcrumb-subtitle,
.festive-breadcrumb-subtitle {
  color: #fde047 !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Dashboard Section */
.dashboard {
  background: transparent !important;
}

/* Dashboard Widgets */
.dashboard-widget {
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%) !important;
  border: 1.5px solid var(--festive-border) !important;
  border-top: 3.5px solid #dc2626 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.08) !important;
  padding: 22px 20px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.dashboard-widget::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: repeating-linear-gradient(45deg, #b91c1c, #b91c1c 10px, #ffffff 10px, #ffffff 20px);
}

.dashboard-widget:hover {
  transform: translateY(-4px);
  border-color: #dc2626 !important;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.18) !important;
}

.dashboard-widget__icon {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%) !important;
  border: 1.5px solid #fca5a5 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  width: 56px !important;
  height: 56px !important;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25) !important;
}

.dashboard-widget__icon::before {
  display: none !important;
}

.dashboard-widget__icon span,
.dashboard-widget__icon i {
  color: #ffffff !important;
  font-size: 1.4rem !important;
}

.dashboard-widget__title {
  color: #991b1b !important;
  font-weight: 800 !important;
  font-size: 1.45rem !important;
  margin-bottom: 2px !important;
}

.dashboard-widget__text {
  color: var(--festive-text-muted) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  letter-spacing: 0.6px;
}

/* Cards & Containers */
.custom--card,
.card.custom--card {
  background: #ffffff !important;
  border: 1.5px solid var(--festive-border) !important;
  border-top: 3.5px solid #b91c1c !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.08) !important;
  color: var(--festive-text) !important;
}

.custom--card .card-header {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%) !important;
  border-bottom: 2.5px solid #fca5a5 !important;
  color: #ffffff !important;
  border-radius: 12px 12px 0 0 !important;
}

.custom--card .card-header .card-title,
.custom--card .card-header h5 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Tables */
.table.table--responsive--md,
.table.table--responsive--lg,
.custom--table {
  background: #ffffff !important;
  border: 1.5px solid var(--festive-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.06) !important;
}

.table.table--responsive--md thead tr th,
.table.table--responsive--lg thead tr th,
.custom--table thead tr th {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border-bottom: 2.5px solid #fca5a5 !important;
  font-weight: 700 !important;
}

.table.table--responsive--md tbody tr,
.table.table--responsive--lg tbody tr,
.custom--table tbody tr {
  background: #ffffff !important;
  color: var(--festive-text) !important;
  border-bottom: 1px solid #fee2e2 !important;
}

.table.table--responsive--md tbody tr:hover,
.table.table--responsive--lg tbody tr:hover,
.custom--table tbody tr:hover {
  background: #fff5f5 !important;
}

.table.table--responsive--md tbody tr td,
.table.table--responsive--lg tbody tr td,
.custom--table tbody tr td {
  color: var(--festive-text) !important;
}

/* Account (Login / Register) & Form Controls */
.account {
  background: radial-gradient(circle at 50% 15%, rgba(220, 38, 38, 0.10), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(185, 28, 28, 0.08), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fef2f2 100%) !important;
  padding: 60px 0 !important;
}

.account-form,
.contact-form,
.profile-setting__form {
  background: #ffffff !important;
  background-image: none !important;
  border: 2px solid var(--festive-border) !important;
  border-top: 4px solid #b91c1c !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 36px rgba(185, 28, 28, 0.12) !important;
  color: var(--festive-text) !important;
}

.account-form__title {
  color: #991b1b !important;
  font-weight: 800 !important;
}

.account-form p,
.account-form span,
.account-form label,
.form--check .form-check-label {
  color: var(--festive-text) !important;
}

.forgot-password,
.account-form a.text--base,
.form--check .form-check-label a {
  color: #b91c1c !important;
  font-weight: 700 !important;
}

.forgot-password:hover,
.account-form a.text--base:hover,
.form--check .form-check-label a:hover {
  color: #7f1d1d !important;
}

.form--label,
.profile-setting__form .form--label,
.security .form--label {
  color: #991b1b !important;
  font-weight: 700 !important;
}

.form--control,
.form-control.form--control,
.account-form .form--control,
.profile-setting__form .form--control,
.security .form--control,
.select-phone {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1.5px solid #fca5a5 !important;
  color: var(--festive-text) !important;
  font-weight: 600 !important;
  caret-color: #b91c1c !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.form--control:focus,
.form-control.form--control:focus,
.account-form .form--control:focus,
.profile-setting__form .form--control:focus,
.security .form--control:focus,
.select-phone:focus,
.select-phone:focus-within {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #b91c1c !important;
  color: var(--festive-text) !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.18) !important;
}

.form--control::placeholder,
.account-form .form--control::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.form--control[type=password],
.form--control[type=password]:focus {
  color: var(--festive-text) !important;
}

.form--control:disabled,
.form--control[readonly],
.account-form .form--control:disabled,
.account-form .form--control[readonly] {
  background: #fef2f2 !important;
  background-color: #fef2f2 !important;
  background-image: none !important;
  color: #7f1d1d !important;
  border-color: #fecaca !important;
  opacity: 1 !important;
}

.input-icon,
.profile-setting__form .input-icon {
  color: #b91c1c !important;
  opacity: 1 !important;
}

.password-show-hide {
  color: #991b1b !important;
}

.password-show-hide:hover {
  color: #7f1d1d !important;
}

/* Browser Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: var(--festive-text) !important;
  caret-color: #b91c1c !important;
  border: 1.5px solid #b91c1c !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Select & Select2 */
select.form--control,
.account-form select,
.account-form select:has(option:checked),
.select,
.select:focus {
  background-color: #ffffff !important;
  color: var(--festive-text) !important;
}

select.form--control option,
.select option {
  background-color: #ffffff !important;
  color: var(--festive-text) !important;
}

.select2-container--default .select2-selection--single {
  background: #ffffff !important;
  border: 1.5px solid #fca5a5 !important;
  border-radius: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--festive-text) !important;
  font-weight: 600 !important;
}

.select2-dropdown {
  background-color: #ffffff !important;
  border: 1.5px solid #b91c1c !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  color: var(--festive-text) !important;
}

/* Buttons */
.btn--base,
.btn-outline--base {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%) !important;
  border: 2px solid #fca5a5 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25) !important;
  transition: all 0.25s ease !important;
}

.btn--base:hover,
.btn-outline--base:hover {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%) !important;
  border-color: #fde047 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.35) !important;
  transform: translateY(-2px);
}

.btn-outline--base .text--gradient {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
}

/* Footer */
.footer-area,
.bottom-footer {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%) !important;
  border-top: 4px solid #ffffff !important;
  color: #ffffff !important;
}

.bottom-footer__text {
  color: #ffffff !important;
}

.bottom-footer__text a {
  color: #fde047 !important;
  font-weight: 700;
}

/* =========================================================
   SANTA'S GIFT: Crimson Submit Buttons & Modal Reject Button
   ========================================================= */
.btn--base,
.btn-outline--base,
button[type="submit"]:not(.btn-success):not(.btn-danger):not(.btn-outline-danger):not(.btn-secondary),
input[type="submit"],
.btn-submit {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%) !important;
  border: 1.5px solid #fca5a5 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.3) !important;
  transition: all 0.25s ease !important;
}

.btn--base:hover,
.btn-outline--base:hover,
button[type="submit"]:not(.btn-success):not(.btn-danger):not(.btn-outline-danger):not(.btn-secondary):hover,
input[type="submit"]:hover,
.btn-submit:hover {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%) !important;
  border-color: #fde047 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.45) !important;
  transform: translateY(-2px);
}

.btn-outline--base .text--gradient,
button[type="submit"] .text--gradient {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

/* Modal Reject Button - Always Visible with Solid Background */
.btn-outline-danger,
.btn-reject {
  background: #b91c1c !important;
  border: 1.5px solid #7f1d1d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25) !important;
}

.btn-outline-danger:hover,
.btn-reject:hover {
  background: #7f1d1d !important;
  border-color: #450a0a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(127, 29, 29, 0.4) !important;
  transform: translateY(-2px);
}

/* =========================================================
   SANTA'S GIFT: GLOBAL MOBILE RESPONSIVENESS SUITE
   ========================================================= */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table {
  min-width: 520px;
}

.mobile-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  border: 1px dashed #b91c1c;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .custom--card .card-body {
    padding: 16px !important;
  }
  .custom--modal .modal-body,
  .modal-dialog .modal-body {
    padding: 16px !important;
  }
  .modal-dialog {
    margin: 10px !important;
  }
  .form--control,
  .form-control,
  .form-select {
    font-size: 16px !important;
  }
  .text-break-mobile {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .alert.d-flex.align-items-center.justify-content-between.flex-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .alert.d-flex.align-items-center.justify-content-between.flex-wrap > div:last-child {
    width: 100% !important;
  }
  .alert.d-flex.align-items-center.justify-content-between.flex-wrap > div:last-child .btn,
  .alert.d-flex.align-items-center.justify-content-between.flex-wrap > div:last-child form,
  .alert.d-flex.align-items-center.justify-content-between.flex-wrap > div:last-child form button {
    width: 100% !important;
    justify-content: center;
    text-align: center;
  }
  .dashboard-widget {
    padding: 14px !important;
  }
  .dashboard-widget__title {
    font-size: 1.25rem !important;
  }
  .dashboard-widget__text {
    font-size: 0.8rem !important;
  }
}

@media (max-width: 575.98px) {
  h1, .h1 { font-size: 1.85rem; }
  h2, .h2 { font-size: 1.6rem; }
  h3, .h3 { font-size: 1.35rem; }
  h4, .h4 { font-size: 1.15rem; }
  h5, .h5 { font-size: 1.05rem; }
  h6, .h6 { font-size: 0.92rem; }
  .iziToast-wrapper {
    max-width: 96vw !important;
  }
}


/* =========================================================
   SANTA'S GIFT - GLOBAL CHRISTMAS THEME & BACKGROUND
   ========================================================= */
html, body {
  background-color: transparent !important;
}

.xmas-global-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../../../images/xmas_bg.jpg') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  z-index: -2 !important;
  pointer-events: none !important;
}

body {
  background-color: transparent !important;
  min-height: 100vh !important;
}

/* Menu Bar - Christmas Red */
.header,
.header.fixed-header,
.dashboard-header,
header#header {
  background: linear-gradient(90deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

@media screen and (max-width: 991px) {
  .header,
  .header.fixed-header,
  .dashboard-header,
  header#header {
    background: linear-gradient(90deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%) !important;
    border-bottom: none !important;
  }

  .navbar-collapse {
    background: #7f1d1d !important;
    border: 1px solid rgba(254, 202, 202, 0.35) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45) !important;
  }
}

.dropdown-menu {
  background-color: #7f1d1d !important;
  border: 1.5px solid #fca5a5 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

.dropdown-menu__list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.dropdown-menu__link {
  color: #ffffff !important;
}

.dropdown-menu__link:hover,
.dropdown-menu__link:focus {
  background: #b91c1c !important;
  color: #fde047 !important;
  -webkit-text-fill-color: #fde047 !important;
}

/* Footer - Christmas Red */
.footer-area,
.bottom-footer {
  background: linear-gradient(90deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%) !important;
  border-top: none !important;
  color: #ffffff !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25) !important;
}

.bottom-footer__text {
  color: #ffffff !important;
}

.bottom-footer__text a {
  color: #fde047 !important;
  font-weight: 700;
}

/* Background image & Translucent panels across UI */
.account,
.account.bg-img,
.bg-img {
  background-image: url('../../../images/xmas_bg.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
}

.account {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.account::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(127, 29, 29, 0.55) 0%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}

.account .container {
  position: relative;
  z-index: 1;
}

.account-form {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(254, 202, 202, 0.8) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 35px rgba(185, 28, 28, 0.2) !important;
  padding: 44px 38px !important;
  overflow: hidden;
}

@media screen and (max-width: 575px) {
  .account-form {
    padding: 32px 20px !important;
    border-radius: 18px !important;
  }
}

.dashboard {
  background: transparent !important;
}

.custom--card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1.5px solid rgba(252, 165, 165, 0.7) !important;
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.12) !important;
}

.dashboard-widget {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.2) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.breadcrumb {
  display: none !important;
}

.festive-hero {
  background:
    linear-gradient(180deg, rgba(153, 27, 27, 0.45) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.55) 100%),
    url('../../../images/hero_bg.jpg') center bottom / cover no-repeat !important;
}

/* =========================================================
   SANTA'S GIFT - REDESIGNED MODERN AUTH & MODALS
   ========================================================= */

/* Frosted Modern Auth Card */
.auth-card {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(254, 202, 202, 0.85) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 35px rgba(185, 28, 28, 0.2) !important;
  overflow: hidden;
  padding: 0 !important;
}

.auth-card__body {
  padding: 42px 38px 30px;
}

@media (max-width: 575px) {
  .auth-card__body {
    padding: 30px 20px 24px;
  }
}

.auth-card__footer {
  background: #fff1f2;
  border-top: 1px solid #fee2e2;
  padding: 16px 24px;
  text-align: center;
}

/* Modern Auth Form Inputs */
.auth-input-group {
  position: relative;
}

.auth-input-group .auth-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 12px;
  border: 1.5px solid #fecaca;
  background: #fffafa;
  color: #1e293b;
  font-size: 15px;
  transition: all 0.25s ease;
}

.auth-input-group .auth-input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
  background: #ffffff;
  outline: none;
}

.auth-input-group .auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #dc2626;
  font-size: 17px;
  pointer-events: none;
}

.auth-input-group .auth-pass-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-input-group .auth-pass-toggle:hover {
  color: #dc2626;
}

/* Modern Auth Festive Button */
.btn--auth-festive {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.38) !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.btn--auth-festive:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.55) !important;
  color: #ffffff !important;
}

/* Proof Upload Zone */
.proof-upload-box:hover {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
}
