body.portal-console-active,
.portal-console-shell {
  --portal-bg: #0b1112;
  --portal-bg-2: #121b1d;
  --portal-panel: rgba(24, 29, 28, 0.66);
  --portal-panel-strong: rgba(34, 36, 32, 0.8);
  --portal-panel-soft: rgba(12, 16, 15, 0.54);
  --portal-field: rgba(7, 11, 11, 0.72);
  --portal-line: rgba(214, 173, 101, 0.3);
  --portal-line-strong: rgba(234, 193, 111, 0.62);
  --portal-text: #f5ead8;
  --portal-muted: #b9a994;
  --portal-muted-2: #8f806d;
  --portal-gold: #f4c35f;
  --portal-gold-deep: #b77823;
  --portal-ember: #c9361f;
  --portal-ember-deep: #8f2216;
  --portal-green: #7fe0a1;
  --portal-cyan: #62d6e9;
  --portal-shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
}

body.portal-console-active {
  background: var(--portal-bg) !important;
  color: var(--portal-text) !important;
}

.portal-console-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow-x: hidden;
  background: var(--portal-bg) !important;
  color: var(--portal-text) !important;
}

.portal-console-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 229, 164, 0.18), transparent 30rem),
    linear-gradient(90deg, rgba(5, 7, 7, 0.54) 0%, rgba(5, 7, 7, 0.08) 38%, rgba(5, 7, 7, 0.1) 64%, rgba(5, 7, 7, 0.56) 100%),
    linear-gradient(180deg, rgba(7, 10, 10, 0.08), rgba(7, 10, 10, 0.68)),
    url("/assets/epic-ring-bg.png") center 12% / cover no-repeat;
  filter: brightness(1.16) saturate(1.08);
}

.portal-console-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.08), rgba(5, 6, 5, 0.48)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
}

.portal-console-shell .bg-mesh-gradient {
  display: none !important;
}

.portal-console-shell ::selection,
body.portal-console-active ::selection {
  background: rgba(244, 195, 95, 0.24);
  color: #fff4dc;
}

.portal-console-shell * {
  scrollbar-color: rgba(244, 195, 95, 0.42) rgba(7, 11, 11, 0.2);
}

body.portal-console-active::-webkit-scrollbar,
.portal-console-shell *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body.portal-console-active::-webkit-scrollbar-track,
.portal-console-shell *::-webkit-scrollbar-track {
  background: rgba(7, 11, 11, 0.2);
}

body.portal-console-active::-webkit-scrollbar-thumb,
.portal-console-shell *::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(244, 195, 95, 0.42) !important;
}

.portal-console-main {
  position: relative;
}

.portal-console-shell main {
  min-height: calc(100vh - 4rem);
}

.portal-console-shell .glass,
.portal-console-shell header.glass {
  background:
    linear-gradient(180deg, rgba(24, 29, 28, 0.82), rgba(10, 14, 14, 0.64)) !important;
  border-color: var(--portal-line) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.portal-console-shell .sidebar {
  background:
    linear-gradient(180deg, rgba(22, 24, 22, 0.9), rgba(8, 12, 12, 0.82)) !important;
  border-color: var(--portal-line) !important;
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.portal-console-shell .sidebar-header,
.portal-console-shell .sidebar .border-t,
.portal-console-shell .sidebar [class*="border-gray"],
.portal-console-shell .sidebar [class*="dark:border-dark"] {
  border-color: var(--portal-line) !important;
}

.portal-console-shell .sidebar-logo {
  border: 1px solid var(--portal-line-strong);
  border-radius: 8px !important;
  background:
    radial-gradient(circle, rgba(244, 195, 95, 0.22), transparent 60%),
    rgba(19, 12, 8, 0.78) !important;
  color: var(--portal-gold);
  box-shadow: 0 0 22px rgba(244, 195, 95, 0.2) !important;
}

.portal-console-shell .sidebar-brand-title,
.portal-console-shell .page-title,
.portal-console-shell h1,
.portal-console-shell h2,
.portal-console-shell h3,
.portal-console-shell .modal-title,
.portal-console-shell .dialog-header,
body.portal-console-active .modal-title {
  color: var(--portal-text) !important;
}

.portal-console-shell .page-description,
.portal-console-shell .input-hint,
.portal-console-shell .stat-label,
.portal-console-shell .sidebar-section-title,
.portal-console-shell .sidebar-section-title-text {
  color: var(--portal-muted) !important;
}

.portal-console-shell .sidebar-link {
  border: 1px solid transparent;
  border-radius: 8px !important;
  color: #d8c4a7 !important;
}

.portal-console-shell .sidebar-link:hover {
  background: rgba(244, 195, 95, 0.1) !important;
  border-color: rgba(244, 195, 95, 0.2);
  color: #fff4dc !important;
}

.portal-console-shell .sidebar-link-active {
  background:
    linear-gradient(90deg, rgba(201, 54, 31, 0.82), rgba(183, 120, 35, 0.52)) !important;
  border-color: rgba(244, 195, 95, 0.58);
  color: #fff4dc !important;
  box-shadow: 0 10px 28px rgba(201, 54, 31, 0.2);
}

.portal-console-shell .card,
.portal-console-shell .glass-card,
.portal-console-shell .card-glass,
.portal-console-shell .stat-card,
.portal-console-shell .table-scroll-container,
.portal-console-shell .table-container,
.portal-console-shell [class*="bg-white"],
.portal-console-shell [class*="dark:bg-dark-8"],
.portal-console-shell [class*="dark:bg-dark-9"],
body.portal-console-active .dropdown,
body.portal-console-active .modal-content,
body.portal-console-active .dialog-container,
body.portal-console-active .select-dropdown-portal,
body.portal-console-active .toast,
body.portal-console-active .action-menu-content {
  background:
    linear-gradient(180deg, rgba(32, 26, 20, 0.58), rgba(9, 14, 14, 0.66)),
    rgba(0, 0, 0, 0.18) !important;
  border-color: var(--portal-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--portal-shadow) !important;
  color: var(--portal-text) !important;
  backdrop-filter: blur(14px);
}

.portal-console-shell .settings-tabs-shell,
body.portal-console-active .modal-content [class*="bg-white"],
body.portal-console-active .modal-content [class*="bg-gray-50"],
body.portal-console-active .modal-content [class*="bg-gray-100"],
body.portal-console-active .modal-content [class*="from-gray-50"],
body.portal-console-active .modal-content [class*="from-gray-100"],
body.portal-console-active .modal-content [class*="to-gray-100"],
body.portal-console-active .dialog-container [class*="bg-white"],
body.portal-console-active .dialog-container [class*="bg-gray-50"],
body.portal-console-active .dialog-container [class*="bg-gray-100"] {
  background:
    linear-gradient(180deg, rgba(25, 24, 20, 0.72), rgba(7, 11, 11, 0.78)),
    rgba(0, 0, 0, 0.26) !important;
  border-color: var(--portal-line) !important;
  color: var(--portal-text) !important;
}

.portal-console-shell .settings-tabs-shell {
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 226, 160, 0.08) !important;
}

.portal-console-shell .settings-tab {
  color: #d8c4a7 !important;
}

.portal-console-shell .settings-tab::before {
  background: rgba(244, 195, 95, 0.1) !important;
}

.portal-console-shell .settings-tab:hover,
.portal-console-shell .settings-tab:focus-visible {
  color: #fff4dc !important;
}

.portal-console-shell .settings-tab-active {
  background: rgba(7, 11, 11, 0.72) !important;
  border-color: rgba(244, 195, 95, 0.62) !important;
  color: #fff4dc !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 160, 0.1),
    0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.portal-console-shell .settings-tab-active .settings-tab-icon {
  background: rgba(244, 195, 95, 0.12) !important;
  color: var(--portal-gold) !important;
}

.portal-console-shell .card-header,
.portal-console-shell .card-footer,
.portal-console-shell .modal-header,
.portal-console-shell .modal-footer,
.portal-console-shell .dialog-header,
.portal-console-shell .dialog-footer,
body.portal-console-active .modal-header,
body.portal-console-active .modal-footer,
body.portal-console-active .dialog-header,
body.portal-console-active .dialog-footer,
body.portal-console-active .select-search {
  border-color: var(--portal-line) !important;
  background: rgba(7, 11, 11, 0.36) !important;
}

.portal-console-shell .card-hover:hover,
.portal-console-shell .stat-card:hover {
  transform: translateY(-1px);
  border-color: var(--portal-line-strong) !important;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5) !important;
}

.portal-console-shell .btn {
  border-radius: 8px !important;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0;
}

.portal-console-shell .btn-primary,
.portal-console-shell .btn-success,
.portal-console-shell .btn-warning,
.portal-console-shell .date-picker-apply,
body.portal-console-active .btn-primary {
  background:
    linear-gradient(180deg, #e64a2d, #b72d1b 55%, #8f2216) !important;
  border-color: rgba(244, 195, 95, 0.62) !important;
  color: #fff4dc !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 158, 0.28),
    0 14px 30px rgba(201, 54, 31, 0.28) !important;
}

.portal-console-shell .btn-primary:hover,
.portal-console-shell .btn-success:hover,
.portal-console-shell .btn-warning:hover,
.portal-console-shell .date-picker-apply:hover,
body.portal-console-active .btn-primary:hover {
  background:
    linear-gradient(180deg, #f05a38, #c9361f 55%, #982615) !important;
  border-color: rgba(255, 220, 139, 0.72) !important;
}

.portal-console-shell .btn-secondary,
.portal-console-shell .btn-ghost,
.portal-console-shell .btn-stripe,
.portal-console-shell .btn-airwallex,
.portal-console-shell .btn-alipay,
.portal-console-shell .btn-wxpay,
.portal-console-shell nav[aria-label="Pagination"] button {
  background: rgba(7, 11, 11, 0.56) !important;
  border-color: var(--portal-line) !important;
  color: #f3d99d !important;
  box-shadow: none !important;
}

.portal-console-shell .btn-secondary:hover,
.portal-console-shell .btn-ghost:hover,
.portal-console-shell nav[aria-label="Pagination"] button:hover {
  background: rgba(244, 195, 95, 0.12) !important;
  border-color: var(--portal-line-strong) !important;
  color: #fff4dc !important;
}

.portal-console-shell .btn-danger,
body.portal-console-active .btn-danger {
  background: rgba(201, 54, 31, 0.18) !important;
  border-color: rgba(239, 93, 69, 0.5) !important;
  color: #ffb9a9 !important;
}

.portal-console-shell .input,
.portal-console-shell input:not([type="checkbox"]):not([type="radio"]),
.portal-console-shell textarea,
.portal-console-shell select,
.portal-console-shell .select-trigger,
.portal-console-shell .date-picker-trigger,
.portal-console-shell .date-picker-input,
body.portal-console-active .select-search-input,
body.portal-console-active .modal-content .input,
body.portal-console-active .modal-content .select-trigger,
body.portal-console-active .modal-content .date-picker-trigger,
body.portal-console-active .modal-content .date-picker-input,
body.portal-console-active .modal-content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]),
body.portal-console-active .modal-content textarea,
body.portal-console-active .modal-content select,
body.portal-console-active .dialog-container .input,
body.portal-console-active .dialog-container .select-trigger,
body.portal-console-active .dialog-container .date-picker-trigger,
body.portal-console-active .dialog-container .date-picker-input,
body.portal-console-active .dialog-container input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]),
body.portal-console-active .dialog-container textarea,
body.portal-console-active .dialog-container select,
body.portal-console-active .action-menu-content input:not([type="checkbox"]):not([type="radio"]),
body.portal-console-active .action-menu-content textarea,
body.portal-console-active .select-dropdown-portal input:not([type="checkbox"]):not([type="radio"]),
body.portal-console-active .el-dialog input:not([type="checkbox"]):not([type="radio"]),
body.portal-console-active .el-dialog textarea,
body.portal-console-active .el-dialog select,
body.portal-console-active .el-input__wrapper,
body.portal-console-active .el-textarea__inner,
body.portal-console-active .el-select__wrapper {
  background: var(--portal-field) !important;
  border-color: var(--portal-line) !important;
  border-radius: 8px !important;
  color: var(--portal-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 226, 160, 0.04) !important;
}

.portal-console-shell .input:focus,
.portal-console-shell input:focus,
.portal-console-shell textarea:focus,
.portal-console-shell select:focus,
.portal-console-shell .select-trigger-open,
.portal-console-shell .date-picker-trigger-open,
body.portal-console-active .modal-content .input:focus,
body.portal-console-active .modal-content .select-trigger:focus,
body.portal-console-active .modal-content .select-trigger-open,
body.portal-console-active .modal-content .date-picker-trigger-open,
body.portal-console-active .modal-content input:focus,
body.portal-console-active .modal-content textarea:focus,
body.portal-console-active .modal-content select:focus,
body.portal-console-active .dialog-container .input:focus,
body.portal-console-active .dialog-container .select-trigger:focus,
body.portal-console-active .dialog-container .select-trigger-open,
body.portal-console-active .dialog-container .date-picker-trigger-open,
body.portal-console-active .dialog-container input:focus,
body.portal-console-active .dialog-container textarea:focus,
body.portal-console-active .dialog-container select:focus,
body.portal-console-active .action-menu-content input:focus,
body.portal-console-active .action-menu-content textarea:focus,
body.portal-console-active .select-dropdown-portal input:focus,
body.portal-console-active .el-dialog input:focus,
body.portal-console-active .el-dialog textarea:focus,
body.portal-console-active .el-dialog select:focus,
body.portal-console-active .el-input__wrapper.is-focus,
body.portal-console-active .el-select__wrapper.is-focused {
  border-color: var(--portal-line-strong) !important;
  outline: none !important;
  box-shadow:
    0 0 0 2px rgba(244, 195, 95, 0.18),
    inset 0 1px 0 rgba(255, 226, 160, 0.06) !important;
}

.portal-console-shell .input::placeholder,
.portal-console-shell input::placeholder,
.portal-console-shell textarea::placeholder,
body.portal-console-active .select-search-input::placeholder,
body.portal-console-active .modal-content input::placeholder,
body.portal-console-active .modal-content textarea::placeholder,
body.portal-console-active .dialog-container input::placeholder,
body.portal-console-active .dialog-container textarea::placeholder,
body.portal-console-active .action-menu-content input::placeholder,
body.portal-console-active .action-menu-content textarea::placeholder,
body.portal-console-active .el-input__inner::placeholder,
body.portal-console-active .el-textarea__inner::placeholder {
  color: rgba(185, 169, 148, 0.68) !important;
}

.portal-console-shell .input-label,
.portal-console-shell label,
.portal-console-shell .date-picker-label,
body.portal-console-active .modal-content .input-label,
body.portal-console-active .modal-content label,
body.portal-console-active .dialog-container .input-label,
body.portal-console-active .dialog-container label,
body.portal-console-active .el-form-item__label {
  color: #e7c890 !important;
}

body.portal-console-active .modal-content input:disabled,
body.portal-console-active .modal-content textarea:disabled,
body.portal-console-active .modal-content select:disabled,
body.portal-console-active .dialog-container input:disabled,
body.portal-console-active .dialog-container textarea:disabled,
body.portal-console-active .dialog-container select:disabled,
body.portal-console-active .el-input.is-disabled .el-input__wrapper,
body.portal-console-active .el-textarea.is-disabled .el-textarea__inner {
  background: rgba(7, 11, 11, 0.44) !important;
  border-color: rgba(214, 173, 101, 0.18) !important;
  color: rgba(245, 234, 216, 0.46) !important;
}

body.portal-console-active .modal-content option,
body.portal-console-active .dialog-container option,
body.portal-console-active .el-select-dropdown__item {
  background: #0b1112 !important;
  color: var(--portal-text) !important;
}

.portal-console-shell .select-icon,
.portal-console-shell .select-clear,
.portal-console-shell .date-picker-icon,
.portal-console-shell .date-picker-chevron,
body.portal-console-active .modal-content .select-icon,
body.portal-console-active .modal-content .select-clear,
body.portal-console-active .dialog-container .select-icon,
body.portal-console-active .dialog-container .select-clear {
  color: var(--portal-gold) !important;
}

body.portal-console-active .select-dropdown-portal .select-option,
body.portal-console-active .dropdown-item,
body.portal-console-active .date-picker-preset,
.portal-console-shell .dropdown-item,
.portal-console-shell .date-picker-preset {
  color: #ead9bd !important;
}

body.portal-console-active .select-dropdown-portal .select-option:hover,
body.portal-console-active .select-dropdown-portal .select-option-focused,
body.portal-console-active .dropdown-item:hover,
.portal-console-shell .dropdown-item:hover,
.portal-console-shell .date-picker-preset:hover {
  background: rgba(244, 195, 95, 0.12) !important;
  color: #fff4dc !important;
}

body.portal-console-active .select-dropdown-portal .select-option-selected,
.portal-console-shell .date-picker-preset-active,
.portal-console-shell .tab-active,
.portal-console-shell nav[aria-label="Pagination"] button[aria-current="page"] {
  background: rgba(201, 54, 31, 0.42) !important;
  border-color: var(--portal-line-strong) !important;
  color: #fff4dc !important;
}

.portal-console-shell .table-wrapper,
.portal-console-shell table {
  color: var(--portal-text) !important;
}

.portal-console-shell table,
.portal-console-shell .table {
  background: transparent !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper,
body.portal-route-orders .portal-console-shell .table-wrapper {
  display: block !important;
  width: 100% !important;
  min-height: clamp(360px, calc(100vh - 320px), 620px) !important;
  max-height: calc(100vh - 240px) !important;
  flex: 0 0 auto !important;
  overflow: auto !important;
  border: 1px solid var(--portal-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(18, 22, 20, 0.58), rgba(7, 11, 11, 0.64)),
    rgba(0, 0, 0, 0.16) !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper > table,
body.portal-route-orders .portal-console-shell .table-wrapper > table {
  display: table !important;
  width: 100% !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper thead,
body.portal-route-orders .portal-console-shell .table-wrapper thead {
  display: table-header-group !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper tbody,
body.portal-route-orders .portal-console-shell .table-wrapper tbody {
  display: table-row-group !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper tr,
body.portal-route-orders .portal-console-shell .table-wrapper tr {
  display: table-row !important;
  visibility: visible !important;
}

body.portal-route-admin-orders .portal-console-shell .table-wrapper th,
body.portal-route-admin-orders .portal-console-shell .table-wrapper td,
body.portal-route-orders .portal-console-shell .table-wrapper th,
body.portal-route-orders .portal-console-shell .table-wrapper td {
  display: table-cell !important;
  visibility: visible !important;
}

.portal-console-shell thead,
.portal-console-shell .table-header,
.portal-console-shell .table-scroll-container thead {
  background:
    linear-gradient(180deg, rgba(46, 37, 26, 0.72), rgba(12, 16, 15, 0.72)) !important;
}

.portal-console-shell th,
.portal-console-shell .table th,
.portal-console-shell .table-scroll-container th {
  color: #e7c890 !important;
  border-color: var(--portal-line) !important;
  background: transparent !important;
}

.portal-console-shell td,
.portal-console-shell .table td,
.portal-console-shell .table-scroll-container td {
  color: #ead9bd !important;
  border-color: rgba(214, 173, 101, 0.16) !important;
  background: transparent !important;
}

.portal-console-shell tbody,
.portal-console-shell .table-body,
.portal-console-shell .table tbody {
  background: transparent !important;
}

.portal-console-shell tbody tr:hover,
.portal-console-shell .table tbody tr:hover {
  background: rgba(244, 195, 95, 0.08) !important;
}

.portal-console-shell .stat-icon {
  border: 1px solid var(--portal-line);
  border-radius: 8px !important;
  background:
    radial-gradient(circle, rgba(244, 195, 95, 0.18), rgba(7, 11, 11, 0.36)) !important;
  color: var(--portal-gold) !important;
}

.portal-console-shell .stat-value {
  color: #fff4dc !important;
}

.portal-console-shell .stat-trend-up,
.portal-console-shell .text-emerald-500,
.portal-console-shell .text-emerald-600,
.portal-console-shell .dark\:text-emerald-400 {
  color: var(--portal-green) !important;
}

.portal-console-shell .stat-trend-down,
.portal-console-shell .text-red-500,
.portal-console-shell .text-red-600,
.portal-console-shell .dark\:text-red-400 {
  color: #ff8d78 !important;
}

.portal-console-shell .badge,
.portal-console-shell [class*="badge-"] {
  border: 1px solid var(--portal-line);
  border-radius: 999px !important;
  background: rgba(244, 195, 95, 0.1) !important;
  color: #f3d99d !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-gray-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-gray-100"] {
  border: 1px solid rgba(190, 164, 109, 0.34) !important;
  background: rgba(45, 39, 31, 0.88) !important;
  color: #d9c9ad !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 180, 0.07),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-yellow-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-yellow-100"] {
  border: 1px solid rgba(244, 195, 95, 0.46) !important;
  background: rgba(70, 47, 15, 0.84) !important;
  color: #f5d48e !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 160, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-blue-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-blue-100"] {
  border: 1px solid rgba(98, 214, 233, 0.36) !important;
  background: rgba(16, 47, 55, 0.82) !important;
  color: #a5e9f1 !important;
  box-shadow:
    inset 0 1px 0 rgba(180, 244, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-green-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-green-100"] {
  border: 1px solid rgba(127, 224, 161, 0.38) !important;
  background: rgba(20, 55, 35, 0.82) !important;
  color: #a9efbf !important;
  box-shadow:
    inset 0 1px 0 rgba(190, 255, 210, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-red-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-red-100"] {
  border: 1px solid rgba(239, 93, 69, 0.44) !important;
  background: rgba(74, 28, 22, 0.84) !important;
  color: #ffb3a4 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 198, 182, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-orange-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-orange-100"] {
  border: 1px solid rgba(245, 161, 92, 0.42) !important;
  background: rgba(72, 39, 20, 0.84) !important;
  color: #f6c199 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 218, 184, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

body.portal-console-active span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-purple-100"],
.portal-console-shell span[class~="inline-flex"][class~="rounded-full"][class~="text-xs"][class~="font-medium"][class~="bg-purple-100"] {
  border: 1px solid rgba(198, 150, 255, 0.36) !important;
  background: rgba(50, 34, 72, 0.82) !important;
  color: #dbc4ff !important;
  box-shadow:
    inset 0 1px 0 rgba(223, 202, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

.portal-console-shell .tabs {
  background: rgba(7, 11, 11, 0.5) !important;
  border: 1px solid var(--portal-line);
  border-radius: 8px !important;
}

.portal-console-shell .tab {
  border-radius: 6px !important;
  color: var(--portal-muted) !important;
}

.portal-console-shell .progress,
.portal-console-shell [class*="bg-gray-200"],
.portal-console-shell [class*="dark:bg-dark-600"] {
  background: rgba(7, 11, 11, 0.58) !important;
}

.portal-console-shell .progress-bar,
.portal-console-shell .sidebar-link-active,
.portal-console-shell .tab-active,
.portal-console-shell .select-option-selected,
.portal-console-shell .switch-active {
  background:
    linear-gradient(90deg, var(--portal-ember), var(--portal-gold-deep)) !important;
}

.portal-console-shell .switch,
.portal-console-shell [role="switch"] {
  border: 1px solid var(--portal-line) !important;
  background: rgba(7, 11, 11, 0.58) !important;
}

.portal-console-shell .switch-thumb {
  background: #f3d99d !important;
}

.portal-console-shell .divider,
.portal-console-shell hr,
.portal-console-shell [class*="border-gray"],
.portal-console-shell [class*="dark:border-dark"] {
  border-color: var(--portal-line) !important;
}

.portal-console-shell .code,
.portal-console-shell code,
.portal-console-shell pre {
  background: rgba(7, 11, 11, 0.72) !important;
  color: #f3d99d !important;
  border-color: var(--portal-line) !important;
}

.portal-console-shell .empty-state-title {
  color: var(--portal-text) !important;
}

.portal-console-shell .empty-state-description,
.portal-console-shell .select-empty,
body.portal-console-active .select-empty {
  color: var(--portal-muted) !important;
}

.portal-console-shell .text-gray-900,
.portal-console-shell .text-gray-800,
.portal-console-shell .text-gray-700,
.portal-console-shell .dark\:text-white,
.portal-console-shell .dark\:text-gray-100,
.portal-console-shell .dark\:text-gray-200,
body.portal-console-active .text-gray-900,
body.portal-console-active .dark\:text-white {
  color: var(--portal-text) !important;
}

.portal-console-shell .text-gray-600,
.portal-console-shell .text-gray-500,
.portal-console-shell .text-gray-400,
.portal-console-shell .dark\:text-dark-300,
.portal-console-shell .dark\:text-dark-400,
.portal-console-shell .dark\:text-gray-300,
body.portal-console-active .text-gray-600,
body.portal-console-active .text-gray-500,
body.portal-console-active .dark\:text-dark-400 {
  color: var(--portal-muted) !important;
}

.portal-console-shell .text-primary-400,
.portal-console-shell .text-primary-500,
.portal-console-shell .text-primary-600,
.portal-console-shell .text-primary-700,
.portal-console-shell .dark\:text-primary-300,
.portal-console-shell .dark\:text-primary-400,
body.portal-console-active .text-primary-500,
body.portal-console-active .text-primary-600 {
  color: var(--portal-gold) !important;
}

.portal-console-shell a:not(.sidebar-link):not(.btn) {
  color: #f3d99d;
}

.portal-console-shell a:not(.sidebar-link):not(.btn):hover {
  color: #fff4dc;
}

.portal-console-shell .modal-overlay,
body.portal-console-active .modal-overlay,
.portal-console-shell .dialog-overlay,
body.portal-console-active .dialog-overlay {
  background: rgba(5, 7, 7, 0.68) !important;
  backdrop-filter: blur(10px);
}

.portal-console-shell .skeleton,
body.portal-console-active .skeleton,
.portal-console-shell [class*="animate-pulse"] {
  background:
    linear-gradient(90deg, rgba(244, 195, 95, 0.08), rgba(244, 195, 95, 0.18), rgba(244, 195, 95, 0.08)) !important;
}

body.portal-console-active .toast {
  border-left-color: var(--portal-gold) !important;
}

@media (max-width: 768px) {
  .portal-console-shell main {
    padding: 1rem !important;
  }

  .portal-console-shell::before {
    background-position: center top;
  }
}
