@import url("../../_cdn/vendor/fonts/tabler-icons.css");
@import url("../../_cdn/vendor/fonts/fontawesome.css");

:root {
  /* === Brand: Teal === */
  --color-teal-900: #004d52;
  --color-teal-700: #007a82;
  --color-teal-500: #00a8b4;
  --color-teal-400: #00c5cc;
  --color-teal-200: #7fdfdf;
  --color-teal-50: #d9f5f5;

  /* === Brand: Yellow === */
  --color-yellow-900: #7a6e00;
  --color-yellow-600: #b8a700;
  --color-yellow-400: #ffe536;
  --color-yellow-200: #ffee7a;
  --color-yellow-50: #fff9cc;

  /* === Neutros === */
  --color-gray-900: #111827;
  --color-gray-700: #374151;
  --color-gray-500: #6b7280;
  --color-gray-300: #d1d5db;
  --color-gray-100: #f3f4f6;
  --color-white: #ffffff;

  /* === Semanticas === */
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger: #dc2626;
  --color-info: #00a8b4;

  /* === Aliases para o painel admin === */
  --color-primary: var(--color-teal-400);
  --color-primary-dark: var(--color-teal-700);
  --color-accent: var(--color-yellow-400);
  --color-sidebar-bg: var(--color-teal-900);
  --color-sidebar-text: var(--color-white);
  --color-page-bg: var(--color-gray-100);
  --color-card-bg: var(--color-white);
  --color-text-primary: var(--color-gray-900);
  --color-text-muted: var(--color-gray-500);
  --color-border: var(--color-gray-300);
}

html.light-style,
html.dark-style {
  --tmc-navbar-height: 5.2rem;
  --tmc-menu-height: 4.25rem;
  --tmc-navbar-bg: var(--color-sidebar-bg);
  --tmc-menu-bg: var(--color-sidebar-bg);
  --tmc-menu-border: rgba(255, 255, 255, 0.16);
  --tmc-menu-link: rgba(255, 255, 255, 0.8);
  --tmc-menu-link-hover: #ffffff;
  --tmc-menu-link-active-bg: rgba(255, 229, 54, 0.23);
  --tmc-menu-link-active-color: var(--color-accent);
  --tmc-page-bg: var(--color-page-bg);
  --tmc-page-text: var(--color-text-primary);
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: 0, 197, 204;
  --bs-warning: var(--color-warning);
  --bs-warning-rgb: 245, 158, 11;
  --bs-success: var(--color-success);
  --bs-success-rgb: 22, 163, 74;
  --bs-danger: var(--color-danger);
  --bs-danger-rgb: 220, 38, 38;
  --bs-info: var(--color-info);
  --bs-info-rgb: 0, 168, 180;
  --bs-body-bg: var(--color-page-bg);
  --bs-body-color: var(--color-text-primary);
  --bs-secondary-color: var(--color-text-muted);
  --bs-tertiary-bg: #ebfeff;
  --bs-border-color: rgba(17, 24, 39, 0.12);
  --bs-card-bg: var(--color-card-bg);
  --bs-heading-color: var(--color-text-primary);
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-page-bg);
  color: var(--color-text-primary);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(42rem 22rem at -8% -10%, rgba(0, 197, 204, 0.2), transparent 72%),
    radial-gradient(38rem 20rem at 110% -8%, rgba(255, 229, 54, 0.24), transparent 70%);
}

body::after {
  background:
    linear-gradient(120deg, rgba(0, 77, 82, 0.03), rgba(0, 168, 180, 0.03));
}

.app-brand-logo.demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-brand-logo.demo svg {
  width: 12.4rem;
  height: 2.85rem;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.16));
}

.InfoBlack {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
}

/* jQuery fadeIn() injeta display:block; mantém o loader centralizado em flex */
.InfoBlack[style*="display: block"] {
  display: flex !important;
}

.InfoBlack .InfoLoad {
  display: block;
}

.TotalPage {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 48, 52, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.TotalPage[style*="display: block"],
.TotalPage[style*="display:block"] {
  display: flex !important;
}

.TotalPage .TotalPageContent {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.TotalPage .TotalPageContentLoading {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 30px rgba(0, 24, 28, 0.36);
}

.TotalPage .TotalPageContentLoading svg {
  width: 58px;
  height: 58px;
  display: block;
}

.btn_theme {
  background: var(--bs-primary);
  color: #fff !important;
  border: 1px solid var(--bs-primary);
}

.btn_theme:hover {
  background: var(--bs-primary-text-emphasis);
  border-color: var(--bs-primary-text-emphasis);
  color: #fff !important;
}

.btn_small {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}

.clear {
  clear: both;
}

.fl_right {
  float: right;
}

.fl_left {
  float: left;
}

.tmc-auth-page {
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmc-auth-wrap {
  width: 100%;
  max-width: 520px;
}

.tmc-auth-card {
  border: 0;
  box-shadow: 0 0.75rem 2rem rgba(10, 20, 40, 0.15);
}

.dark-style .tmc-auth-card {
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
}

.tmc-register-wrap {
  max-width: 1120px;
}

.tmc-register-card {
  overflow: hidden;
  border: 1px solid rgba(0, 122, 130, 0.18);
  box-shadow: 0 22px 42px rgba(0, 77, 82, 0.15);
}

.tmc-register-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(380px, 1fr);
  min-height: 620px;
}

.tmc-register-info {
  position: relative;
  padding: 2.2rem;
  color: #fff;
  background: linear-gradient(128deg, #005d63 0%, #008892 56%, #00a8b4 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tmc-register-info::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 54, 0.46) 0%, transparent 66%);
  pointer-events: none;
}

.tmc-register-brand,
.tmc-register-kicker,
.tmc-register-info h2,
.tmc-register-info p,
.tmc-register-rewards,
.tmc-register-indication,
.tmc-register-highlights {
  position: relative;
  z-index: 1;
}

.tmc-register-brand {
  margin-bottom: 0.2rem;
}

.tmc-register-brand svg {
  width: 13.5rem;
  height: 3.05rem;
  display: block;
}

.tmc-register-brand-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.2rem;
  min-height: 2.35rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
}

.tmc-register-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
}

.tmc-register-info h2 {
  margin: 0;
  font-size: 1.86rem;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.tmc-register-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.tmc-register-rewards {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.tmc-register-reward {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.62rem 0.72rem;
}

.tmc-register-reward span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.86);
}

.tmc-register-reward strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.tmc-register-indication {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.1rem;
  padding: 0.65rem 0.72rem;
  border-radius: 0.78rem;
  border: 1px solid rgba(255, 229, 54, 0.48);
  background: rgba(255, 229, 54, 0.14);
}

.tmc-register-indication span {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.84);
}

.tmc-register-indication strong {
  font-size: 1.02rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 800;
}

.tmc-register-highlights {
  list-style: none;
  margin: 0.25rem 0 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tmc-register-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.92rem;
}

.tmc-register-highlights li i {
  color: var(--color-yellow-400);
  margin-top: 0.08rem;
  flex: 0 0 auto;
}

.tmc-register-form-side {
  background: #fff;
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tmc-register-form-head h3 {
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .tmc-register-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tmc-register-info {
    padding: 1.45rem;
  }

  .tmc-register-form-side {
    padding: 1.35rem;
  }

  .tmc-register-info h2 {
    font-size: 1.45rem;
  }

  .tmc-register-brand svg {
    width: 11.6rem;
    height: 2.62rem;
  }
}

.tmc-shell .layout-navbar {
  border-bottom: 1px solid rgba(75, 70, 92, 0.14);
}

.tmc-shell .layout-menu-horizontal {
  border-bottom: 1px solid rgba(75, 70, 92, 0.12);
  box-shadow: 0 0.125rem 0.375rem rgba(47, 43, 61, 0.08);
}

.tmc-shell .layout-menu-horizontal .menu-inner > .menu-item > .menu-link {
  min-height: 3.5rem;
}

.tmc-shell .layout-menu-horizontal .menu-sub {
  min-width: 15rem;
}

.tmc-shell {
  min-height: 100vh;
}

.tmc-shell .layout-container {
  min-height: 100vh;
}

.tmc-shell .layout-page {
  min-height: calc(100vh - 4rem);
}

.tmc-kpi-card {
  min-height: 112px;
}

.tmc-list {
  display: grid;
  gap: 0.75rem;
}

.tmc-list-row {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.tmc-order-row {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  display: grid;
  gap: 0.5rem;
}

.tmc-order-row + .tmc-order-row {
  margin-top: 1rem;
}

.tmc-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--bs-secondary-color, #6c757d);
}

.tmc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tmc-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tmc-modal {
  width: min(900px, 100%);
  max-height: calc(100vh - 3rem);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tmc-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tmc-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.tmc-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.tmc-pix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.tmc-pix-qr {
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: #f8fafc;
}

.tmc-pix-qr img {
  max-width: 100%;
  height: auto;
}

.tmc-pix-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.tmc-ref-link {
  font-family: monospace;
  word-break: break-all;
}

.tmc-shell,
.tmc-shell .layout-container,
.tmc-shell .layout-page,
.tmc-shell .content-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

/* Compatibilidade com PreNotify/Notify do workcontrol.js (login e formularios AJAX) */
.notify_box_tr,
.notify_box_bl {
  position: fixed;
  width: min(320px, 92vw);
  z-index: 2000;
  pointer-events: none;
}

.notify_box_tr {
  top: 0;
  right: 0;
  padding: 1rem;
}

.notify_box_bl {
  left: 0;
  bottom: 0;
  padding: 1rem;
}

.notify_content {
  position: relative;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
}

.notify_content + .notify_content {
  margin-top: 0.75rem;
}

.notify_content p {
  margin: 0;
  color: inherit;
}

.notify_timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.notify_blue {
  background: #0b79d0;
  color: #fff;
}

.notify_red {
  background: #d73a49;
  color: #fff;
}

.notify_green {
  background: #1c8f5d;
  color: #fff;
}

.tmc-notification-toggle {
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tmc-notification-toggle:hover {
  background: rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.tmc-notification-toggle--alert i {
  color: #ef4444;
  animation: tmcNotifyBlink 1s ease-in-out infinite;
}

.tmc-push-optin-toggle {
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.8rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tmc-push-optin-toggle:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.tmc-push-optin-toggle--active {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.tmc-modal--push-optin {
  width: min(680px, 100%);
}

.tmc-push-optin-lead {
  margin: 0 0 1rem;
  color: #334155;
  line-height: 1.55;
}

.tmc-push-optin-status {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  color: #334155;
  font-size: 0.92rem;
}

.tmc-push-ios-guide {
  margin-top: 1rem;
  border: 1px dashed rgba(30, 64, 175, 0.28);
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.75rem;
  padding: 0.9rem;
}

.tmc-push-ios-guide h6 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.tmc-push-ios-guide ol {
  margin: 0 0 0.8rem 1.1rem;
  padding: 0;
  color: #1e293b;
}

.tmc-push-ios-guide li + li {
  margin-top: 0.3rem;
}

.tmc-push-optin-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@keyframes tmcNotifyBlink {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.tmc-notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 28, 0.52);
  opacity: 0;
  pointer-events: none;
  z-index: 1190;
  transition: opacity 0.2s ease;
}

.tmc-notification-open {
  overflow: hidden;
}

.tmc-notification-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tmc-notification-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  box-shadow: -16px 0 38px rgba(3, 10, 30, 0.25);
  z-index: 1200;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.tmc-notification-drawer.is-open {
  transform: translateX(0);
}

.tmc-notification-drawer_head {
  padding: 1rem 1rem 0.95rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 65%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tmc-notification-drawer_head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #161d2f;
}

.tmc-notification-drawer_head p {
  margin: 0.35rem 0 0 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.tmc-notification-drawer_close {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.tmc-notification-drawer_body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  background: #fcfdff;
  -webkit-overflow-scrolling: touch;
}

.tmc-notification-drawer_empty {
  border: 1px dashed #d6dce7;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
  color: #6b7280;
  text-align: center;
}

.tmc-notification-item {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 0.8rem;
  padding: 0.88rem;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  height: auto;
  min-height: 4.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tmc-notification-item:hover {
  border-color: rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tmc-notification-item--unread {
  border-color: rgba(239, 68, 68, 0.38);
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 82%);
}

.tmc-notification-item_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.tmc-notification-item_title {
  margin: 0;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.35;
}

.tmc-notification-item_date {
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.tmc-notification-item_badge {
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.16rem 0.5rem;
  white-space: nowrap;
}

.tmc-notification-item_preview {
  margin: 0.5rem 0 0 0;
  color: #4b5563;
  font-size: 0.83rem;
  line-height: 1.45;
}

.tmc-modal--notification {
  width: min(760px, 100%);
}

#js-tmc-notification-modal {
  z-index: 1305;
}

.tmc-notification-modal-media {
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0.9rem;
  background: #f8fafc;
}

.tmc-notification-modal-media img {
  display: block;
  width: 100%;
  height: auto;
}

.tmc-notification-modal-media iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.tmc-notification-modal-content {
  color: #1f2937;
  line-height: 1.6;
}

.tmc-affiliate-win-notification {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(0, 122, 130, 0.24);
  background: linear-gradient(132deg, #ecfeff 0%, #e0f2fe 58%, #f0fdfa 100%);
  box-shadow: 0 10px 24px rgba(0, 77, 82, 0.12);
}

.tmc-affiliate-win-notification::after {
  content: "";
  position: absolute;
  top: -28%;
  right: -12%;
  width: 8.2rem;
  height: 8.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 54, 0.4) 0%, transparent 72%);
  pointer-events: none;
}

.tmc-affiliate-win-notification__burst {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 1.42rem;
  line-height: 1;
  margin-bottom: 0.45rem;
  animation: tmc-affiliate-burst 1.6s ease-in-out infinite;
}

.tmc-affiliate-win-notification__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.tmc-affiliate-win-notification__reward {
  position: relative;
  z-index: 1;
  margin: 0.42rem 0 0.7rem 0;
  color: #0f172a;
}

.tmc-affiliate-win-notification__reward strong {
  color: #006d75;
}

.tmc-affiliate-win-notification__meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.tmc-affiliate-win-notification__meta p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.tmc-affiliate-win-notification__meta span {
  color: #0f4d53;
  font-weight: 600;
}

.tmc-affiliate-win-notification__meta strong {
  color: #0f172a;
}

@keyframes tmc-affiliate-burst {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.07);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmc-affiliate-win-notification__burst {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .tmc-shell .container-xxl {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .tmc-list-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tmc-notification-drawer {
    width: 100vw;
  }

  .tmc-notification-drawer_head {
    padding: 1rem 1rem 0.9rem 1rem;
  }

  .tmc-notification-drawer_close {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tmc-notification-modal-media iframe {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .tmc-push-optin-toggle {
    width: 2.95rem;
    height: 2.95rem;
    min-height: 2.95rem;
    border-radius: 0.9rem;
    padding: 0;
    background: rgba(37, 99, 235, 0.1);
  }

  .tmc-push-optin-label {
    display: none;
  }

  .tmc-notification-toggle {
    width: 2.95rem;
    height: 2.95rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.04);
  }

  .tmc-notification-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: min(88dvh, 760px);
    border-top-left-radius: 1.1rem;
    border-top-right-radius: 1.1rem;
    box-shadow: 0 -20px 45px rgba(3, 10, 30, 0.24);
    transform: translateY(105%);
  }

  .tmc-notification-drawer.is-open {
    transform: translateY(0);
  }

  .tmc-notification-drawer_head {
    position: sticky;
    top: 0;
    z-index: 2;
    border-top-left-radius: 1.1rem;
    border-top-right-radius: 1.1rem;
    padding-top: calc(0.95rem + env(safe-area-inset-top, 0px));
  }

  .tmc-notification-drawer_body {
    padding: 0.75rem 0.75rem calc(0.85rem + env(safe-area-inset-bottom, 0px))
      0.75rem;
    gap: 0.65rem;
  }

  .tmc-notification-item {
    border-radius: 0.92rem;
    padding: 0.95rem;
  }

  .tmc-notification-item_title {
    font-size: 0.98rem;
  }

  .tmc-notification-item_preview {
    font-size: 0.85rem;
  }

  .tmc-modal-backdrop {
    padding: 0;
  }

  .tmc-modal--notification {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .tmc-modal--push-optin {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .tmc-modal--notification .tmc-modal-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    padding: calc(0.8rem + env(safe-area-inset-top, 0px)) 1rem 0.8rem 1rem;
  }

  .tmc-modal--notification .tmc-modal-body {
    padding: 0.95rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) 1rem;
  }

  .tmc-modal--notification .tmc-modal-close {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.06);
    font-size: 1.35rem;
  }

  .tmc-modal--push-optin .tmc-modal-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    padding: calc(0.8rem + env(safe-area-inset-top, 0px)) 1rem 0.8rem 1rem;
  }

  .tmc-modal--push-optin .tmc-modal-body {
    padding: 0.95rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) 1rem;
  }

  .tmc-notification-modal-media {
    border-radius: 0.92rem;
  }

  .tmc-notification-modal-media iframe {
    min-height: 210px;
  }
}

@media (max-width: 1199.98px) {
  #layout-menu.tmc-mobile-menu-fallback {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: 16.25rem;
    max-width: 100%;
    height: 100% !important;
    margin: 0 !important;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.25s ease;
    z-index: 1101;
    background: var(--bs-body-bg);
    overflow-y: auto;
    will-change: transform;
  }

  .layout-menu-expanded #layout-menu.tmc-mobile-menu-fallback {
    transform: translate3d(0, 0, 0) !important;
  }

  #layout-menu.tmc-mobile-menu-fallback .container-xxl {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #layout-menu.tmc-mobile-menu-fallback .menu-inner {
    flex-direction: column;
  }

  #layout-menu.tmc-mobile-menu-fallback .menu-inner > .menu-item {
    width: 100%;
  }

  #layout-menu.tmc-mobile-menu-fallback .menu-sub {
    position: static;
    width: 100%;
    margin-top: 0;
    box-shadow: none;
  }
}

/* ==========================================================
   TMC Modern Theme Overrides
   ========================================================== */

.tmc-shell .layout-navbar,
.tmc-shell .layout-menu-horizontal {
  border-color: var(--tmc-menu-border);
}

.tmc-shell .layout-navbar {
  min-height: var(--tmc-navbar-height);
  background: linear-gradient(
    115deg,
    rgba(0, 77, 82, 0.98) 0%,
    rgba(0, 122, 130, 0.98) 56%,
    rgba(0, 168, 180, 0.96) 100%
  ) !important;
}

.tmc-shell .layout-navbar .container-xxl {
  min-height: var(--tmc-navbar-height);
}

.tmc-shell .navbar-brand.app-brand.demo {
  min-height: calc(var(--tmc-navbar-height) - 0.6rem);
  margin-top: 0;
  margin-bottom: 0;
}

.tmc-shell .navbar-brand.app-brand.demo .app-brand-link {
  align-items: center;
}

.tmc-shell .layout-menu-horizontal {
  min-height: var(--tmc-menu-height);
  background: linear-gradient(
    120deg,
    rgba(0, 77, 82, 0.99) 0%,
    rgba(0, 122, 130, 0.98) 100%
  ) !important;
  box-shadow: 0 16px 28px rgba(0, 77, 82, 0.22);
}

.tmc-shell .layout-menu-horizontal .container-xxl {
  min-height: var(--tmc-menu-height);
}

.tmc-shell .menu .menu-inner {
  min-height: var(--tmc-menu-height);
  gap: 0.45rem;
}

.tmc-shell .menu .menu-link {
  color: var(--tmc-menu-link);
  border: 1px solid transparent;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
}

.tmc-shell .menu .menu-link:hover {
  color: var(--tmc-menu-link-hover);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.tmc-shell .menu .menu-item.active > .menu-link,
.tmc-shell .menu .menu-item.open > .menu-link {
  color: var(--color-yellow-400);
  background: rgba(255, 229, 54, 0.2);
  border-color: rgba(255, 229, 54, 0.4);
}

.tmc-shell .menu-sub {
  top: calc(100% + 0.45rem);
  min-width: 15.5rem;
  max-height: min(60vh, 560px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    180deg,
    rgba(0, 77, 82, 0.98) 0%,
    rgba(0, 67, 74, 0.98) 100%
  );
  box-shadow: 0 16px 34px rgba(0, 53, 58, 0.3);
}

.tmc-shell .menu-sub .menu-link {
  min-height: 2.55rem;
  padding: 0.56rem 0.75rem;
}

.tmc-shell .menu-sub .menu-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tmc-shell .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.tmc-shell .navbar-brand,
.tmc-shell .navbar-brand .app-brand-link,
.tmc-shell .layout-menu-toggle .nav-link {
  color: #ffffff;
}

.tmc-shell .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.tmc-push-optin-toggle {
  border-color: rgba(255, 229, 54, 0.34);
  background: rgba(255, 229, 54, 0.17);
  color: #fff8d3;
}

.tmc-push-optin-toggle:hover {
  background: rgba(255, 229, 54, 0.27);
  border-color: rgba(255, 229, 54, 0.45);
}

.tmc-notification-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tmc-shell .container-p-y {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.tmc-shell .card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.07);
}

.tmc-shell .card-header {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(
    180deg,
    rgba(0, 197, 204, 0.08) 0%,
    rgba(255, 229, 54, 0.08) 100%
  );
  border-top-left-radius: 1rem !important;
  border-top-right-radius: 1rem !important;
}

.tmc-shell .card-title {
  color: var(--color-text-primary);
  font-weight: 700;
}

.tmc-shell .card-subtitle,
.tmc-shell .text-muted {
  color: var(--color-text-muted) !important;
}

.tmc-shell .btn-primary {
  color: #07353a;
  border: 0;
  background: linear-gradient(
    90deg,
    var(--color-yellow-400) 0%,
    #ffd814 100%
  );
  box-shadow: 0 10px 20px rgba(184, 167, 0, 0.24);
}

.tmc-shell .btn-primary:hover,
.tmc-shell .btn-primary:focus {
  color: #06262a;
  transform: translateY(-1px);
  background: linear-gradient(
    90deg,
    #ffe000 0%,
    #ffd100 100%
  );
}

.tmc-shell .btn-outline-primary {
  color: var(--color-primary-dark);
  border-color: rgba(0, 122, 130, 0.42);
  background: rgba(0, 197, 204, 0.08);
}

.tmc-shell .btn-outline-primary:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(
    100deg,
    var(--color-teal-700) 0%,
    var(--color-teal-500) 100%
  );
}

.tmc-shell .form-control,
.tmc-shell .form-select {
  border-color: rgba(17, 24, 39, 0.14);
  background: #fff;
}

.tmc-shell .form-control:focus,
.tmc-shell .form-select:focus {
  border-color: rgba(0, 168, 180, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 180, 0.17);
}

.tmc-shell .bg-label-primary {
  background: rgba(0, 168, 180, 0.18) !important;
  color: var(--color-teal-700) !important;
}

.tmc-shell .content-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  background: linear-gradient(
    180deg,
    rgba(0, 197, 204, 0.05) 0%,
    rgba(255, 229, 54, 0.06) 100%
  );
}

.tmc-page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 48, 52, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tmc-page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tmc-page-loader__content {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.28),
    rgba(0, 77, 82, 0.55)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 36px rgba(0, 53, 58, 0.45);
}

.tmc-page-loader__pulse,
.tmc-page-loader__ring {
  position: absolute;
  border-radius: 50%;
}

.tmc-page-loader__pulse {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 197, 204, 0.6);
  animation: tmcLoaderPulse 1.3s ease-out infinite;
}

.tmc-page-loader__ring {
  width: 122px;
  height: 122px;
  border: 2px solid rgba(255, 229, 54, 0.7);
  animation: tmcLoaderSpin 1.9s linear infinite;
}

.tmc-page-loader__icon {
  width: 72px;
  height: 72px;
  z-index: 2;
}

.tmc-page-loader__icon svg,
.tmc-page-loader__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.tmc-page-loader__label {
  position: absolute;
  bottom: -2.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes tmcLoaderSpin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes tmcLoaderPulse {
  0% {
    transform: scale(0.86);
    opacity: 0.78;
  }
  70% {
    transform: scale(1.08);
    opacity: 0.16;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.tmc-dashboard-hero {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  background: linear-gradient(
    130deg,
    rgba(0, 77, 82, 0.96) 0%,
    rgba(0, 122, 130, 0.94) 50%,
    rgba(0, 168, 180, 0.88) 100%
  ) !important;
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 77, 82, 0.24) !important;
}

.tmc-dashboard-hero::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: -11rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 229, 54, 0.38) 0%,
    rgba(255, 229, 54, 0) 70%
  );
}

.tmc-dashboard-hero .card-body {
  position: relative;
  z-index: 1;
}

.tmc-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tmc-hero-title {
  margin: 0.95rem 0 0.45rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tmc-hero-subtitle {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
}

.tmc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.tmc-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tmc-hero-summary {
  display: grid;
  gap: 0.7rem;
}

.tmc-hero-summary_item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
}

.tmc-hero-summary_item small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tmc-hero-summary_item strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.tmc-kpi-card {
  min-height: 122px;
  border: 0 !important;
  overflow: hidden;
}

.tmc-kpi-card .card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
}

.tmc-kpi-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tmc-kpi-icon i {
  font-size: 1.25rem;
}

.tmc-kpi-card--credits .tmc-kpi-icon {
  background: linear-gradient(
    140deg,
    var(--color-teal-700) 0%,
    var(--color-teal-500) 100%
  );
}

.tmc-kpi-card--coupons .tmc-kpi-icon {
  background: linear-gradient(140deg, #d0b700 0%, #f2d415 100%);
}

.tmc-kpi-card--campaigns .tmc-kpi-icon {
  background: linear-gradient(140deg, #008f97 0%, #00c5cc 100%);
}

.tmc-kpi-card--affiliate .tmc-kpi-icon {
  background: linear-gradient(140deg, #006e74 0%, #00a8b4 100%);
}

.tmc-kpi-label {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tmc-kpi-value {
  margin: 0;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.tmc-quick-actions {
  display: grid;
  gap: 0.58rem;
}

.tmc-quick-actions .btn {
  text-align: left;
  justify-content: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tmc-list-row {
  border-radius: 0.8rem;
  border-color: rgba(17, 24, 39, 0.1);
  background: linear-gradient(
    180deg,
    rgba(0, 197, 204, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.tmc-order-row {
  border-radius: 0.9rem;
  border-color: rgba(17, 24, 39, 0.12);
  background: linear-gradient(
    180deg,
    rgba(0, 197, 204, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.tmc-order-status {
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.tmc-order-status--warning {
  color: #7a5400;
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.36);
}

.tmc-order-status--success {
  color: #0e6b34;
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.3);
}

.tmc-order-status--danger {
  color: #8f1c1c;
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.28);
}

.tmc-order-status--info {
  color: #006b73;
  background: rgba(0, 168, 180, 0.14);
  border-color: rgba(0, 168, 180, 0.3);
}

.tmc-order-status--secondary {
  color: var(--color-text-muted);
  background: rgba(107, 114, 128, 0.1);
  border-color: rgba(107, 114, 128, 0.2);
}

.tmc-raffle-card {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 0.9rem;
  background: linear-gradient(
    180deg,
    rgba(0, 197, 204, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  height: 100%;
}

.tmc-raffle-cover {
  width: 98px;
  height: 98px;
  border-radius: 0.7rem;
  object-fit: cover;
  border: 1px solid rgba(0, 77, 82, 0.18);
}

@media (max-width: 1199.98px) {
  html.light-style,
  html.dark-style {
    --tmc-navbar-height: 4.6rem;
    --tmc-menu-height: 3.9rem;
  }

  #layout-menu.tmc-mobile-menu-fallback {
    background: var(--color-sidebar-bg);
  }

  .tmc-shell .layout-navbar .container-xxl {
    min-height: var(--tmc-navbar-height);
  }

  .tmc-shell .layout-menu-horizontal {
    top: var(--tmc-navbar-height) !important;
  }
}

@media (max-width: 767.98px) {
  html.light-style,
  html.dark-style {
    --tmc-navbar-height: 4.25rem;
  }

  .tmc-shell .layout-navbar {
    background: linear-gradient(
      115deg,
      rgba(0, 77, 82, 0.98) 0%,
      rgba(0, 122, 130, 0.98) 100%
    ) !important;
  }

  .tmc-hero-summary {
    grid-template-columns: 1fr;
  }

  .tmc-kpi-card .card-body {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    text-align: left;
  }

  .tmc-kpi-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .tmc-page-loader__content {
    width: 128px;
    height: 128px;
  }

  .tmc-page-loader__ring {
    width: 102px;
    height: 102px;
  }

  .tmc-page-loader__icon {
    width: 58px;
    height: 58px;
  }

  .tmc-page-loader__label {
    bottom: -1.9rem;
    font-size: 0.76rem;
  }

  .app-brand-logo.demo svg {
    width: 10.6rem;
    height: 2.45rem;
  }
}
