@media (min-width: 1200px) {
  .layout-navbar-fixed
    .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
    .layout-page {
    padding-top: 0 !important;
  }
}

:root {
  --bs-root-font-size: 14px;
}
.table th,
.table td {
  text-align: center;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] {
  background-color: #eee;
  opacity: 1;
}
.flot-chart {
  display: block;
  height: 200px;
}

.widget .flot-chart.dashboard-chart {
  display: block;
  height: 120px;
  margin-top: 40px;
}

.flot-chart.dashboard-chart {
  display: block;
  height: 180px;
  margin-top: 40px;
}

.flot-chart-content {
  width: 100%;
  height: 100%;
}

.flot-chart-pie-content {
  width: 200px;
  height: 200px;
  margin: auto;
}
.modal {
  visibility: hidden;
}

.modal.show {
  visibility: visible;
}

.swal-overlay {
  z-index: 20000;
}

.swal-modal {
  width: min(420px, calc(100vw - 2rem));
  border-radius: 0.75rem;
  overflow: hidden;
}

.swal-title {
  font-size: 1.15rem;
  line-height: 1.35;
  padding: 1.5rem 1.5rem 0;
}

.swal-text {
  max-width: 100%;
  text-align: center;
  line-height: 1.55;
  white-space: pre-line;
  padding: 0 1.5rem;
}

.swal-footer {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 1.35rem;
}

.swal-button {
  min-width: 5.5rem;
  border-radius: 0.375rem;
  box-shadow: none !important;
  padding: 0.55rem 1.25rem;
}

.swal-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.18) !important;
}

.language-switcher-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.bayarvip-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  align-items: end;
}

.bayarvip-filter-field {
  min-width: 0;
}

.bayarvip-filter-field .form-label {
  display: block;
  min-height: 1.25rem;
  margin-bottom: 0.45rem;
  color: #697a8d;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.bayarvip-filter-field .form-control,
.bayarvip-filter-field .form-select {
  width: 100%;
}

.bayarvip-filter-actions,
.merchant-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
  grid-column: 1 / -1;
  min-width: 0;
}

.bayarvip-filter-actions .btn,
.merchant-filter-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5625rem;
  min-width: 6.25rem;
  white-space: nowrap;
  line-height: 1.25;
}

.bayarvip-filter-actions .btn i,
.merchant-filter-actions .btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

html.dark-style .bayarvip-filter-field .form-label,
html[data-theme="dark"] .bayarvip-filter-field .form-label,
html[data-bs-theme="dark"] .bayarvip-filter-field .form-label,
body.dark-style .bayarvip-filter-field .form-label,
body[data-theme="dark"] .bayarvip-filter-field .form-label,
body[data-bs-theme="dark"] .bayarvip-filter-field .form-label {
  color: #bfc5e4;
}

@media (min-width: 1400px) {
  .bayarvip-filter-form {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bayarvip-filter-form {
    grid-template-columns: 1fr;
  }

  .bayarvip-filter-actions,
  .merchant-filter-actions {
    justify-content: stretch;
  }

  .bayarvip-filter-actions .btn,
  .merchant-filter-actions .btn {
    flex: 1 1 0;
  }
}

.card-footer > nav .pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1875rem;
}

.pagination .page-link svg,
.pagination svg.w-5,
.pagination svg.h-5 {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem;
  max-height: 1rem;
  display: block;
}

.pagination .page-link {
  border-color: rgba(67, 89, 113, 0.14);
  box-shadow: none;
}

.pagination .page-item.disabled .page-link {
  background-color: #f5f5f9;
  border-color: rgba(67, 89, 113, 0.12);
  color: #a1acb8;
}

html.dark-style .pagination .page-link,
html[data-theme="dark"] .pagination .page-link,
html[data-bs-theme="dark"] .pagination .page-link,
body.dark-style .pagination .page-link,
body[data-theme="dark"] .pagination .page-link,
body[data-bs-theme="dark"] .pagination .page-link {
  background-color: var(--bayarvip-surface-alt);
  border-color: var(--bs-border-color);
  color: #d7daf6 !important;
}

html.dark-style .pagination .page-link:hover,
html.dark-style .pagination .page-link:focus,
html[data-theme="dark"] .pagination .page-link:hover,
html[data-theme="dark"] .pagination .page-link:focus,
html[data-bs-theme="dark"] .pagination .page-link:hover,
html[data-bs-theme="dark"] .pagination .page-link:focus,
body.dark-style .pagination .page-link:hover,
body.dark-style .pagination .page-link:focus,
body[data-theme="dark"] .pagination .page-link:hover,
body[data-theme="dark"] .pagination .page-link:focus,
body[data-bs-theme="dark"] .pagination .page-link:hover,
body[data-bs-theme="dark"] .pagination .page-link:focus {
  background-color: #383c56;
  border-color: rgba(105, 108, 255, 0.52);
  color: #ffffff !important;
}

html.dark-style .pagination .page-item.disabled .page-link,
html[data-theme="dark"] .pagination .page-item.disabled .page-link,
html[data-bs-theme="dark"] .pagination .page-item.disabled .page-link,
body.dark-style .pagination .page-item.disabled .page-link,
body[data-theme="dark"] .pagination .page-item.disabled .page-link,
body[data-bs-theme="dark"] .pagination .page-item.disabled .page-link {
  background-color: var(--bayarvip-surface-soft);
  border-color: rgba(203, 207, 245, 0.12);
  color: #7f87b5 !important;
}

html.dark-style .pagination .page-item.active .page-link,
html[data-theme="dark"] .pagination .page-item.active .page-link,
html[data-bs-theme="dark"] .pagination .page-item.active .page-link,
body.dark-style .pagination .page-item.active .page-link,
body[data-theme="dark"] .pagination .page-item.active .page-link,
body[data-bs-theme="dark"] .pagination .page-item.active .page-link {
  background-color: #696cff;
  border-color: #696cff;
  color: #ffffff !important;
}

.bayarvip-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.bayarvip-pagination-size {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.1875rem;
}

.bayarvip-pagination-label,
.bayarvip-pagination-range {
  color: #697a8d;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
}

.bayarvip-pagination-select {
  width: auto;
  min-width: 4.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.bayarvip-pagination-links nav {
  margin: 0;
}

.bayarvip-pagination-links .pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0;
}

.bayarvip-pagination-links .small,
.bayarvip-pagination-links p {
  margin-bottom: 0;
}

html.dark-style .bayarvip-pagination-label,
html.dark-style .bayarvip-pagination-range,
html[data-theme="dark"] .bayarvip-pagination-label,
html[data-theme="dark"] .bayarvip-pagination-range,
html[data-bs-theme="dark"] .bayarvip-pagination-label,
html[data-bs-theme="dark"] .bayarvip-pagination-range,
body.dark-style .bayarvip-pagination-label,
body.dark-style .bayarvip-pagination-range,
body[data-theme="dark"] .bayarvip-pagination-label,
body[data-theme="dark"] .bayarvip-pagination-range,
body[data-bs-theme="dark"] .bayarvip-pagination-label,
body[data-bs-theme="dark"] .bayarvip-pagination-range {
  color: #bfc5e4;
}

@media (max-width: 575.98px) {
  .bayarvip-pagination-controls {
    justify-content: flex-start;
  }
}

:root {
  --bayarvip-toolbar-pill-border: rgba(105, 108, 255, 0.12);
  --bayarvip-toolbar-pill-bg: rgba(255, 255, 255, 0.92);
  --bayarvip-toolbar-pill-hover-bg: rgba(245, 247, 255, 0.98);
  --bayarvip-toolbar-pill-color: #566a7f;
  --bayarvip-toolbar-pill-shadow: 0 10px 24px rgba(105, 108, 255, 0.08);
  --bayarvip-surface: #ffffff;
  --bayarvip-surface-alt: #f7f8fc;
  --bayarvip-surface-soft: #eef1f8;
  --bayarvip-border-soft: rgba(67, 89, 113, 0.12);
  --bayarvip-heading: #566a7f;
}

html.dark-style {
  color-scheme: dark;
  --bs-body-color-rgb: 191, 197, 228;
  --bs-body-bg-rgb: 43, 44, 64;
  --bs-body-color: #bfc5e4;
  --bs-body-bg: #2b2c40;
  --bs-border-color: #4e5273;
  --bs-border-color-translucent: rgba(78, 82, 115, 0.42);
  --bs-card-bg: #31344a;
  --bayarvip-toolbar-pill-border: rgba(156, 170, 255, 0.22);
  --bayarvip-toolbar-pill-bg: rgba(49, 52, 74, 0.94);
  --bayarvip-toolbar-pill-hover-bg: rgba(56, 60, 86, 0.98);
  --bayarvip-toolbar-pill-color: #eff1ff;
  --bayarvip-toolbar-pill-shadow: 0 14px 30px rgba(8, 11, 24, 0.34);
  --bayarvip-surface: #31344a;
  --bayarvip-surface-alt: #2f3148;
  --bayarvip-surface-soft: #27293d;
  --bayarvip-border-soft: rgba(203, 207, 245, 0.12);
  --bayarvip-heading: #eef1ff;
}

html.dark-style body {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

html.dark-style h1,
html.dark-style h2,
html.dark-style h3,
html.dark-style h4,
html.dark-style h5,
html.dark-style h6,
html.dark-style .h1,
html.dark-style .h2,
html.dark-style .h3,
html.dark-style .h4,
html.dark-style .h5,
html.dark-style .h6,
html.dark-style .card-title,
html.dark-style .modal-title,
html.dark-style .accordion-button,
html.dark-style .nav-link,
html.dark-style .page-link,
html.dark-style .text-dark {
  color: var(--bayarvip-heading) !important;
}

html.dark-style .text-muted,
html.dark-style .small.text-muted {
  color: #9ea6d1 !important;
}

html.dark-style .bg-navbar-theme {
  background-color: var(--bayarvip-surface) !important;
  color: #d7daf6;
}

html.dark-style .bg-navbar-theme .navbar-brand,
html.dark-style .bg-navbar-theme .navbar-brand a,
html.dark-style .bg-navbar-theme .navbar-text a,
html.dark-style .bg-navbar-theme .navbar-nav > .nav-link,
html.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link,
html.dark-style .bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link,
html.dark-style .bg-navbar-theme .navbar-search-wrapper .navbar-search-icon,
html.dark-style .bg-navbar-theme .navbar-search-wrapper .search-input {
  color: #d7daf6;
}

html.dark-style .bg-navbar-theme .navbar-nav > .nav-link:hover,
html.dark-style .bg-navbar-theme .navbar-nav > .nav-link:focus,
html.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link:hover,
html.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link:focus,
html.dark-style .bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link:hover,
html.dark-style .bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link:focus,
html.dark-style .bg-navbar-theme .navbar-brand:hover,
html.dark-style .bg-navbar-theme .navbar-brand:focus,
html.dark-style .bg-navbar-theme .navbar-text a:hover,
html.dark-style .bg-navbar-theme .navbar-text a:focus {
  color: #ffffff !important;
}

html.dark-style .layout-navbar {
  background-color: rgba(49, 52, 74, 0.92) !important;
}

html.dark-style .navbar-detached {
  box-shadow: 0 0.45rem 1.25rem rgba(9, 12, 23, 0.3);
}

html.dark-style.layout-navbar-fixed .layout-page:before {
  background: rgba(43, 44, 64, 0.78);
}

html.dark-style .bg-menu-theme {
  background-color: #25283c !important;
  color: #d6dbff;
}

html.dark-style .bg-menu-theme .menu-link,
html.dark-style .bg-menu-theme .menu-horizontal-prev,
html.dark-style .bg-menu-theme .menu-horizontal-next,
html.dark-style .bg-menu-theme .menu-header {
  color: #d6dbff;
}

html.dark-style .bg-menu-theme .menu-text {
  color: #ffffff;
}

html.dark-style .bg-menu-theme .menu-header:before,
html.dark-style .bg-menu-theme .menu-block:before {
  background-color: #a7aed8 !important;
}

html.dark-style .bg-menu-theme .menu-item.active > .menu-link {
  background-color: #696cff !important;
  color: #ffffff;
}

html.dark-style .bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle),
html.dark-style .bg-menu-theme.menu-horizontal .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle),
html.dark-style .bg-menu-theme.menu-horizontal .menu-inner .menu-item:not(.menu-item-closing) > .menu-sub,
html.dark-style .bg-menu-theme.menu-horizontal .menu-inner .menu-item.open > .menu-toggle,
html.dark-style .bg-menu-theme .menu-inner > .menu-item.open .menu-item.open > .menu-toggle::before {
  background-color: #2f3148;
}

html.dark-style:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item.open > .menu-link,
html.dark-style:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item .menu-link:not(.active):hover,
html.dark-style.layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item.open > .menu-link,
html.dark-style.layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item .menu-link:not(.active):hover,
html.dark-style .bg-menu-theme .menu-inner .menu-sub > .menu-item.active > .menu-link.menu-toggle {
  background-color: rgba(255, 255, 255, 0.06);
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
  background-color: #b3b9e4 !important;
}

html.dark-style .bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
  background-color: #696cff !important;
  border-color: #3b4062 !important;
}

html.dark-style .bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(#25283c 41%, rgba(37, 40, 60, 0.11) 95%, rgba(37, 40, 60, 0));
}

html.dark-style .bg-menu-theme .ps__thumb-y,
html.dark-style .bg-menu-theme .ps__rail-y.ps--clicking > .ps__thumb-y {
  background: rgba(255, 255, 255, 0.35) !important;
}

html.dark-style .app-brand .layout-menu-toggle {
  border-color: #3a3f5c;
}

html.dark-style .card,
html.dark-style .modal-content,
html.dark-style .dropdown-menu,
html.dark-style .list-group-item,
html.dark-style .accordion-item,
html.dark-style .offcanvas,
html.dark-style .bg-footer-theme {
  background-color: var(--bayarvip-surface) !important;
  color: var(--bs-body-color);
  border-color: var(--bs-border-color) !important;
}

html.dark-style .card,
html.dark-style .modal-content,
html.dark-style .dropdown-menu,
html.dark-style .offcanvas {
  box-shadow: 0 0.8rem 1.75rem rgba(0, 0, 0, 0.28);
}

html.dark-style .card-header,
html.dark-style .card-footer,
html.dark-style .modal-header,
html.dark-style .modal-footer,
html.dark-style .dropdown-divider,
html.dark-style .accordion-item,
html.dark-style .nav-tabs,
html.dark-style .list-group-item,
html.dark-style hr {
  border-color: var(--bs-border-color) !important;
}

html.dark-style .dropdown-item {
  color: #e6e9ff;
}

html.dark-style .dropdown-item:hover,
html.dark-style .dropdown-item:focus,
html.dark-style .dropdown-item.active {
  background-color: rgba(105, 108, 255, 0.16);
  color: #ffffff;
}

html.dark-style .table {
  color: #e1e4ff;
}

html.dark-style .table > :not(caption) > * > * {
  background-color: transparent;
  border-bottom-color: var(--bayarvip-border-soft);
}

html.dark-style .table-striped > tbody > tr:nth-of-type(odd) > * {
  color: #e1e4ff;
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.02);
}

html.dark-style .table-hover > tbody > tr:hover > * {
  color: #ffffff;
  box-shadow: inset 0 0 0 9999px rgba(105, 108, 255, 0.08);
}

html.dark-style .form-control,
html.dark-style .form-select,
html.dark-style .input-group-text,
html.dark-style .form-floating > label {
  background-color: var(--bayarvip-surface-alt);
  border-color: var(--bs-border-color);
  color: #edf0ff;
}

html.dark-style .form-control::placeholder,
html.dark-style .form-select::placeholder {
  color: #8f95bf;
}

html.dark-style .form-control:focus,
html.dark-style .form-select:focus,
html.dark-style .input-group:focus-within .form-control,
html.dark-style .input-group:focus-within .input-group-text {
  background-color: #383c56;
  color: #ffffff;
  border-color: rgba(105, 108, 255, 0.52);
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.18);
}

html.dark-style .form-control[disabled],
html.dark-style .form-control[readonly],
html.dark-style fieldset[disabled] {
  background-color: var(--bayarvip-surface-soft);
  color: #8f95bf;
}

html.dark-style .accordion-button {
  background-color: var(--bayarvip-surface);
}

html.dark-style .accordion-button:not(.collapsed) {
  background-color: rgba(105, 108, 255, 0.15);
  color: #f5f6ff !important;
}

html.dark-style .nav-tabs .nav-link.active,
html.dark-style .nav-pills .nav-link.active,
html.dark-style .pagination .page-item.active .page-link {
  color: #ffffff !important;
}

html.dark-style .swal-modal,
html[data-theme="dark"] .swal-modal,
html[data-bs-theme="dark"] .swal-modal {
  background-color: var(--bayarvip-surface);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.36);
}

html.dark-style .swal-overlay,
html[data-theme="dark"] .swal-overlay,
html[data-bs-theme="dark"] .swal-overlay {
  background-color: rgba(8, 11, 24, 0.62);
}

html.dark-style .swal-title,
html.dark-style .swal-text,
html[data-theme="dark"] .swal-title,
html[data-theme="dark"] .swal-text,
html[data-bs-theme="dark"] .swal-title,
html[data-bs-theme="dark"] .swal-text {
  color: #eef1ff;
}

html.dark-style .swal-footer,
html[data-theme="dark"] .swal-footer,
html[data-bs-theme="dark"] .swal-footer {
  border-top: 1px solid var(--bs-border-color);
}

html.dark-style .swal-button,
html[data-theme="dark"] .swal-button,
html[data-bs-theme="dark"] .swal-button {
  background-color: #696cff;
}

html.dark-style .swal-button:not([disabled]):hover,
html.dark-style .swal-button:not([disabled]):focus,
html[data-theme="dark"] .swal-button:not([disabled]):hover,
html[data-theme="dark"] .swal-button:not([disabled]):focus,
html[data-bs-theme="dark"] .swal-button:not([disabled]):hover,
html[data-bs-theme="dark"] .swal-button:not([disabled]):focus {
  background-color: #5f62e8 !important;
}

html.dark-style .swal-button--cancel,
html[data-theme="dark"] .swal-button--cancel,
html[data-bs-theme="dark"] .swal-button--cancel {
  background-color: #383c56 !important;
  color: #eef1ff !important;
}

html.dark-style .swal-icon--success,
html.dark-style .swal-icon--error,
html.dark-style .swal-icon--warning,
html.dark-style .swal-icon--info,
html[data-theme="dark"] .swal-icon--success,
html[data-theme="dark"] .swal-icon--error,
html[data-theme="dark"] .swal-icon--warning,
html[data-theme="dark"] .swal-icon--info,
html[data-bs-theme="dark"] .swal-icon--success,
html[data-bs-theme="dark"] .swal-icon--error,
html[data-bs-theme="dark"] .swal-icon--warning,
html[data-bs-theme="dark"] .swal-icon--info {
  background-color: transparent;
}

html.dark-style .swal-icon--success:before,
html.dark-style .swal-icon--success:after,
html.dark-style .swal-icon--success__hide-corners,
html[data-theme="dark"] .swal-icon--success:before,
html[data-theme="dark"] .swal-icon--success:after,
html[data-theme="dark"] .swal-icon--success__hide-corners,
html[data-bs-theme="dark"] .swal-icon--success:before,
html[data-bs-theme="dark"] .swal-icon--success:after,
html[data-bs-theme="dark"] .swal-icon--success__hide-corners {
  background-color: var(--bayarvip-surface);
}

html.dark-style .swal-icon--success__ring,
html[data-theme="dark"] .swal-icon--success__ring,
html[data-bs-theme="dark"] .swal-icon--success__ring {
  border-color: rgba(52, 211, 153, 0.22);
}

html.dark-style .swal-icon--success__line,
html[data-theme="dark"] .swal-icon--success__line,
html[data-bs-theme="dark"] .swal-icon--success__line {
  background-color: #34d399;
}

html.dark-style .swal-icon--error__x-mark,
html[data-theme="dark"] .swal-icon--error__x-mark,
html[data-bs-theme="dark"] .swal-icon--error__x-mark {
  background-color: transparent;
}

html.dark-style .swal-icon--error__line,
html[data-theme="dark"] .swal-icon--error__line,
html[data-bs-theme="dark"] .swal-icon--error__line {
  background-color: #ff6b7a;
}

html.dark-style .swal-icon--warning__body,
html.dark-style .swal-icon--warning__dot,
html[data-theme="dark"] .swal-icon--warning__body,
html[data-theme="dark"] .swal-icon--warning__dot,
html[data-bs-theme="dark"] .swal-icon--warning__body,
html[data-bs-theme="dark"] .swal-icon--warning__dot {
  background-color: #ffb347;
}

html.dark-style .swal-icon--info:before,
html.dark-style .swal-icon--info:after,
html.dark-style .swal-icon--info__body,
html.dark-style .swal-icon--info__dot,
html[data-theme="dark"] .swal-icon--info:before,
html[data-theme="dark"] .swal-icon--info:after,
html[data-theme="dark"] .swal-icon--info__body,
html[data-theme="dark"] .swal-icon--info__dot,
html[data-bs-theme="dark"] .swal-icon--info:before,
html[data-bs-theme="dark"] .swal-icon--info:after,
html[data-bs-theme="dark"] .swal-icon--info__body,
html[data-bs-theme="dark"] .swal-icon--info__dot {
  background-color: #5fb0ff;
}

html[data-theme="dark"],
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-color-rgb: 191, 197, 228;
  --bs-body-bg-rgb: 43, 44, 64;
  --bs-body-color: #bfc5e4;
  --bs-body-bg: #2b2c40;
  --bs-border-color: #4e5273;
  --bs-border-color-translucent: rgba(78, 82, 115, 0.42);
  --bs-card-bg: #31344a;
  --bayarvip-toolbar-pill-border: rgba(156, 170, 255, 0.22);
  --bayarvip-toolbar-pill-bg: rgba(49, 52, 74, 0.94);
  --bayarvip-toolbar-pill-hover-bg: rgba(56, 60, 86, 0.98);
  --bayarvip-toolbar-pill-color: #eff1ff;
  --bayarvip-toolbar-pill-shadow: 0 14px 30px rgba(8, 11, 24, 0.34);
  --bayarvip-surface: #31344a;
  --bayarvip-surface-alt: #2f3148;
  --bayarvip-surface-soft: #27293d;
  --bayarvip-border-soft: rgba(203, 207, 245, 0.12);
  --bayarvip-heading: #eef1ff;
}

html.dark-style body,
html[data-theme="dark"] body,
html[data-bs-theme="dark"] body,
body[data-theme="dark"],
body[data-bs-theme="dark"] {
  color: var(--bs-body-color) !important;
  background: var(--bs-body-bg) !important;
  background-color: var(--bs-body-bg) !important;
}

html.dark-style .layout-wrapper,
html.dark-style .layout-container,
html.dark-style .layout-content-navbar,
html.dark-style .layout-page,
html.dark-style .content-wrapper,
html.dark-style .container-fluid,
html.dark-style .bg-body,
html[data-theme="dark"] .layout-wrapper,
html[data-theme="dark"] .layout-container,
html[data-theme="dark"] .layout-content-navbar,
html[data-theme="dark"] .layout-page,
html[data-theme="dark"] .content-wrapper,
html[data-theme="dark"] .container-fluid,
html[data-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .layout-wrapper,
html[data-bs-theme="dark"] .layout-container,
html[data-bs-theme="dark"] .layout-content-navbar,
html[data-bs-theme="dark"] .layout-page,
html[data-bs-theme="dark"] .content-wrapper,
html[data-bs-theme="dark"] .container-fluid,
html[data-bs-theme="dark"] .bg-body {
  background: var(--bs-body-bg) !important;
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color);
}

html.dark-style .bg-white,
html.dark-style .navbar.bg-white,
html.dark-style .footer.bg-white,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .navbar.bg-white,
html[data-theme="dark"] .footer.bg-white,
html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .navbar.bg-white,
html[data-bs-theme="dark"] .footer.bg-white {
  background: var(--bayarvip-surface) !important;
  background-color: var(--bayarvip-surface) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

html[data-theme="dark"].layout-navbar-fixed .layout-page:before,
html[data-bs-theme="dark"].layout-navbar-fixed .layout-page:before {
  background: rgba(43, 44, 64, 0.78) !important;
}

html[data-theme="dark"] .timeline .timeline-item .timeline-indicator,
html[data-bs-theme="dark"] .timeline .timeline-item .timeline-indicator {
  background-color: var(--bs-body-bg) !important;
  border-color: rgba(105, 108, 255, 0.42);
}

.layout-navbar-fixed .layout-page:before {
  display: block !important;
  height: 0.75rem !important;
  background: rgba(244, 245, 251, 0.6) !important;
  backdrop-filter: saturate(200%) blur(10px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(10px) !important;
}

.layout-navbar-fixed .layout-navbar.navbar-detached {
  margin-top: 0.75rem !important;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

html.dark-style.layout-navbar-fixed .layout-page:before,
html[data-theme="dark"].layout-navbar-fixed .layout-page:before,
html[data-bs-theme="dark"].layout-navbar-fixed .layout-page:before {
  background: rgba(43, 44, 64, 0.92) !important;
}

html.dark-style.layout-navbar-fixed .layout-navbar.navbar-detached,
html[data-theme="dark"].layout-navbar-fixed .layout-navbar.navbar-detached,
html[data-bs-theme="dark"].layout-navbar-fixed .layout-navbar.navbar-detached {
  box-shadow: 0 0.45rem 1.25rem rgba(9, 12, 23, 0.3);
}

.announcement-inbox-modal .modal-dialog {
  max-width: 560px;
}

.announcement-inbox-card {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(19, 35, 67, 0.18);
}

.announcement-inbox-header {
  padding: 1.25rem 1.35rem 0.85rem;
}

.announcement-inbox-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 110, 255, 0.14), rgba(35, 179, 228, 0.18));
  color: #2d6bff;
  font-size: 1.35rem;
}

.announcement-inbox-body {
  max-height: min(70vh, 620px);
  overflow-y: auto;
  padding: 0.25rem 1.35rem 1rem;
}

.announcement-inbox-list {
  display: grid;
  gap: 1.15rem;
  padding-block: 0.2rem 0.35rem;
}

.announcement-inbox-item {
  position: relative;
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(82, 102, 152, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
  box-shadow: 0 14px 28px rgba(34, 57, 99, 0.08);
  overflow: hidden;
}

.announcement-inbox-item--unread {
  border-color: rgba(45, 107, 255, 0.18);
  box-shadow: 0 14px 26px rgba(45, 107, 255, 0.08);
}

.announcement-inbox-item-title {
  color: #295bc7;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.announcement-inbox-item-message {
  color: #364256;
  font-size: 0.98rem;
  line-height: 1.75;
  word-break: break-word;
}

.announcement-inbox-item-message-content {
  position: relative;
}

.announcement-inbox-item-message-content--collapsed {
  max-height: 8.8rem;
  overflow: hidden;
}

.announcement-inbox-item-message-content--collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.2rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 255, 0) 0%,
    rgba(248, 250, 255, 0.92) 62%,
    rgba(248, 250, 255, 0.99) 100%
  );
}

.announcement-inbox-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2d6bff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.announcement-inbox-toggle:hover,
.announcement-inbox-toggle:focus {
  color: #1e56db;
  text-decoration: underline;
}

.announcement-inbox-item-message a {
  color: #2d6bff;
  text-decoration: none;
  font-weight: 600;
}

.announcement-inbox-item-message a:hover,
.announcement-inbox-item-message a:focus {
  text-decoration: underline;
}

.announcement-inbox-item-time {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(82, 102, 152, 0.1);
  color: #8d97ab;
  font-size: 0.85rem;
}

.announcement-inbox-dismiss {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #9da7ba;
}

.announcement-inbox-dismiss:hover,
.announcement-inbox-dismiss:focus {
  background: rgba(45, 107, 255, 0.08);
  color: #2d6bff;
}

.announcement-inbox-empty {
  padding: 1.25rem 0.5rem 0.5rem;
}

.announcement-inbox-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: #696cff;
  font-size: 2rem;
}

html.dark-style .announcement-inbox-card,
html[data-theme="dark"] .announcement-inbox-card,
html[data-bs-theme="dark"] .announcement-inbox-card {
  background: linear-gradient(180deg, rgba(49, 52, 74, 0.98), rgba(39, 41, 61, 0.98));
  box-shadow: 0 28px 60px rgba(5, 8, 18, 0.44);
}

html.dark-style .announcement-inbox-item,
html[data-theme="dark"] .announcement-inbox-item,
html[data-bs-theme="dark"] .announcement-inbox-item {
  border-color: rgba(203, 207, 245, 0.12);
  background: linear-gradient(180deg, rgba(50, 54, 78, 0.96), rgba(43, 46, 67, 0.96));
  box-shadow: 0 16px 30px rgba(7, 10, 22, 0.28);
}

html.dark-style .announcement-inbox-item--unread,
html[data-theme="dark"] .announcement-inbox-item--unread,
html[data-bs-theme="dark"] .announcement-inbox-item--unread {
  border-color: rgba(120, 170, 255, 0.24);
  box-shadow: 0 16px 28px rgba(8, 11, 24, 0.28);
}

html.dark-style .announcement-inbox-item-title,
html[data-theme="dark"] .announcement-inbox-item-title,
html[data-bs-theme="dark"] .announcement-inbox-item-title {
  color: #90d3ff;
}

html.dark-style .announcement-inbox-item-message,
html[data-theme="dark"] .announcement-inbox-item-message,
html[data-bs-theme="dark"] .announcement-inbox-item-message {
  color: #d7daf6;
}

html.dark-style .announcement-inbox-item-message-content--collapsed::after,
html[data-theme="dark"] .announcement-inbox-item-message-content--collapsed::after,
html[data-bs-theme="dark"] .announcement-inbox-item-message-content--collapsed::after {
  background: linear-gradient(
    180deg,
    rgba(43, 46, 67, 0) 0%,
    rgba(43, 46, 67, 0.92) 62%,
    rgba(43, 46, 67, 0.99) 100%
  );
}

html.dark-style .announcement-inbox-toggle,
html[data-theme="dark"] .announcement-inbox-toggle,
html[data-bs-theme="dark"] .announcement-inbox-toggle {
  color: #8fd7ff;
}

html.dark-style .announcement-inbox-toggle:hover,
html.dark-style .announcement-inbox-toggle:focus,
html[data-theme="dark"] .announcement-inbox-toggle:hover,
html[data-theme="dark"] .announcement-inbox-toggle:focus,
html[data-bs-theme="dark"] .announcement-inbox-toggle:hover,
html[data-bs-theme="dark"] .announcement-inbox-toggle:focus {
  color: #b2e6ff;
}

html.dark-style .announcement-inbox-item-time,
html[data-theme="dark"] .announcement-inbox-item-time,
html[data-bs-theme="dark"] .announcement-inbox-item-time {
  border-top-color: rgba(203, 207, 245, 0.1);
  color: #98a1c9;
}

html.dark-style .announcement-inbox-dismiss,
html[data-theme="dark"] .announcement-inbox-dismiss,
html[data-bs-theme="dark"] .announcement-inbox-dismiss {
  color: #9ea6d1;
}

@media (max-width: 575.98px) {
  .announcement-inbox-modal .modal-dialog {
    margin: 0.85rem;
  }

  .announcement-inbox-card {
    border-radius: 24px;
  }

  .announcement-inbox-header,
  .announcement-inbox-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .announcement-inbox-item {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .announcement-inbox-item-message-content--collapsed {
    max-height: 8rem;
  }
}
