/*
 * CONFUT theme tokens
 * Token map: colors.background.primary -> --colors-background-primary
 */

:root {
  --theme-transition-duration: 240ms;
  --theme-transition-easing: cubic-bezier(0.2, 0.7, 0.2, 1);

  --colors-background-primary: #ffffff;
  --colors-background-secondary: #f4f6f8;
  --colors-background-tertiary: #f8f9fc;

  --colors-surface-primary: #ffffff;
  --colors-surface-secondary: #f8fbff;
  --colors-surface-hover: #f4f6f8;

  --colors-text-primary: #1e2a36;
  --colors-text-secondary: #637180;
  --colors-text-muted: rgba(10, 38, 71, 0.78);
  --colors-text-inverse: #e6edf7;

  --colors-border-primary: #eaecf4;
  --colors-border-secondary: #e6eaf0;

  --colors-brand-primary: #0a2647;
  --colors-brand-secondary: #9a6f00;

  --colors-feedback-success: #1cc88a;
  --colors-feedback-warning: #f6c23e;
  --colors-feedback-error: #e74a3b;
  --colors-feedback-info: #36b9cc;

  --colors-interactive-default: #9a6f00;
  --colors-interactive-hover: #0f2d4a;
  --colors-interactive-active: #0a2647;
  --colors-interactive-disabled: #858796;

  --theme-focus-ring: 0 0 0 0.2rem rgba(154, 111, 0, 0.2);
  --theme-shadow-card: 0 14px 34px rgba(10, 38, 71, 0.08);
  --theme-shadow-floating: 0 18px 38px rgba(10, 38, 71, 0.16);
}

html[data-theme="dark"] {
  --colors-background-primary: #0b1220;
  --colors-background-secondary: #111827;
  --colors-background-tertiary: #1a2332;

  --colors-surface-primary: #162032;
  --colors-surface-secondary: #1f2a3d;
  --colors-surface-hover: rgba(255, 255, 255, 0.06);

  --colors-text-primary: rgba(255, 255, 255, 0.92);
  --colors-text-secondary: rgba(255, 255, 255, 0.72);
  --colors-text-muted: rgba(255, 255, 255, 0.52);
  --colors-text-inverse: #0b1220;

  --colors-border-primary: rgba(255, 255, 255, 0.08);
  --colors-border-secondary: rgba(255, 255, 255, 0.12);

  --colors-brand-primary: #88aee1;
  --colors-brand-secondary: #d6b55b;

  --colors-feedback-success: #5fd2a5;
  --colors-feedback-warning: #f0c96d;
  --colors-feedback-error: #ef7c72;
  --colors-feedback-info: #67c8d8;

  --colors-interactive-default: #d6b55b;
  --colors-interactive-hover: #f0d68a;
  --colors-interactive-active: #c6a54a;
  --colors-interactive-disabled: rgba(255, 255, 255, 0.28);

  --ui-text-primary: var(--colors-text-primary);
  --ui-text-muted: var(--colors-text-muted);
  --ui-surface-raised: var(--colors-surface-primary);
  --ui-surface-soft: var(--colors-surface-secondary);
  --ui-focus-gold: rgba(214, 181, 91, 0.26);

  --dashboard-primary-900: #0b1220;
  --dashboard-primary-800: #111827;
  --dashboard-neutral-100: var(--colors-surface-primary);
  --dashboard-neutral-300: var(--colors-border-primary);
  --dashboard-neutral-bg: rgba(255, 255, 255, 0.04);
  --dashboard-accent-gold: var(--colors-brand-secondary);
  --dashboard-success-bg: rgba(95, 210, 165, 0.14);
  --dashboard-success-text: #7ee1b8;

  --profile-ink: var(--colors-text-primary);
  --profile-muted: var(--colors-text-secondary);
  --profile-on-dark: var(--colors-text-primary);
  --profile-panel: var(--colors-surface-primary);
  --profile-surface: var(--colors-surface-primary);
  --profile-surface-soft: var(--colors-surface-secondary);
  --profile-border: var(--colors-border-primary);
  --profile-border-strong: var(--colors-border-secondary);
  --profile-field: var(--colors-background-tertiary);
  --profile-gold: var(--colors-brand-secondary);
  --profile-gold-soft: #f0d68a;

  --theme-focus-ring: 0 0 0 0.2rem rgba(214, 181, 91, 0.26);
  --theme-shadow-card:
    0 18px 46px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  --theme-shadow-floating:
    0 22px 54px rgba(2, 6, 23, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body,
.app-shell,
.app-content,
.dashboard-content,
.card,
.modal-content,
.dropdown-menu,
.form-control,
.form-select,
.btn,
.table,
.nav-tabs .nav-link,
.page-link,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-dropdown,
.dashboard-v2-sidebar,
.dashboard-v2-topbar,
.app-sidebar,
.app-topbar,
.dashboard-v2-action-card,
.dashboard-v2-service-card,
.dashboard-v2-event-card,
.dashboard-v2-nav-card,
.management-card,
.events-store-card,
.cart-flow-card {
  transition:
    background-color var(--theme-transition-duration) var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing),
    border-color var(--theme-transition-duration) var(--theme-transition-easing),
    box-shadow var(--theme-transition-duration) var(--theme-transition-easing);
}

@media (prefers-reduced-motion: reduce) {
  body,
  .app-shell,
  .app-content,
  .dashboard-content,
  .card,
  .modal-content,
  .dropdown-menu,
  .form-control,
  .form-select,
  .btn,
  .table,
  .nav-tabs .nav-link,
  .page-link,
  .select2-container--default .select2-selection--single,
  .select2-container--default .select2-dropdown,
  .dashboard-v2-sidebar,
  .dashboard-v2-topbar,
  .app-sidebar,
  .app-topbar,
  .dashboard-v2-action-card,
  .dashboard-v2-service-card,
  .dashboard-v2-event-card,
  .dashboard-v2-nav-card,
  .management-card,
  .events-store-card,
  .cart-flow-card {
    transition: none !important;
  }
}

.theme-toggle-button {
  position: relative;
}

.theme-toggle-button:focus-visible {
  outline: 0;
  box-shadow: var(--theme-focus-ring);
}

/* Mobile topbar repair: keep the second layer as accessibility, profile, menu. */
@media (max-width: 992px) {
  .dashboard-v2-topbar-actions,
  .app-topbar .confut-topbar {
    width: 100%;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    grid-auto-rows: auto;
    align-items: center;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dashboard-v2-topbar-actions .theme-toggle-button,
  .app-topbar .confut-topbar .theme-toggle-button,
  .dashboard-v2-topbar-actions .dashboard-v2-desktop-actions,
  .app-topbar .confut-topbar .dashboard-v2-desktop-actions,
  .dashboard-v2-topbar-actions .dashboard-v2-language-desktop,
  .app-topbar .confut-topbar .dashboard-v2-language-desktop,
  .dashboard-v2-topbar-actions .topbar-divider,
  .app-topbar .confut-topbar .topbar-divider {
    display: none !important;
  }

  .dashboard-v2-mobile-a11y,
  .app-topbar .confut-topbar > .dropdown:not(.topbar-user-menu) {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .dashboard-v2-user-dropdown,
  .app-topbar .confut-topbar > .topbar-user-menu {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .dashboard-v2-mobile-menu-button,
  .app-topbar .confut-topbar > .mobile-menu-btn {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .dashboard-v2-user-button,
  .app-topbar .profile-chip {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .dashboard-v2-user-copy,
  .app-topbar .profile-chip .profile-meta,
  .topbar-user-content {
    min-width: 0 !important;
    max-width: none !important;
  }

  .dashboard-v2-user-button img,
  .dashboard-v2-user-button .avatar-fallback-inline,
  .app-topbar .profile-chip .avatar,
  .app-topbar .profile-chip .topbar-avatar-img {
    border-radius: 999px !important;
    flex: 0 0 auto;
  }
}

@media (max-width: 575px) {
  .dashboard-v2-topbar-actions,
  .app-topbar .confut-topbar {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 8px !important;
  }
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: var(--colors-background-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.bg-gradient-dark,
html[data-theme="dark"] .bg-gradient-dark {
  background-color: var(--colors-background-primary) !important;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(214, 181, 91, 0.08), transparent 32%),
    linear-gradient(180deg, var(--colors-background-secondary), var(--colors-background-primary)) !important;
}

html[data-theme="dark"] ::selection {
  background: rgba(214, 181, 91, 0.34);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] * {
  scrollbar-color: rgba(214, 181, 91, 0.58) var(--colors-background-secondary);
}

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

html[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background-color: rgba(214, 181, 91, 0.58);
  border-color: var(--colors-background-secondary);
}

html[data-theme="dark"] a {
  color: #a9c9f4;
}

html[data-theme="dark"] a:hover {
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .text-dark,
html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .text-gray-800,
html[data-theme="dark"] .text-gray-700,
html[data-theme="dark"] .management-name,
html[data-theme="dark"] .confut-page-title,
html[data-theme="dark"] .management-page-title,
html[data-theme="dark"] .dashboard-v2-section-head h2,
html[data-theme="dark"] .dashboard-v2-action-card-content h3,
html[data-theme="dark"] .dashboard-v2-service-content h3,
html[data-theme="dark"] .dashboard-v2-nav-category-title,
html[data-theme="dark"] .dashboard-v2-nav-card-label,
html[data-theme="dark"] [style*="rgb(var(--azul-escuro))"] {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .management-muted,
html[data-theme="dark"] .confut-page-subtitle,
html[data-theme="dark"] .management-page-subtitle,
html[data-theme="dark"] .small.text-muted,
html[data-theme="dark"] .dashboard-v2-action-card-content p,
html[data-theme="dark"] .dashboard-v2-service-content p,
html[data-theme="dark"] .dashboard-v2-empty-card,
html[data-theme="dark"] .private-links-subtitle,
html[data-theme="dark"] .private-field-help,
html[data-theme="dark"] .private-status-note,
html[data-theme="dark"] .private-url,
html[data-theme="dark"] .generated-url,
html[data-theme="dark"] .help-block,
html[data-theme="dark"] .form-text {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .dashboard-v2-shell,
html[data-theme="dark"] #wrapper {
  background: var(--colors-background-primary);
}

html[data-theme="dark"] .app-content,
html[data-theme="dark"] #content-wrapper,
html[data-theme="dark"] .dashboard-v2-content-wrapper,
html[data-theme="dark"] .dashboard-v2-content,
html[data-theme="dark"] .dashboard-content,
html[data-theme="dark"] main.dashboard-content {
  background:
    radial-gradient(circle at 95% 0%, rgba(214, 181, 91, 0.055), transparent 28%),
    linear-gradient(180deg, var(--colors-background-secondary), var(--colors-background-primary));
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .app-sidebar,
html[data-theme="dark"] .dashboard-v2-sidebar {
  background:
    linear-gradient(180deg, #0d1728 0%, #0b1220 58%, #08111f 100%);
  border-color: var(--colors-border-primary);
  box-shadow: 20px 0 48px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .app-topbar,
html[data-theme="dark"] .dashboard-v2-topbar {
  background:
    linear-gradient(180deg, rgba(22, 32, 50, 0.98), rgba(17, 24, 39, 0.96));
  border-color: var(--colors-border-primary);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .dashboard-v2-topbar::after,
html[data-theme="dark"] .app-topbar::after {
  background: linear-gradient(90deg, transparent, rgba(214, 181, 91, 0.28), transparent);
}

html[data-theme="dark"] .sidebar-section,
html[data-theme="dark"] .dashboard-v2-sidebar-section-title {
  color: var(--colors-text-muted);
}

html[data-theme="dark"] .sidebar-item,
html[data-theme="dark"] .dashboard-v2-sidebar-link {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .sidebar-item:hover,
html[data-theme="dark"] .dashboard-v2-sidebar-link:hover,
html[data-theme="dark"] .dashboard-v2-sidebar-homebtn:hover {
  background: var(--colors-surface-hover);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .sidebar-item.active,
html[data-theme="dark"] .dashboard-v2-sidebar-link.active,
html[data-theme="dark"] .dashboard-v2-sidebar-homebtn.active {
  background: rgba(214, 181, 91, 0.13);
  color: #f0d68a;
  box-shadow: inset 0 0 0 1px rgba(214, 181, 91, 0.18);
}

html[data-theme="dark"] .sidebar-item i,
html[data-theme="dark"] .dashboard-v2-sidebar-link i {
  color: rgba(255, 255, 255, 0.56);
}

html[data-theme="dark"] .sidebar-item.active i,
html[data-theme="dark"] .dashboard-v2-sidebar-link.active i,
html[data-theme="dark"] .sidebar-item:hover i,
html[data-theme="dark"] .dashboard-v2-sidebar-link:hover i {
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .sidebar-area-card,
html[data-theme="dark"] .dashboard-v2-sidebar-footer,
html[data-theme="dark"] .dashboard-v2-sidebar-footer-inner,
html[data-theme="dark"] .sidebar-footer-link,
html[data-theme="dark"] .dashboard-v2-footer-avatar,
html[data-theme="dark"] .dashboard-v2-footer-logout,
html[data-theme="dark"] .sidebar-footer-logout {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .profile-name,
html[data-theme="dark"] .topbar-user-name {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .profile-role,
html[data-theme="dark"] .topbar-user-role,
html[data-theme="dark"] .profile-company-white {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .profile-type-gold {
  color: var(--colors-brand-secondary) !important;
}

html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .dashboard-v2-icon-button,
html[data-theme="dark"] .dashboard-v2-user-button,
html[data-theme="dark"] .profile-chip,
html[data-theme="dark"] .dashboard-v2-mobile-menu-button,
html[data-theme="dark"] .mobile-menu-btn,
html[data-theme="dark"] .dashboard-v2-language-desktop-globe,
html[data-theme="dark"] .dashboard-v2-language-desktop-option,
html[data-theme="dark"] .dashboard-v2-mobile-language-globe,
html[data-theme="dark"] .dashboard-v2-mobile-language-option,
html[data-theme="dark"] .dashboard-v2-mobile-quicknav a {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--colors-border-secondary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .icon-button:hover,
html[data-theme="dark"] .dashboard-v2-icon-button:hover,
html[data-theme="dark"] .dashboard-v2-user-button:hover,
html[data-theme="dark"] .profile-chip:hover,
html[data-theme="dark"] .dashboard-v2-mobile-menu-button:hover,
html[data-theme="dark"] .mobile-menu-btn:hover,
html[data-theme="dark"] .dashboard-v2-language-desktop-option:hover,
html[data-theme="dark"] .dashboard-v2-mobile-language-option:hover,
html[data-theme="dark"] .dashboard-v2-mobile-quicknav a:hover {
  background: rgba(214, 181, 91, 0.11);
  border-color: rgba(214, 181, 91, 0.34);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .dashboard-v2-language-desktop-option.active,
html[data-theme="dark"] .dashboard-v2-mobile-language-option.active,
html[data-theme="dark"] .dashboard-v2-mobile-quicknav a.active {
  background: rgba(214, 181, 91, 0.15);
  border-color: rgba(214, 181, 91, 0.4);
  color: #f0d68a;
}

html[data-theme="dark"] .dashboard-v2-search {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .dashboard-v2-search input,
html[data-theme="dark"] .topbar-search input {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .dashboard-v2-search input::placeholder,
html[data-theme="dark"] .topbar-search input::placeholder {
  color: var(--colors-text-muted);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .dashboard-content .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .management-card,
html[data-theme="dark"] .private-links-card,
html[data-theme="dark"] .private-panel,
html[data-theme="dark"] .profile-edit-page .profile-panel,
html[data-theme="dark"] .profile-edit-page .profile-empty-header,
html[data-theme="dark"] .profile-edit-page .profile-photo-panel,
html[data-theme="dark"] .profile-edit-page .profile-section-readonly,
html[data-theme="dark"] .dashboard-v2-action-card,
html[data-theme="dark"] .dashboard-v2-service-card,
html[data-theme="dark"] .dashboard-v2-nav-card,
html[data-theme="dark"] .dv2-nav-card,
html[data-theme="dark"] .dashboard-v2-future-list,
html[data-theme="dark"] .dashboard-v2-empty-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .panel-card,
html[data-theme="dark"] .participants-table {
  background: linear-gradient(180deg, var(--colors-surface-primary), #131d2e);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] .card-header,
html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer,
html[data-theme="dark"] .dashboard-content .card-header,
html[data-theme="dark"] .private-links-header {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .sticky-footer {
  background: var(--colors-background-primary) !important;
  border-color: var(--colors-border-primary);
  color: var(--colors-text-muted);
}

html[data-theme="dark"] .btn-primary {
  background: var(--colors-interactive-default);
  border-color: var(--colors-interactive-default);
  color: #0b1220;
  box-shadow: 0 12px 26px rgba(214, 181, 91, 0.2);
}

html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn-primary:not(:disabled):not(.disabled):active,
html[data-theme="dark"] .show > .btn-primary.dropdown-toggle {
  background: var(--colors-interactive-hover);
  border-color: var(--colors-interactive-hover);
  color: #0b1220;
}

html[data-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-secondary,
html[data-theme="dark"] .btn-default,
html[data-theme="dark"] .btn-light {
  border-color: var(--colors-border-secondary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-default:hover,
html[data-theme="dark"] .btn-light:hover {
  background: rgba(214, 181, 91, 0.13);
  border-color: rgba(214, 181, 91, 0.42);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .btn-secondary {
  background: var(--colors-surface-secondary);
  border-color: var(--colors-border-secondary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .btn-warning,
html[data-theme="dark"] .download-btn {
  background: rgba(240, 201, 109, 0.9);
  border-color: rgba(240, 201, 109, 0.9);
  color: #111827;
}

html[data-theme="dark"] .btn-danger {
  background: var(--colors-feedback-error);
  border-color: var(--colors-feedback-error);
  color: #111827;
}

html[data-theme="dark"] .btn:disabled,
html[data-theme="dark"] .btn.disabled,
html[data-theme="dark"] fieldset:disabled .btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--colors-interactive-disabled);
  box-shadow: none;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] select.form-control,
html[data-theme="dark"] textarea.form-control,
html[data-theme="dark"] .custom-select,
html[data-theme="dark"] .management-search-input,
html[data-theme="dark"] .products-search-input,
html[data-theme="dark"] .coupons-search-input,
html[data-theme="dark"] .cart-flow-page .cart-stay-checkin,
html[data-theme="dark"] .cart-flow-page .cart-stay-checkout,
html[data-theme="dark"] .cart-flow-page #input_cupom {
  background-color: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .form-control:hover,
html[data-theme="dark"] .form-select:hover,
html[data-theme="dark"] .custom-select:hover {
  border-color: var(--colors-border-secondary);
  background-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] .custom-select:focus,
html[data-theme="dark"] .management-search-input:focus,
html[data-theme="dark"] .products-search-input:focus,
html[data-theme="dark"] .coupons-search-input:focus {
  background-color: var(--colors-surface-secondary);
  border-color: rgba(214, 181, 91, 0.62);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-focus-ring);
}

html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] .management-search-input::placeholder {
  color: var(--colors-text-muted);
}

html[data-theme="dark"] .form-control:disabled,
html[data-theme="dark"] .form-control[readonly],
html[data-theme="dark"] .form-select:disabled {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--colors-interactive-disabled);
}

html[data-theme="dark"] .form-control.is-invalid,
html[data-theme="dark"] .was-validated .form-control:invalid,
html[data-theme="dark"] .has-error .form-control {
  border-color: rgba(239, 124, 114, 0.78);
  box-shadow: 0 0 0 0.2rem rgba(239, 124, 114, 0.18);
}

html[data-theme="dark"] label,
html[data-theme="dark"] .form-label,
html[data-theme="dark"] .form-floating > label {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] select option {
  background: var(--colors-background-tertiary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .form-check-input {
  background-color: var(--colors-background-tertiary);
  border-color: var(--colors-border-secondary);
}

html[data-theme="dark"] .form-check-input:checked {
  background-color: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple {
  background: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice,
html[data-theme="dark"] .select2-container--default .select2-selection__placeholder {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single,
html[data-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: rgba(214, 181, 91, 0.62);
  box-shadow: var(--theme-focus-ring);
}

html[data-theme="dark"] .select2-container--default .select2-dropdown {
  background: var(--colors-surface-primary) !important;
  border-color: var(--colors-border-secondary);
  box-shadow: var(--theme-shadow-floating);
}

html[data-theme="dark"] .select2-container--default .select2-results__option {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(214, 181, 91, 0.12) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(214, 181, 91, 0.2) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .management-table,
html[data-theme="dark"] .private-links-table,
html[data-theme="dark"] table.dataTable,
html[data-theme="dark"] #table-logs {
  color: var(--colors-text-primary);
  background: transparent;
}

html[data-theme="dark"] .table thead th,
html[data-theme="dark"] .management-table thead th,
html[data-theme="dark"] .private-links-table th,
html[data-theme="dark"] table.dataTable thead th,
html[data-theme="dark"] #table-logs thead th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--colors-text-secondary);
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th,
html[data-theme="dark"] .management-table td,
html[data-theme="dark"] .management-table th,
html[data-theme="dark"] .private-links-table td,
html[data-theme="dark"] #table-logs td,
html[data-theme="dark"] #table-logs th {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd),
html[data-theme="dark"] .management-table tbody tr:nth-of-type(odd),
html[data-theme="dark"] .private-links-table tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .table-hover tbody tr:hover,
html[data-theme="dark"] .management-table tbody tr:hover,
html[data-theme="dark"] .private-links-table tbody tr:hover {
  background-color: rgba(214, 181, 91, 0.075);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .dataTables_wrapper .dataTables_length,
html[data-theme="dark"] .dataTables_wrapper .dataTables_filter,
html[data-theme="dark"] .dataTables_wrapper .dataTables_info,
html[data-theme="dark"] .dataTables_wrapper .dataTables_processing,
html[data-theme="dark"] .dataTables_wrapper .dataTables_paginate {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .dataTables_wrapper .dataTables_filter input,
html[data-theme="dark"] .dataTables_wrapper .dataTables_length select {
  background: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] table.dataTable span.highlight {
  background: rgba(214, 181, 91, 0.32);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .page-link,
html[data-theme="dark"] .pagination .page-link,
html[data-theme="dark"] .management-pagination-controls .btn-page {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .page-link:hover,
html[data-theme="dark"] .pagination .page-link:hover,
html[data-theme="dark"] .management-pagination-controls .btn-page:hover {
  background: rgba(214, 181, 91, 0.12);
  border-color: rgba(214, 181, 91, 0.34);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .page-item.active .page-link,
html[data-theme="dark"] .pagination .active .page-link,
html[data-theme="dark"] .management-pagination-controls .btn-page.active {
  background: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .page-item.disabled .page-link,
html[data-theme="dark"] .management-pagination-controls .btn-page:disabled {
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--colors-interactive-disabled);
}

html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .topbar-dark-dropdown,
html[data-theme="dark"] .dashboard-v2-topbar-dropdown {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-secondary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-floating);
}

html[data-theme="dark"] .dropdown-item,
html[data-theme="dark"] .topbar-dark-dropdown-item,
html[data-theme="dark"] .dashboard-v2-topbar .dropdown-item {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .topbar-dark-dropdown-item:hover,
html[data-theme="dark"] .topbar-dark-dropdown-item:focus {
  background: rgba(214, 181, 91, 0.12);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .dropdown-divider,
html[data-theme="dark"] .topbar-dark-dropdown-divider {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .modal-backdrop,
html[data-theme="dark"] .bg-glass {
  background: rgba(6, 12, 24, 0.72);
}

html[data-theme="dark"] .close,
html[data-theme="dark"] .btn-close {
  color: var(--colors-text-primary);
  opacity: 0.78;
  text-shadow: none;
}

html[data-theme="dark"] .nav-tabs {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .nav-tabs .nav-link,
html[data-theme="dark"] .nav-pills .nav-link,
html[data-theme="dark"] .profile-edit-page .profile-tabs .nav-link {
  background: transparent;
  border-color: transparent;
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .nav-tabs .nav-link:hover,
html[data-theme="dark"] .nav-pills .nav-link:hover,
html[data-theme="dark"] .profile-edit-page .profile-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .profile-edit-page .profile-tabs .nav-link.active {
  background: rgba(214, 181, 91, 0.16) !important;
  border-color: rgba(214, 181, 91, 0.34) !important;
  color: #f0d68a !important;
}

html[data-theme="dark"] .accordion,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .accordion-button,
html[data-theme="dark"] .ui-accordion .ui-accordion-header,
html[data-theme="dark"] .ui-accordion .ui-accordion-content {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .accordion-button:not(.collapsed),
html[data-theme="dark"] .ui-accordion .ui-accordion-header.ui-state-active {
  background: rgba(214, 181, 91, 0.12);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .tooltip-inner,
html[data-theme="dark"] .ui-tooltip {
  background: var(--colors-surface-secondary);
  border: 1px solid var(--colors-border-secondary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-floating);
}

html[data-theme="dark"] .bs-tooltip-auto[x-placement^="top"] .arrow::before,
html[data-theme="dark"] .bs-tooltip-top .arrow::before {
  border-top-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .bs-tooltip-auto[x-placement^="bottom"] .arrow::before,
html[data-theme="dark"] .bs-tooltip-bottom .arrow::before {
  border-bottom-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .bs-tooltip-auto[x-placement^="left"] .arrow::before,
html[data-theme="dark"] .bs-tooltip-left .arrow::before {
  border-left-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .bs-tooltip-auto[x-placement^="right"] .arrow::before,
html[data-theme="dark"] .bs-tooltip-right .arrow::before {
  border-right-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .alert {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .alert-success,
html[data-theme="dark"] .status-pill.success,
html[data-theme="dark"] .private-status.active {
  background: rgba(95, 210, 165, 0.13);
  border-color: rgba(95, 210, 165, 0.24);
  color: #8be7c0;
}

html[data-theme="dark"] .alert-warning,
html[data-theme="dark"] .status-pill.pending,
html[data-theme="dark"] .private-status.scheduled,
html[data-theme="dark"] .private-status.exhausted {
  background: rgba(240, 201, 109, 0.14);
  border-color: rgba(240, 201, 109, 0.28);
  color: #f3d98f;
}

html[data-theme="dark"] .alert-danger,
html[data-theme="dark"] .alert-error,
html[data-theme="dark"] .status-pill.canceled,
html[data-theme="dark"] .private-status.blocked {
  background: rgba(239, 124, 114, 0.14);
  border-color: rgba(239, 124, 114, 0.3);
  color: #f2a39c;
}

html[data-theme="dark"] .alert-info,
html[data-theme="dark"] .alert-light {
  background: rgba(103, 200, 216, 0.12);
  border-color: rgba(103, 200, 216, 0.24);
  color: #9adbe5;
}

html[data-theme="dark"] .badge,
html[data-theme="dark"] .dashboard-v2-status-badge,
html[data-theme="dark"] .mgmt-status-badge {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .badge-success,
html[data-theme="dark"] .text-success,
html[data-theme="dark"] .log-success {
  color: #8be7c0 !important;
}

html[data-theme="dark"] .badge-danger,
html[data-theme="dark"] .text-danger,
html[data-theme="dark"] .log-failure {
  color: #f2a39c !important;
}

html[data-theme="dark"] .text-primary,
html[data-theme="dark"] .badge-primary {
  color: #a9c9f4 !important;
}

html[data-theme="dark"] #toast-container > div {
  background-color: var(--colors-surface-secondary);
  border: 1px solid var(--colors-border-secondary);
  color: var(--colors-text-primary);
  border-radius: 12px;
  box-shadow: var(--theme-shadow-floating);
}

html[data-theme="dark"] #toast-container > div:hover {
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.52);
}

html[data-theme="dark"] #toast-container > .toast-success {
  background-color: #173d35;
}

html[data-theme="dark"] #toast-container > .toast-error {
  background-color: #42212a;
}

html[data-theme="dark"] #toast-container > .toast-info {
  background-color: #173547;
}

html[data-theme="dark"] #toast-container > .toast-warning {
  background-color: #44391f;
}

html[data-theme="dark"] .toast-close-button,
html[data-theme="dark"] .toast-message a,
html[data-theme="dark"] .toast-message label {
  color: var(--colors-text-primary);
  text-shadow: none;
}

html[data-theme="dark"] .toast-progress {
  background-color: rgba(255, 255, 255, 0.42);
}

html[data-theme="dark"] .ui-widget,
html[data-theme="dark"] .ui-widget-content,
html[data-theme="dark"] .ui-datepicker {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-secondary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .ui-widget-header,
html[data-theme="dark"] .ui-datepicker-header {
  background: var(--colors-surface-secondary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .ui-state-default,
html[data-theme="dark"] .ui-widget-content .ui-state-default {
  background: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .ui-state-hover,
html[data-theme="dark"] .ui-widget-content .ui-state-hover {
  background: rgba(214, 181, 91, 0.12);
  border-color: rgba(214, 181, 91, 0.28);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .ui-state-active,
html[data-theme="dark"] .ui-widget-content .ui-state-active {
  background: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .loader-container {
  background: rgba(6, 12, 24, 0.72);
}

html[data-theme="dark"] .loader {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .loader::after {
  border-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: #a9c9f4;
}

html[data-theme="dark"] .skeleton,
html[data-theme="dark"] .events-store-card-img-skeleton,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-img-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  background-size: 220% 100%;
}

html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .dataTables_empty,
html[data-theme="dark"] .events-store-empty,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-empty,
html[data-theme="dark"] body.events-marketplace-guest .events-store-empty,
html[data-theme="dark"] td.text-center.text-muted.py-5 {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .dashboard-v2-greeting,
html[data-theme="dark"] .dashboard-v2-buy-header,
html[data-theme="dark"] .dashboard-v2-quick-access,
html[data-theme="dark"] .dashboard-v2-quick-access-body,
html[data-theme="dark"] .dashboard-v2-admin-portal-inner {
  background: linear-gradient(180deg, var(--colors-surface-primary), rgba(31, 42, 61, 0.86));
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] .dashboard-v2-greeting h1,
html[data-theme="dark"] .dashboard-v2-buy-header .buy-title,
html[data-theme="dark"] .dashboard-v2-buy-kpi-copy strong,
html[data-theme="dark"] .dashboard-v2-event-title-main,
html[data-theme="dark"] .dashboard-v2-event-title-year,
html[data-theme="dark"] .dashboard-v2-event-card-body h3,
html[data-theme="dark"] .dashboard-v2-service-content h3,
html[data-theme="dark"] .dashboard-v2-future-item h3 {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .dashboard-v2-greeting p,
html[data-theme="dark"] .dashboard-v2-buy-header-main p,
html[data-theme="dark"] .dashboard-v2-buy-kpi-copy span,
html[data-theme="dark"] .dashboard-v2-event-meta,
html[data-theme="dark"] .dashboard-v2-future-item p {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .dashboard-v2-buy-signal {
  background:
    linear-gradient(90deg, var(--colors-brand-secondary) 0 7%, transparent 7% 7.8%),
    linear-gradient(90deg, transparent 0 23%, rgba(214, 181, 91, 0.4) 23% 23.35%, transparent 23.35% 49%),
    linear-gradient(90deg, transparent 0 58%, rgba(214, 181, 91, 0.42) 58% 64%, transparent 64% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

html[data-theme="dark"] .dashboard-v2-buy-kpi + .dashboard-v2-buy-kpi {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .dashboard-v2-action-card:hover,
html[data-theme="dark"] .dashboard-v2-service-card:hover,
html[data-theme="dark"] .dashboard-v2-nav-card:hover,
html[data-theme="dark"] .dv2-nav-card:hover {
  border-color: rgba(214, 181, 91, 0.36);
  box-shadow:
    0 20px 48px rgba(2, 6, 23, 0.42),
    0 0 0 1px rgba(214, 181, 91, 0.08);
}

html[data-theme="dark"] .dashboard-v2-action-card-icon,
html[data-theme="dark"] .dashboard-v2-service-icon,
html[data-theme="dark"] .dashboard-v2-nav-card-icon,
html[data-theme="dark"] .dv2-nav-card-icon,
html[data-theme="dark"] .metric-icon {
  background: rgba(214, 181, 91, 0.12);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .dashboard-v2-event-card {
  background: linear-gradient(180deg, #182236, #131d2e);
  border-color: var(--colors-border-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] .dashboard-v2-event-card > img,
html[data-theme="dark"] .confut-event-cover {
  background: var(--colors-background-tertiary);
}

html[data-theme="dark"] .dashboard-v2-event-title-year {
  background: rgba(214, 181, 91, 0.15);
  color: #f0d68a;
}

html[data-theme="dark"] .dashboard-v2-pill-button,
html[data-theme="dark"] .dashboard-v2-service-action {
  background: rgba(214, 181, 91, 0.14);
  border-color: rgba(214, 181, 91, 0.28);
  color: #f0d68a;
}

html[data-theme="dark"] .dashboard-v2-pill-button:hover,
html[data-theme="dark"] .dashboard-v2-service-action:hover {
  background: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .dashboard-v2-admin-portal {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .dashboard-v2-admin-portal-cta {
  background: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .status-chart {
  background: conic-gradient(#5fd2a5 0 55%, #f0c96d 55% 80%, #ef7c72 80% 100%);
}

html[data-theme="dark"] .status-chart span {
  background: var(--colors-surface-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .revenue-item .bar {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .revenue-item .bar span {
  background: var(--colors-brand-secondary);
}

html[data-theme="dark"] canvas {
  color-scheme: dark;
}

html[data-theme="dark"] .chartjs-render-monitor,
html[data-theme="dark"] .chart-container {
  background: transparent;
}

html[data-theme="dark"] .modern-login-card {
  background: linear-gradient(180deg, var(--colors-surface-primary), var(--colors-surface-secondary));
  border: 1px solid var(--colors-border-primary);
  box-shadow: var(--theme-shadow-floating);
}

html[data-theme="dark"] .modern-login-body,
html[data-theme="dark"] .modern-login-title,
html[data-theme="dark"] .modern-language-selector,
html[data-theme="dark"] .modern-language-selector a,
html[data-theme="dark"] .modern-login-links a {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .modern-login-terms {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .modern-input {
  background: var(--colors-background-tertiary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .modern-input:focus {
  border-color: rgba(214, 181, 91, 0.62);
  box-shadow: var(--theme-focus-ring);
}

html[data-theme="dark"] .modern-password-toggle,
html[data-theme="dark"] .modern-field .modern-icon,
html[data-theme="dark"] .modern-login-terms a,
html[data-theme="dark"] .modern-language-selector a.active,
html[data-theme="dark"] .modern-language-selector i {
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .modern-login-btn {
  background: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-page,
html[data-theme="dark"] body.route-events-marketplace .events-store-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(214, 181, 91, 0.07), transparent 30%),
    linear-gradient(180deg, var(--colors-background-secondary), var(--colors-background-primary));
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-container,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-container {
  background: transparent;
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-header,
html[data-theme="dark"] body.events-marketplace-guest .events-store-hero-panel,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(214, 181, 91, 0.12), transparent 34%),
    linear-gradient(135deg, #101a2c, #162032 56%, #1f2a3d);
  border: 1px solid var(--colors-border-primary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-title,
html[data-theme="dark"] body.events-marketplace-guest .events-store-hero-title,
html[data-theme="dark"] body.events-marketplace-guest .events-store-hero-stat-value,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-title,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-hero-stat-value {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-subtitle,
html[data-theme="dark"] body.events-marketplace-guest .events-store-hero-lead,
html[data-theme="dark"] body.events-marketplace-guest .events-store-hero-stat-label,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-subtitle,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-hero-stat-label {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] body.events-marketplace-guest a.events-store-card,
html[data-theme="dark"] body:not(.events-marketplace-guest) a.events-store-card {
  background: linear-gradient(180deg, var(--colors-surface-primary), #131d2e);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] body.events-marketplace-guest a.events-store-card:hover,
html[data-theme="dark"] body:not(.events-marketplace-guest) a.events-store-card:hover {
  border-color: rgba(214, 181, 91, 0.38);
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.48);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-card-title,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-title {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-card-meta-item,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-meta-item {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-card-kicker,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-kicker {
  background: rgba(255, 255, 255, 0.055);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-card-kicker--soft,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-kicker--soft {
  background: rgba(214, 181, 91, 0.13);
  color: #f0d68a;
}

html[data-theme="dark"] body.events-marketplace-guest .events-store-card-cta,
html[data-theme="dark"] body.events-marketplace-guest .events-store-empty-cta,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-card-cta,
html[data-theme="dark"] body:not(.events-marketplace-guest) .events-store-empty-cta {
  background: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
  color: #0b1220 !important;
}

html[data-theme="dark"] body.cart-flow-layout-active main#content.dashboard-content {
  background:
    radial-gradient(circle at 20% 0%, rgba(214, 181, 91, 0.07), transparent 30%),
    linear-gradient(180deg, var(--colors-background-secondary), var(--colors-background-primary));
}

html[data-theme="dark"] body.cart-flow-layout-active .cart-flow-card,
html[data-theme="dark"] .cart-flow-page .product-card,
html[data-theme="dark"] .cart-flow-page .checkout-summary,
html[data-theme="dark"] .cart-flow-page .stay-dates-block,
html[data-theme="dark"] .cart-flow-page .summary-line-item,
html[data-theme="dark"] .cart-flow-page .total-display {
  background: linear-gradient(180deg, var(--colors-surface-primary), #131d2e) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary);
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] .cart-flow-page .card-icon-header,
html[data-theme="dark"] .cart-flow-page .checkout-summary .card-header {
  background: var(--colors-background-tertiary) !important;
  color: var(--colors-text-primary) !important;
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .cart-flow-page .qty-container {
  background: var(--colors-background-tertiary) !important;
}

html[data-theme="dark"] .cart-flow-page .qty-input,
html[data-theme="dark"] .cart-flow-page .summary-line-item__meta,
html[data-theme="dark"] .cart-flow-page .summary-line-item__discount {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .cart-flow-page .total-display .h4,
html[data-theme="dark"] .cart-flow-page .total-display .h5,
html[data-theme="dark"] .cart-flow-page .summary-line-item__name {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .cart-flow-page #btnFinalizar,
html[data-theme="dark"] .cart-flow-page #btnAplicarCupom {
  background: var(--colors-brand-secondary) !important;
  border-color: var(--colors-brand-secondary) !important;
  color: #0b1220 !important;
}

html[data-theme="dark"] .private-product-row,
html[data-theme="dark"] .generated-url,
html[data-theme="dark"] .sync-stats-bar,
html[data-theme="dark"] #logs-container {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .private-product-name,
html[data-theme="dark"] .private-panel__title,
html[data-theme="dark"] .private-links-title {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .js-copy-private-link {
  color: var(--colors-brand-secondary);
  border-color: rgba(214, 181, 91, 0.45);
}

html[data-theme="dark"] .js-copy-private-link:hover,
html[data-theme="dark"] .js-copy-private-link:focus {
  background: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .slider {
  background-color: var(--colors-surface-secondary);
}

html[data-theme="dark"] .slider::before {
  background-color: var(--colors-text-secondary);
}

html[data-theme="dark"] input:checked + .slider {
  background-color: rgba(95, 210, 165, 0.74);
}

html[data-theme="dark"] .management-action-bar,
html[data-theme="dark"] .products-toolbar,
html[data-theme="dark"] .coupons-toolbar,
html[data-theme="dark"] .credentials-alert {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .management-pagination,
html[data-theme="dark"] .management-pagination-info {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light {
  background-color: var(--colors-surface-primary) !important;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-left,
html[data-theme="dark"] .border-right {
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] hr {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] img.user-avatar-img,
html[data-theme="dark"] .avatar,
html[data-theme="dark"] .avatar-fallback,
html[data-theme="dark"] .avatar-fallback-inline {
  border-color: var(--colors-border-secondary);
}

html[data-theme="dark"] .coupons-page-header,
html[data-theme="dark"] .params-page-header,
html[data-theme="dark"] .companies-page-header,
html[data-theme="dark"] .management-page-header,
html[data-theme="dark"] .exec-header {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .coupons-page-title,
html[data-theme="dark"] .params-page-title,
html[data-theme="dark"] .companies-page-title,
html[data-theme="dark"] .activate-title,
html[data-theme="dark"] .credentials-alert strong,
html[data-theme="dark"] .confut-page-title,
html[data-theme="dark"] .exec-title,
html[data-theme="dark"] .exec-section-title,
html[data-theme="dark"] .exec-value,
html[data-theme="dark"] .exec-dist-item b {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .coupons-page-subtitle,
html[data-theme="dark"] .params-page-subtitle,
html[data-theme="dark"] .companies-page-subtitle,
html[data-theme="dark"] .confut-page-subtitle,
html[data-theme="dark"] .exec-subtitle,
html[data-theme="dark"] .exec-section-subtitle,
html[data-theme="dark"] .exec-help,
html[data-theme="dark"] .exec-chart-legend,
html[data-theme="dark"] .exec-dist-item span,
html[data-theme="dark"] .exec-footer,
html[data-theme="dark"] .exec-footer a {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .coupons-card,
html[data-theme="dark"] .params-card,
html[data-theme="dark"] .companies-card,
html[data-theme="dark"] .credentials-page .credentials-card,
html[data-theme="dark"] .credentials-page .credentials-alert,
html[data-theme="dark"] .activate-page .activate-card,
html[data-theme="dark"] .activate-page .border.rounded,
html[data-theme="dark"] .exec-card,
html[data-theme="dark"] .exec-range-menu,
html[data-theme="dark"] .exec-search,
html[data-theme="dark"] .exec-event-select {
  background: linear-gradient(180deg, var(--colors-surface-primary), #131d2e) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary) !important;
  box-shadow: var(--theme-shadow-card);
}

html[data-theme="dark"] .coupons-action-bar,
html[data-theme="dark"] .params-action-bar,
html[data-theme="dark"] .companies-action-bar,
html[data-theme="dark"] .coupons-bulk-toolbar,
html[data-theme="dark"] #companiesBulkToolbar,
html[data-theme="dark"] #registrationsBulkToolbar,
html[data-theme="dark"] #sponsorsBulkToolbar,
html[data-theme="dark"] .products-bulk-toolbar {
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .coupons-table,
html[data-theme="dark"] .params-table,
html[data-theme="dark"] .companies-table,
html[data-theme="dark"] .exec-table,
html[data-theme="dark"] .credentials-page .participants-table {
  color: var(--colors-text-primary);
  background: transparent;
}

html[data-theme="dark"] .coupons-table thead th,
html[data-theme="dark"] .params-table thead th,
html[data-theme="dark"] .companies-table thead th,
html[data-theme="dark"] .exec-table th,
html[data-theme="dark"] .credentials-page #myaccreditationsTableActive thead th,
html[data-theme="dark"] .credentials-page #myaccreditationsTableInactive thead th,
html[data-theme="dark"] .credentials-page .participants-table thead th,
html[data-theme="dark"] .activate-page .table thead th {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .coupons-table tbody tr,
html[data-theme="dark"] .params-table tbody tr,
html[data-theme="dark"] .companies-table tbody tr,
html[data-theme="dark"] .exec-table td,
html[data-theme="dark"] .credentials-page .participants-table tbody tr,
html[data-theme="dark"] .credentials-page .participants-table tbody td,
html[data-theme="dark"] .activate-page .table tbody td {
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .coupons-table tbody tr:hover,
html[data-theme="dark"] .params-table tbody tr:hover,
html[data-theme="dark"] .companies-table tbody tr:hover,
html[data-theme="dark"] .exec-table tr:hover td,
html[data-theme="dark"] .credentials-page .participants-table.table-hover > tbody > tr:hover > * {
  background: rgba(214, 181, 91, 0.075) !important;
}

html[data-theme="dark"] .coupons-table tbody tr.is-selected,
html[data-theme="dark"] .coupons-table tbody tr[style*="rgba(214,170,64"],
html[data-theme="dark"] .params-table tbody tr[style*="rgba(214,170,64"],
html[data-theme="dark"] .companies-table tbody tr[style*="rgba(214,170,64"] {
  background: rgba(214, 181, 91, 0.12) !important;
}

html[data-theme="dark"] .coupons-status-tabs {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .coupons-status-tabs .ctab-link {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .coupons-status-tabs .ctab-link:hover,
html[data-theme="dark"] .coupons-status-tabs .ctab-link.active {
  color: var(--colors-brand-secondary);
  border-bottom-color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .coupons-pagination,
html[data-theme="dark"] .params-pagination,
html[data-theme="dark"] .companies-pagination {
  border-color: var(--colors-border-primary);
}

html[data-theme="dark"] .coupons-pagination-info,
html[data-theme="dark"] .params-pagination-info,
html[data-theme="dark"] .companies-pagination-info {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .coupons-pagination-controls .btn-page,
html[data-theme="dark"] .params-pagination-controls .btn-page,
html[data-theme="dark"] .companies-pagination-controls .btn-page {
  background: var(--colors-surface-primary);
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .coupons-pagination-controls .btn-page:hover,
html[data-theme="dark"] .params-pagination-controls .btn-page:hover,
html[data-theme="dark"] .companies-pagination-controls .btn-page:hover {
  background: rgba(214, 181, 91, 0.12);
  border-color: rgba(214, 181, 91, 0.34);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .coupons-pagination-controls .btn-page.active,
html[data-theme="dark"] .params-pagination-controls .btn-page.active,
html[data-theme="dark"] .companies-pagination-controls .btn-page.active {
  background: var(--colors-brand-secondary);
  border-color: var(--colors-brand-secondary);
  color: #0b1220;
}

html[data-theme="dark"] .coupons-empty-state,
html[data-theme="dark"] .params-empty-state,
html[data-theme="dark"] .companies-empty-state {
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .params-table .param-icon,
html[data-theme="dark"] .params-table .param-type-badge,
html[data-theme="dark"] .exec-pill,
html[data-theme="dark"] .exec-icon,
html[data-theme="dark"] .exec-dot,
html[data-theme="dark"] .credentials-page #myaccreditationsTableActive code,
html[data-theme="dark"] .credentials-page #myaccreditationsTableInactive code,
html[data-theme="dark"] .credentials-page .btn-close-custom {
  background: rgba(214, 181, 91, 0.12) !important;
  color: #f0d68a !important;
  border-color: rgba(214, 181, 91, 0.24) !important;
}

html[data-theme="dark"] .params-table .param-name,
html[data-theme="dark"] .params-table .param-date,
html[data-theme="dark"] .credentials-page .participants-table .participant-cell-strong,
html[data-theme="dark"] .activate-page .form-check-label,
html[data-theme="dark"] .activate-page .form-label {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-cell-muted {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-status-pill.is-active {
  background: rgba(95, 210, 165, 0.13);
  color: #8be7c0;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-status-pill.is-inactive {
  background: rgba(239, 124, 114, 0.14);
  color: #f2a39c;
}

html[data-theme="dark"] .credentials-page .badge.bg-success {
  background-color: rgba(95, 210, 165, 0.16) !important;
  color: #8be7c0;
}

html[data-theme="dark"] .credentials-page .badge.bg-warning {
  background-color: rgba(240, 201, 109, 0.16) !important;
  color: #f3d98f !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-primary,
html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-secondary {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-danger {
  background: rgba(239, 124, 114, 0.1);
  border-color: rgba(239, 124, 114, 0.28);
  color: #f2a39c;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-success {
  background: rgba(95, 210, 165, 0.1);
  border-color: rgba(95, 210, 165, 0.28);
  color: #8be7c0;
}

html[data-theme="dark"] .activate-page {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .activate-page .activate-back {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .activate-page .activate-back:hover {
  background: rgba(214, 181, 91, 0.12);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .activate-page .mustard-detail {
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .exec-dashboard-wrap,
html[data-theme="dark"] .exec-dashboard {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .exec-btn,
html[data-theme="dark"] .exec-range-item,
html[data-theme="dark"] .exec-kebab {
  border-color: var(--colors-border-primary);
  color: var(--colors-text-secondary);
}

html[data-theme="dark"] .exec-btn:hover,
html[data-theme="dark"] .exec-range-item:hover,
html[data-theme="dark"] .exec-range-item.active,
html[data-theme="dark"] .exec-kebab:hover {
  background: rgba(214, 181, 91, 0.12);
  color: var(--colors-brand-secondary);
}

html[data-theme="dark"] .exec-search input {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .exec-search input::placeholder {
  color: var(--colors-text-muted);
}

html[data-theme="dark"] .exec-progress-bar {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .exec-progress-bar span {
  background: var(--colors-brand-secondary);
}

html[data-theme="dark"] .exec-donut {
  background:
    conic-gradient(var(--colors-brand-secondary), rgba(136, 174, 225, 0.82), rgba(255, 255, 255, 0.1));
}

html[data-theme="dark"] .exec-donut-center {
  background: var(--colors-surface-primary);
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .exec-donut-center strong {
  color: rgba(255, 255, 255, 0.94) !important;
}

html[data-theme="dark"] #execChartPreviousLine {
  stroke: rgba(214, 181, 91, 0.36) !important;
}

html[data-theme="dark"] #execChartCurrentLine {
  stroke: rgba(255, 255, 255, 0.86) !important;
}

html[data-theme="dark"] .exec-chart-svg line {
  stroke: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] #execChartGradient stop:first-child {
  stop-color: rgba(214, 181, 91, 0.2);
}

html[data-theme="dark"] #execChartGradient stop:last-child {
  stop-color: rgba(214, 181, 91, 0);
}

/* Legacy module hardening: keeps per-view light CSS intact while tokenizing dark mode. */
html[data-theme="dark"] .events-page-header,
html[data-theme="dark"] .products-page-header,
html[data-theme="dark"] .roles-page-header,
html[data-theme="dark"] .vouchers-page-header,
html[data-theme="dark"] .blocked-access-footer {
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] .events-page-title,
html[data-theme="dark"] .products-page-title,
html[data-theme="dark"] .roles-page-title,
html[data-theme="dark"] .vouchers-page-title,
html[data-theme="dark"] .logout-title,
html[data-theme="dark"] .blocked-access-title,
html[data-theme="dark"] .modern-recover-title,
html[data-theme="dark"] .premium-create-col .premium-login-title,
html[data-theme="dark"] .premium-login-info-title,
html[data-theme="dark"] .match-item-title,
html[data-theme="dark"] .schedule-note-title,
html[data-theme="dark"] .suggest-overlay-title,
html[data-theme="dark"] .match-limit-toast-title {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .events-page-subtitle,
html[data-theme="dark"] .products-page-subtitle,
html[data-theme="dark"] .roles-page-subtitle,
html[data-theme="dark"] .vouchers-page-subtitle,
html[data-theme="dark"] .logout-message,
html[data-theme="dark"] .logout-invite,
html[data-theme="dark"] .logout-secondary,
html[data-theme="dark"] .blocked-access-copy,
html[data-theme="dark"] .blocked-access-retry,
html[data-theme="dark"] .blocked-language-label,
html[data-theme="dark"] .modern-recover-subtitle,
html[data-theme="dark"] .premium-create-form .premium-floating > label,
html[data-theme="dark"] .premium-create-body .premium-login-terms,
html[data-theme="dark"] .schedule-note-text,
html[data-theme="dark"] .schedule-suggest-text,
html[data-theme="dark"] .suggest-overlay-text,
html[data-theme="dark"] .match-limit-toast-text {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .events-card,
html[data-theme="dark"] .products-card,
html[data-theme="dark"] .roles-card,
html[data-theme="dark"] .vouchers-card,
html[data-theme="dark"] .management-secondary-card,
html[data-theme="dark"] .modern-recover-card,
html[data-theme="dark"] .premium-create-col .premium-login-card,
html[data-theme="dark"] .premium-login-info-card,
html[data-theme="dark"] .logout-card,
html[data-theme="dark"] .blocked-access-card,
html[data-theme="dark"] .suggest-overlay-card,
html[data-theme="dark"] .match-limit-toast,
html[data-theme="dark"] .match-item {
  background: linear-gradient(180deg, var(--colors-surface-primary), #131d2e) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary) !important;
  box-shadow: var(--theme-shadow-card) !important;
}

html[data-theme="dark"] .events-action-bar,
html[data-theme="dark"] .products-action-bar,
html[data-theme="dark"] .roles-action-bar,
html[data-theme="dark"] .vouchers-action-bar,
html[data-theme="dark"] .events-bulk-toolbar,
html[data-theme="dark"] .products-bulk-toolbar,
html[data-theme="dark"] .premium-create-body,
html[data-theme="dark"] .modern-recover-body,
html[data-theme="dark"] .logout-card-body,
html[data-theme="dark"] .blocked-access-body {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .events-search-input,
html[data-theme="dark"] .roles-search-input,
html[data-theme="dark"] .vouchers-search-input,
html[data-theme="dark"] .premium-create-form .form-control,
html[data-theme="dark"] .modern-recover-input {
  background-color: var(--colors-background-tertiary) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .events-search-input:focus,
html[data-theme="dark"] .roles-search-input:focus,
html[data-theme="dark"] .vouchers-search-input:focus,
html[data-theme="dark"] .premium-create-form .form-control:focus,
html[data-theme="dark"] .modern-recover-input:focus {
  background-color: var(--colors-surface-secondary) !important;
  border-color: rgba(214, 181, 91, 0.62) !important;
  box-shadow: var(--theme-focus-ring) !important;
}

html[data-theme="dark"] .events-table,
html[data-theme="dark"] .products-table,
html[data-theme="dark"] .roles-table,
html[data-theme="dark"] .vouchers-table {
  background: transparent !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .events-table thead th,
html[data-theme="dark"] .products-table thead th,
html[data-theme="dark"] .roles-table thead th,
html[data-theme="dark"] .vouchers-table thead th {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .events-table tbody tr,
html[data-theme="dark"] .products-table tbody tr,
html[data-theme="dark"] .roles-table tbody tr,
html[data-theme="dark"] .vouchers-table tbody tr {
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] .events-table tbody tr:nth-of-type(odd),
html[data-theme="dark"] .products-table tbody tr:nth-of-type(odd),
html[data-theme="dark"] .roles-table tbody tr:nth-of-type(odd),
html[data-theme="dark"] .vouchers-table tbody tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.022) !important;
}

html[data-theme="dark"] .events-table tbody tr:hover,
html[data-theme="dark"] .products-table tbody tr:hover,
html[data-theme="dark"] .roles-table tbody tr:hover,
html[data-theme="dark"] .vouchers-table tbody tr:hover {
  background: rgba(214, 181, 91, 0.075) !important;
}

html[data-theme="dark"] .events-table tbody tr.is-selected,
html[data-theme="dark"] .products-table tbody tr.is-selected,
html[data-theme="dark"] .events-table tbody tr[style*="rgba(214,170,64"],
html[data-theme="dark"] .products-table tbody tr[style*="rgba(214,170,64"],
html[data-theme="dark"] .registrations-row-checkbox:checked,
html[data-theme="dark"] .sponsors-row-checkbox:checked {
  background: rgba(214, 181, 91, 0.12) !important;
}

html[data-theme="dark"] .events-table tbody td,
html[data-theme="dark"] .products-table tbody td,
html[data-theme="dark"] .roles-table tbody td,
html[data-theme="dark"] .vouchers-table tbody td {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .events-pagination,
html[data-theme="dark"] .products-pagination,
html[data-theme="dark"] .roles-pagination,
html[data-theme="dark"] .vouchers-pagination,
html[data-theme="dark"] .vouchers-status-tabs {
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] .events-pagination-info,
html[data-theme="dark"] .products-pagination-info,
html[data-theme="dark"] .roles-pagination-info,
html[data-theme="dark"] .vouchers-pagination-info,
html[data-theme="dark"] .vouchers-status-tabs .vtab-link {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .events-pagination-controls .btn-page,
html[data-theme="dark"] .products-pagination-controls .btn-page,
html[data-theme="dark"] .roles-pagination-controls .btn-page,
html[data-theme="dark"] .vouchers-pagination-controls .btn-page,
html[data-theme="dark"] .blocked-language-link {
  background: var(--colors-surface-primary) !important;
  border-color: var(--colors-border-primary) !important;
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .events-pagination-controls .btn-page:hover,
html[data-theme="dark"] .products-pagination-controls .btn-page:hover,
html[data-theme="dark"] .roles-pagination-controls .btn-page:hover,
html[data-theme="dark"] .vouchers-pagination-controls .btn-page:hover,
html[data-theme="dark"] .blocked-language-link:hover,
html[data-theme="dark"] .vouchers-status-tabs .vtab-link:hover,
html[data-theme="dark"] .vouchers-status-tabs .vtab-link.active {
  background: rgba(214, 181, 91, 0.12) !important;
  border-color: rgba(214, 181, 91, 0.34) !important;
  color: var(--colors-brand-secondary) !important;
}

html[data-theme="dark"] .events-pagination-controls .btn-page.active,
html[data-theme="dark"] .products-pagination-controls .btn-page.active,
html[data-theme="dark"] .roles-pagination-controls .btn-page.active,
html[data-theme="dark"] .vouchers-pagination-controls .btn-page.active,
html[data-theme="dark"] .blocked-language-link.is-active {
  background: var(--colors-brand-secondary) !important;
  border-color: var(--colors-brand-secondary) !important;
  color: #0b1220 !important;
}

html[data-theme="dark"] .events-empty-state,
html[data-theme="dark"] .products-empty-state,
html[data-theme="dark"] .roles-empty-state,
html[data-theme="dark"] .vouchers-empty-state {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] [style*="color:#9a6f00"],
html[data-theme="dark"] [style*="color: #9a6f00"],
html[data-theme="dark"] [style*="color:#8a6300"],
html[data-theme="dark"] [style*="color: #8a6300"],
html[data-theme="dark"] .premium-create-form .premium-password-toggle,
html[data-theme="dark"] .premium-create-form .premium-password-toggle i,
html[data-theme="dark"] .modern-recover-icon,
html[data-theme="dark"] .modern-language-selector i,
html[data-theme="dark"] .modern-language-selector a.active,
html[data-theme="dark"] .premium-create-body .premium-language-selector i,
html[data-theme="dark"] .premium-create-body .premium-language-selector a.active,
html[data-theme="dark"] .logout-primary-btn i,
html[data-theme="dark"] .blocked-access-retry a {
  color: var(--colors-brand-secondary) !important;
}

html[data-theme="dark"] [style*="background:rgba(10,38,71"],
html[data-theme="dark"] [style*="background: rgba(10, 38, 71"],
html[data-theme="dark"] [style*="background:rgba(var(--azul-escuro)"],
html[data-theme="dark"] [style*="background: rgba(var(--azul-escuro)"] {
  background: rgba(255, 255, 255, 0.055) !important;
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] [style*="background:rgba(214,170,64"],
html[data-theme="dark"] [style*="background: rgba(214, 170, 64"],
html[data-theme="dark"] [style*="background:rgba(154, 111, 0"],
html[data-theme="dark"] [style*="background: rgba(154, 111, 0"] {
  background: rgba(214, 181, 91, 0.14) !important;
  color: var(--colors-brand-secondary) !important;
}

html[data-theme="dark"] .premium-create-body .premium-divider,
html[data-theme="dark"] .blocked-access-footer,
html[data-theme="dark"] .logout-card::before {
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] .premium-create-body .premium-login-links a,
html[data-theme="dark"] .premium-create-body .premium-language-selector a,
html[data-theme="dark"] .modern-recover-links a,
html[data-theme="dark"] .modern-language-selector a {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .premium-create-btn,
html[data-theme="dark"] .modern-recover-btn,
html[data-theme="dark"] .logout-primary-btn,
html[data-theme="dark"] .blocked-access-login {
  background: linear-gradient(135deg, var(--colors-brand-secondary), #f0d68a) !important;
  border-color: rgba(214, 181, 91, 0.6) !important;
  color: #0b1220 !important;
  box-shadow: 0 14px 30px rgba(214, 181, 91, 0.22) !important;
}

html[data-theme="dark"] .logout-badge,
html[data-theme="dark"] .blocked-access-kicker,
html[data-theme="dark"] .schedule-icon,
html[data-theme="dark"] .match-limit-toast-icon {
  background: rgba(214, 181, 91, 0.14) !important;
  border-color: rgba(214, 181, 91, 0.26) !important;
  color: var(--colors-brand-secondary) !important;
}

html[data-theme="dark"] .logout-gold-divider {
  background: linear-gradient(90deg, rgba(214, 181, 91, 0.12), var(--colors-brand-secondary), rgba(214, 181, 91, 0.12)) !important;
  box-shadow: 0 8px 20px rgba(214, 181, 91, 0.22) !important;
}

html[data-theme="dark"] .public-blocked-page {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .suggest-overlay {
  background: rgba(2, 6, 23, 0.62) !important;
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .suggest-check-circle,
html[data-theme="dark"] .suggest-check-mark {
  stroke: var(--colors-feedback-success);
}

html[data-theme="dark"] .suggest-overlay.error .suggest-check-circle,
html[data-theme="dark"] .suggest-overlay.error .suggest-check-mark {
  stroke: var(--colors-feedback-error);
}

html[data-theme="dark"] .match-limit-toast {
  border-left-color: var(--colors-feedback-warning) !important;
}

html[data-theme="dark"] .match-limit-toast .suggest-check-circle,
html[data-theme="dark"] .match-limit-toast .suggest-check-mark {
  stroke: var(--colors-feedback-warning);
}

html[data-theme="dark"] #logs-container {
  background: var(--colors-surface-primary) !important;
  border-color: var(--colors-border-primary) !important;
}

html[data-theme="dark"] #table-logs thead th {
  background: var(--colors-surface-secondary) !important;
  box-shadow: 0 2px 2px -1px rgba(2, 6, 23, 0.4) !important;
}

html[data-theme="dark"] .sync-status-msg,
html[data-theme="dark"] .sync-stats-bar {
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .log-success {
  color: var(--colors-feedback-success) !important;
}

html[data-theme="dark"] .log-failure {
  color: var(--colors-feedback-error) !important;
}

/* Dark dashboard: remove the lighter blue outlines from the main canvas. */
html[data-theme="dark"] .dashboard-v2-greeting,
html[data-theme="dark"] .dashboard-v2-buy-header,
html[data-theme="dark"] .dashboard-v2-quick-access,
html[data-theme="dark"] .dashboard-v2-quick-access-body,
html[data-theme="dark"] .dashboard-v2-nav-category,
html[data-theme="dark"] .dashboard-v2-section-head {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .dashboard-v2-nav-category-title,
html[data-theme="dark"] .dashboard-v2-buy-kpi + .dashboard-v2-buy-kpi {
  border-color: transparent !important;
}

html[data-theme="dark"] .dashboard-v2-nav-card {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .dashboard-v2-nav-card:hover,
html[data-theme="dark"] .dashboard-v2-nav-card:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .dashboard-v2-nav-card:focus-visible {
  outline: 2px solid rgba(214, 181, 91, 0.42);
  outline-offset: 2px;
}

/* $impeccable colorize: executive dashboard only, dark theme. */
html[data-theme="dark"] .exec-dashboard-wrap {
  --exec-gold: #d6b55b;
  --exec-gold: oklch(78% 0.12 86);
  --exec-blue: #88aee1;
  --exec-blue: oklch(74% 0.105 251);
  --exec-emerald: #5fd2a5;
  --exec-emerald: oklch(76% 0.12 160);
  --exec-coral: #ef7c72;
  --exec-coral: oklch(72% 0.13 29);
  --exec-gold-rgb: 214, 181, 91;
  --exec-blue-rgb: 136, 174, 225;
  --exec-emerald-rgb: 95, 210, 165;
  --exec-coral-rgb: 239, 124, 114;
  background:
    radial-gradient(circle at 16% 3%, rgba(var(--exec-gold-rgb), 0.11), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(var(--exec-blue-rgb), 0.12), transparent 34%),
    radial-gradient(circle at 62% 92%, rgba(var(--exec-emerald-rgb), 0.07), transparent 38%),
    var(--colors-background-primary);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-dashboard {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-title {
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: 0 14px 42px rgba(2, 6, 23, 0.32);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-subtitle {
  color: rgba(255, 255, 255, 0.68) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-card,
html[data-theme="dark"] .exec-dashboard-wrap .exec-range-menu,
html[data-theme="dark"] .exec-dashboard-wrap .exec-search,
html[data-theme="dark"] .exec-dashboard-wrap .exec-event-select {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--exec-card-rgb, var(--exec-blue-rgb)), 0.105), transparent 34%),
    linear-gradient(180deg, rgba(22, 32, 50, 0.96), rgba(17, 24, 39, 0.9)) !important;
  border-color: rgba(255, 255, 255, 0.075) !important;
  box-shadow:
    0 18px 46px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--exec-card-rgb, var(--exec-gold-rgb)), 0.26) !important;
  box-shadow:
    0 24px 58px rgba(2, 6, 23, 0.42),
    0 0 0 1px rgba(var(--exec-card-rgb, var(--exec-gold-rgb)), 0.12),
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-bento-grid > .exec-card:nth-child(1) {
  --exec-card-rgb: var(--exec-gold-rgb);
  --exec-card-accent: var(--exec-gold);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-bento-grid > .exec-card:nth-child(2) {
  --exec-card-rgb: var(--exec-emerald-rgb);
  --exec-card-accent: var(--exec-emerald);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-bento-grid > .exec-card:nth-child(3) {
  --exec-card-rgb: var(--exec-blue-rgb);
  --exec-card-accent: var(--exec-blue);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-bento-grid > .exec-card:nth-child(4) {
  --exec-card-rgb: var(--exec-coral-rgb);
  --exec-card-accent: var(--exec-coral);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-bento-grid > .exec-card:nth-child(n+5) {
  --exec-card-rgb: var(--exec-blue-rgb);
  --exec-card-accent: var(--exec-blue);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-icon,
html[data-theme="dark"] .exec-dashboard-wrap .exec-icon[style] {
  background: rgba(var(--exec-card-rgb, var(--exec-gold-rgb)), 0.16) !important;
  color: var(--exec-card-accent, var(--exec-gold)) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--exec-card-rgb, var(--exec-gold-rgb)), 0.16);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-pill {
  background: transparent !important;
  color: var(--exec-card-accent, var(--exec-gold)) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-help i {
  color: var(--exec-card-accent, var(--exec-gold));
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-btn,
html[data-theme="dark"] .exec-dashboard-wrap .exec-range-item,
html[data-theme="dark"] .exec-dashboard-wrap .exec-kebab {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-btn:hover,
html[data-theme="dark"] .exec-dashboard-wrap .exec-range-item:hover,
html[data-theme="dark"] .exec-dashboard-wrap .exec-kebab:hover {
  background: rgba(var(--exec-blue-rgb), 0.11);
  color: var(--exec-blue);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-range-item.active {
  background: rgba(var(--exec-gold-rgb), 0.14);
  color: var(--exec-gold);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-range-item small {
  color: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-chart-svg {
  background:
    radial-gradient(circle at 14% 16%, rgba(var(--exec-blue-rgb), 0.16), transparent 24%),
    rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(var(--exec-blue-rgb), 0.16) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap #execChartCurrentLine {
  stroke: var(--exec-blue) !important;
  filter: drop-shadow(0 0 8px rgba(var(--exec-blue-rgb), 0.28));
}

html[data-theme="dark"] .exec-dashboard-wrap #execChartPreviousLine {
  stroke: rgba(var(--exec-gold-rgb), 0.46) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-chart-svg line {
  stroke: rgba(255, 255, 255, 0.09) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap #execChartGradient stop:first-child {
  stop-color: rgba(var(--exec-blue-rgb), 0.22);
}

html[data-theme="dark"] .exec-dashboard-wrap #execChartGradient stop:last-child {
  stop-color: rgba(var(--exec-blue-rgb), 0);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-card [style*="display:inline-flex"][style*="border-radius:999px"] {
  background: rgba(var(--exec-blue-rgb), 0.12) !important;
  color: rgba(230, 238, 249, 0.9) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--exec-blue-rgb), 0.13);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-card [style*="display:inline-flex"][style*="border-radius:999px"] + span,
html[data-theme="dark"] .exec-dashboard-wrap .exec-card [style*="display:inline-flex"][style*="border-radius:999px"] span[style*="width:8px"] {
  background: var(--exec-blue) !important;
  box-shadow: 0 0 0 2px rgba(var(--exec-blue-rgb), 0.18) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-donut {
  border: 0 !important;
  background:
    conic-gradient(
      from 214deg,
      var(--exec-gold) 0 44%,
      var(--exec-blue) 44% 75%,
      var(--exec-emerald) 75% 100%
    ) !important;
  box-shadow:
    inset 0 0 0 22px rgba(11, 18, 32, 0.64),
    0 22px 52px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-donut::before {
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-left-color: transparent !important;
  border-bottom-color: transparent !important;
  border-top-color: transparent !important;
  opacity: 0.34;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-donut-center {
  min-width: 116px;
  min-height: 116px;
  border-radius: 999px;
  display: grid;
  place-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-dot {
  background: var(--exec-gold) !important;
  box-shadow: 0 0 0 4px rgba(var(--exec-gold-rgb), 0.1);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-dot--alt {
  background: var(--exec-blue) !important;
  box-shadow: 0 0 0 4px rgba(var(--exec-blue-rgb), 0.1);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-dot--muted {
  background: var(--exec-emerald) !important;
  box-shadow: 0 0 0 4px rgba(var(--exec-emerald-rgb), 0.1);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-progress-bar {
  background: rgba(255, 255, 255, 0.075);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-progress-bar > span {
  background: linear-gradient(90deg, var(--exec-emerald), var(--exec-gold));
  box-shadow: 0 0 18px rgba(var(--exec-emerald-rgb), 0.22);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-table tr:hover td {
  background: rgba(var(--exec-blue-rgb), 0.075) !important;
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-footer {
  border-color: rgba(var(--exec-gold-rgb), 0.12);
}

html[data-theme="dark"] .exec-dashboard-wrap .exec-footer a:hover {
  color: var(--exec-gold) !important;
}

/* $impeccable colorize: management tables, dark theme only. */
html[data-theme="dark"] .management-card:has(#salesTable),
html[data-theme="dark"] .management-card:has(#purchasesTable),
html[data-theme="dark"] .card:has(#purchasesDetailTable) {
  --table-accent: oklch(78% 0.105 87);
  --table-accent-rgb: 214, 181, 91;
}

html[data-theme="dark"] .management-card:has(#registrationsTable),
html[data-theme="dark"] .management-card:has(#myregistrationsTable),
html[data-theme="dark"] .management-card:has(#schedulesTable) {
  --table-accent: oklch(78% 0.105 162);
  --table-accent-rgb: 95, 210, 165;
}

html[data-theme="dark"] .management-card:has(#accreditationsTable),
html[data-theme="dark"] .credentials-page .management-card:has(#myaccreditationsTableActive),
html[data-theme="dark"] .credentials-page .management-card:has(#myaccreditationsTableInactive),
html[data-theme="dark"] .card:has(#usersTable),
html[data-theme="dark"] .card:has(#table-logs) {
  --table-accent: oklch(76% 0.08 250);
  --table-accent-rgb: 136, 174, 225;
}

html[data-theme="dark"] .management-card:has(#guestsTable) {
  --table-accent: oklch(74% 0.095 31);
  --table-accent-rgb: 239, 124, 114;
}

html[data-theme="dark"] .management-card:has(#sponsorsTable) {
  --table-accent: oklch(78% 0.105 87);
  --table-accent-rgb: 214, 181, 91;
}

html[data-theme="dark"] #salesTable,
html[data-theme="dark"] #purchasesTable,
html[data-theme="dark"] #purchasesDetailTable {
  --table-accent: oklch(78% 0.105 87);
  --table-accent-rgb: 214, 181, 91;
}

html[data-theme="dark"] #registrationsTable,
html[data-theme="dark"] #myregistrationsTable,
html[data-theme="dark"] #schedulesTable {
  --table-accent: oklch(78% 0.105 162);
  --table-accent-rgb: 95, 210, 165;
}

html[data-theme="dark"] #accreditationsTable,
html[data-theme="dark"] #myaccreditationsTableActive,
html[data-theme="dark"] #myaccreditationsTableInactive,
html[data-theme="dark"] #usersTable,
html[data-theme="dark"] #table-logs {
  --table-accent: oklch(76% 0.08 250);
  --table-accent-rgb: 136, 174, 225;
}

html[data-theme="dark"] #guestsTable {
  --table-accent: oklch(74% 0.095 31);
  --table-accent-rgb: 239, 124, 114;
}

html[data-theme="dark"] #sponsorsTable {
  --table-accent: oklch(78% 0.105 87);
  --table-accent-rgb: 214, 181, 91;
}

html[data-theme="dark"] :is(
  .management-card:has(#salesTable),
  .management-card:has(#registrationsTable),
  .management-card:has(#guestsTable),
  .management-card:has(#accreditationsTable),
  .management-card:has(#sponsorsTable),
  .management-card:has(#schedulesTable),
  .management-card:has(#myregistrationsTable),
  .credentials-page .management-card:has(#myaccreditationsTableActive),
  .credentials-page .management-card:has(#myaccreditationsTableInactive),
  .management-card:has(#purchasesTable),
  .card:has(#purchasesDetailTable),
  .card:has(#usersTable),
  .card:has(#table-logs)
) {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--table-accent-rgb), 0.105), transparent 30%),
    linear-gradient(180deg, rgba(22, 32, 50, 0.98), rgba(14, 23, 39, 0.98)) !important;
  border-color: rgba(var(--table-accent-rgb), 0.14) !important;
  box-shadow:
    0 22px 56px rgba(2, 6, 23, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) {
  color: var(--colors-text-primary);
  background: transparent !important;
  border-collapse: separate;
  border-spacing: 0;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) thead th {
  background:
    linear-gradient(180deg, rgba(var(--table-accent-rgb), 0.13), rgba(var(--table-accent-rgb), 0.055)) !important;
  border-bottom: 1px solid rgba(var(--table-accent-rgb), 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.025) !important;
  color: rgba(230, 238, 249, 0.82) !important;
  font-weight: 700;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) tbody :is(td, th) {
  border-bottom: 1px solid rgba(var(--table-accent-rgb), 0.075) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) tbody tr > * {
  background-color: rgba(136, 174, 225, 0.042) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) tbody tr:hover > * {
  background-color: rgba(136, 174, 225, 0.095) !important;
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) tbody tr[style*="rgba(214,170,64"] > *,
html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) tbody tr.is-selected > * {
  background-color: rgba(var(--table-accent-rgb), 0.14) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(td, th)[style*="rgb(var(--azul-escuro))"],
html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) .text-gray-800 {
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(small, .text-muted, .management-muted) {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.btn-outline-primary, .btn-outline-secondary, .dropdown-toggle) {
  background: rgba(var(--table-accent-rgb), 0.075) !important;
  border-color: rgba(var(--table-accent-rgb), 0.24) !important;
  color: var(--table-accent) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.btn-outline-primary, .btn-outline-secondary, .dropdown-toggle):hover {
  background: rgba(var(--table-accent-rgb), 0.16) !important;
  border-color: rgba(var(--table-accent-rgb), 0.38) !important;
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) .badge {
  border: 1px solid rgba(var(--table-accent-rgb), 0.18);
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.badge-light, .bg-primary, .badge.bg-primary) {
  background-color: rgba(var(--table-accent-rgb), 0.13) !important;
  color: var(--table-accent) !important;
  border-color: rgba(var(--table-accent-rgb), 0.24) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.bg-secondary, .badge.bg-secondary) {
  background-color: rgba(136, 174, 225, 0.11) !important;
  color: rgba(220, 230, 244, 0.78) !important;
  border-color: rgba(136, 174, 225, 0.2) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.bg-success, .badge.bg-success) {
  background-color: rgba(95, 210, 165, 0.14) !important;
  color: oklch(82% 0.12 162) !important;
  border-color: rgba(95, 210, 165, 0.26) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) .text-success {
  color: oklch(82% 0.12 162) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.bg-warning, .badge.bg-warning) {
  background-color: rgba(240, 201, 109, 0.15) !important;
  color: oklch(84% 0.105 87) !important;
  border-color: rgba(240, 201, 109, 0.28) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) .text-warning {
  color: oklch(84% 0.105 87) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) :is(.bg-danger, .badge.bg-danger) {
  background-color: rgba(239, 124, 114, 0.13) !important;
  color: oklch(78% 0.105 31) !important;
  border-color: rgba(239, 124, 114, 0.26) !important;
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) .text-danger {
  color: oklch(78% 0.105 31) !important;
}

html[data-theme="dark"] :is(
  #schedulesTable
) .mgmt-status-badge {
  border: 1px solid rgba(var(--table-accent-rgb), 0.18);
  background: rgba(var(--table-accent-rgb), 0.1);
  color: var(--table-accent);
}

html[data-theme="dark"] #schedulesTable .mgmt-status-badge.done,
html[data-theme="dark"] #schedulesTable .mgmt-status-badge.confirmed {
  background: rgba(95, 210, 165, 0.14);
  border-color: rgba(95, 210, 165, 0.26);
  color: oklch(82% 0.12 162);
}

html[data-theme="dark"] #schedulesTable .mgmt-status-badge.pending {
  background: rgba(240, 201, 109, 0.14);
  border-color: rgba(240, 201, 109, 0.26);
  color: oklch(84% 0.105 87);
}

html[data-theme="dark"] #schedulesTable .mgmt-status-badge.cancelled {
  background: rgba(239, 124, 114, 0.13);
  border-color: rgba(239, 124, 114, 0.26);
  color: oklch(78% 0.105 31);
}

html[data-theme="dark"] :is(
  #salesTable,
  #registrationsTable,
  #guestsTable,
  #accreditationsTable,
  #sponsorsTable,
  #schedulesTable,
  #myregistrationsTable,
  #myaccreditationsTableActive,
  #myaccreditationsTableInactive,
  #purchasesTable,
  #purchasesDetailTable,
  #usersTable,
  #table-logs
) code {
  background: rgba(var(--table-accent-rgb), 0.12) !important;
  color: var(--table-accent) !important;
  border-color: rgba(var(--table-accent-rgb), 0.22) !important;
}

html[data-theme="dark"] :is(
  .management-card:has(#salesTable),
  .management-card:has(#registrationsTable),
  .management-card:has(#guestsTable),
  .management-card:has(#accreditationsTable),
  .management-card:has(#sponsorsTable),
  .management-card:has(#schedulesTable),
  .management-card:has(#myregistrationsTable),
  .management-card:has(#purchasesTable)
) .management-pagination {
  background: rgba(var(--table-accent-rgb), 0.045);
  border-color: rgba(var(--table-accent-rgb), 0.12);
}

html[data-theme="dark"] :is(
  .management-card:has(#salesTable),
  .management-card:has(#registrationsTable),
  .management-card:has(#guestsTable),
  .management-card:has(#accreditationsTable),
  .management-card:has(#sponsorsTable),
  .management-card:has(#schedulesTable),
  .management-card:has(#myregistrationsTable),
  .management-card:has(#purchasesTable)
) .management-pagination-controls .btn-page:hover {
  background: rgba(var(--table-accent-rgb), 0.13);
  border-color: rgba(var(--table-accent-rgb), 0.32);
  color: var(--table-accent);
}

html[data-theme="dark"] :is(
  .management-card:has(#salesTable),
  .management-card:has(#registrationsTable),
  .management-card:has(#guestsTable),
  .management-card:has(#accreditationsTable),
  .management-card:has(#sponsorsTable),
  .management-card:has(#schedulesTable),
  .management-card:has(#myregistrationsTable),
  .management-card:has(#purchasesTable)
) .management-pagination-controls .btn-page.active {
  background: var(--table-accent);
  border-color: var(--table-accent);
  color: rgba(11, 18, 32, 0.96);
}

/* $impeccable polish: restrained glass search, dark theme only. */
html[data-theme="dark"] {
  --confut-search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23d6b55b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

html[data-theme="dark"] :is(
  .management-search-input,
  .products-search-input,
  .coupons-search-input,
  .events-search-input,
  .roles-search-input,
  .vouchers-search-input,
  .params-search-input,
  .companies-search-input,
  .dataTables_wrapper .dataTables_filter input
) {
  background:
    var(--confut-search-icon) 1.1rem center / 1.1rem 1.1rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.042)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: var(--colors-text-primary) !important;
  padding-left: 3rem !important;
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    inset 0 -1px 0 rgba(11, 18, 32, 0.18) !important;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

html[data-theme="dark"] :is(
  .dashboard-v2-search,
  .topbar-search,
  .exec-search
) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.042)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: var(--colors-text-primary) !important;
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    inset 0 -1px 0 rgba(11, 18, 32, 0.18) !important;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

html[data-theme="dark"] :is(
  .dashboard-v2-search input,
  .topbar-search input,
  .exec-search input
) {
  background: transparent !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] :is(
  .management-search-input,
  .products-search-input,
  .coupons-search-input,
  .events-search-input,
  .roles-search-input,
  .vouchers-search-input,
  .params-search-input,
  .companies-search-input,
  .dataTables_wrapper .dataTables_filter input
):hover {
  background:
    var(--confut-search-icon) 1.1rem center / 1.1rem 1.1rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.055)) !important;
  border-color: rgba(214, 181, 91, 0.3) !important;
}

html[data-theme="dark"] :is(
  .dashboard-v2-search,
  .topbar-search,
  .exec-search
):hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.055)) !important;
  border-color: rgba(214, 181, 91, 0.3) !important;
}

html[data-theme="dark"] :is(
  .management-search-input,
  .products-search-input,
  .coupons-search-input,
  .events-search-input,
  .roles-search-input,
  .vouchers-search-input,
  .params-search-input,
  .companies-search-input,
  .dataTables_wrapper .dataTables_filter input
):focus {
  background:
    var(--confut-search-icon) 1.1rem center / 1.1rem 1.1rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(214, 181, 91, 0.08)) !important;
  border-color: rgba(214, 181, 91, 0.48) !important;
  box-shadow:
    0 20px 46px rgba(2, 6, 23, 0.3),
    0 0 0 0.18rem rgba(214, 181, 91, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] :is(
  .dashboard-v2-search:focus-within,
  .topbar-search:focus-within,
  .exec-search:focus-within
) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(214, 181, 91, 0.08)) !important;
  border-color: rgba(214, 181, 91, 0.48) !important;
  box-shadow:
    0 20px 46px rgba(2, 6, 23, 0.3),
    0 0 0 0.18rem rgba(214, 181, 91, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] :is(
  .management-search-input,
  .products-search-input,
  .coupons-search-input,
  .events-search-input,
  .roles-search-input,
  .vouchers-search-input,
  .params-search-input,
  .companies-search-input,
  .dataTables_wrapper .dataTables_filter input,
  .dashboard-v2-search input,
  .topbar-search input,
  .exec-search input
)::placeholder {
  color: rgba(230, 238, 249, 0.54) !important;
}

html[data-theme="dark"] :is(
  .dashboard-v2-search i,
  .topbar-search i,
  .exec-search i
) {
  color: rgba(214, 181, 91, 0.92) !important;
  filter: drop-shadow(0 6px 14px rgba(214, 181, 91, 0.18));
}

/* $impeccable colorize: reports selectors, dark theme only. */
html[data-theme="dark"] .reports-shell {
  --reports-accent: oklch(78% 0.105 87);
  --reports-accent-rgb: 214, 181, 91;
  --reports-info: oklch(76% 0.08 250);
  --reports-info-rgb: 136, 174, 225;
}

html[data-theme="dark"] .reports-shell .reports-intro {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .reports-shell .reports-intro p,
html[data-theme="dark"] .reports-shell .text-muted {
  color: var(--colors-text-secondary) !important;
}

html[data-theme="dark"] .reports-shell .accordion-item {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--reports-info-rgb), 0.08), transparent 30%),
    linear-gradient(180deg, rgba(22, 32, 50, 0.98), rgba(14, 23, 39, 0.98)) !important;
  border-color: rgba(var(--reports-info-rgb), 0.12) !important;
  box-shadow:
    0 22px 52px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] .reports-shell .accordion-button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(244, 247, 251, 0.9) !important;
}

html[data-theme="dark"] .reports-shell .accordion-button:not(.collapsed) {
  background:
    linear-gradient(135deg, rgba(var(--reports-accent-rgb), 0.16), rgba(255, 255, 255, 0.045)) !important;
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] .reports-shell .accordion-button i {
  color: rgba(var(--reports-accent-rgb), 0.92) !important;
}

html[data-theme="dark"] .reports-shell .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(1.7);
  opacity: 0.86;
}

html[data-theme="dark"] .reports-shell .accordion-collapse,
html[data-theme="dark"] .reports-shell .accordion-body {
  background: rgba(17, 24, 39, 0.64) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .reports-shell .report-form .form-floating {
  color: var(--colors-text-primary);
}

html[data-theme="dark"] .reports-shell .report-form :is(.form-control, .form-select),
html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) !important;
  border: 1px solid rgba(var(--reports-accent-rgb), 0.34) !important;
  color: rgba(244, 247, 251, 0.94) !important;
  -webkit-text-fill-color: rgba(244, 247, 251, 0.94);
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color-scheme: dark;
}

html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding-top: 13px;
}

html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgba(244, 247, 251, 0.94) !important;
  -webkit-text-fill-color: rgba(244, 247, 251, 0.94);
  font-weight: 650;
  line-height: 1.2 !important;
  opacity: 1;
}

html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection__placeholder {
  color: rgba(230, 238, 249, 0.58) !important;
}

html[data-theme="dark"] .reports-shell .form-floating > label {
  color: rgba(var(--reports-accent-rgb), 0.92) !important;
  opacity: 1 !important;
  text-shadow: 0 8px 18px rgba(2, 6, 23, 0.22);
}

html[data-theme="dark"] .reports-shell .form-floating > label::after {
  background: transparent !important;
}

html[data-theme="dark"] .reports-shell .form-floating > :is(.form-control, .form-select):focus ~ label,
html[data-theme="dark"] .reports-shell .form-floating > :is(.form-control, .form-select):not(:placeholder-shown) ~ label {
  color: rgba(var(--reports-accent-rgb), 0.96) !important;
}

html[data-theme="dark"] .reports-shell .report-form :is(.form-control, .form-select):hover,
html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single:hover {
  border-color: rgba(var(--reports-accent-rgb), 0.52) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(var(--reports-accent-rgb), 0.065)) !important;
}

html[data-theme="dark"] .reports-shell .report-form :is(.form-control, .form-select):focus,
html[data-theme="dark"] .reports-shell .select2-container--default.select2-container--focus .select2-selection--single,
html[data-theme="dark"] .reports-shell .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(var(--reports-accent-rgb), 0.66) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(var(--reports-accent-rgb), 0.085)) !important;
  box-shadow:
    0 18px 44px rgba(2, 6, 23, 0.3),
    0 0 0 0.18rem rgba(var(--reports-accent-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
}

html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single .select2-selection__arrow {
  min-height: 58px;
}

html[data-theme="dark"] .reports-shell .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(var(--reports-accent-rgb), 0.95) transparent transparent transparent !important;
}

html[data-theme="dark"] .reports-shell .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent rgba(var(--reports-accent-rgb), 0.95) transparent !important;
}

html[data-theme="dark"] .reports-shell select option {
  background: rgba(17, 24, 39, 0.98);
  color: rgba(244, 247, 251, 0.94);
}

/* $impeccable colorize: /myaccreditations participants table, dark theme only. */
html[data-theme="dark"] .credentials-page {
  --mycred-blue: oklch(76% 0.08 250);
  --mycred-blue-rgb: 136, 174, 225;
  --mycred-gold: oklch(78% 0.105 87);
  --mycred-gold-rgb: 214, 181, 91;
  --mycred-emerald: oklch(82% 0.12 162);
  --mycred-emerald-rgb: 95, 210, 165;
  --mycred-coral: oklch(78% 0.105 31);
  --mycred-coral-rgb: 239, 124, 114;
}

html[data-theme="dark"] .credentials-page .credentials-card:has(.participants-table) {
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--mycred-blue-rgb), 0.11), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(var(--mycred-gold-rgb), 0.075), transparent 34%),
    linear-gradient(180deg, rgba(22, 32, 50, 0.98), rgba(14, 23, 39, 0.98)) !important;
  border: 1px solid rgba(var(--mycred-blue-rgb), 0.14) !important;
  box-shadow:
    0 24px 58px rgba(2, 6, 23, 0.38),
}

html[data-theme="dark"] .credentials-page .credentials-card:has(.participants-table) h5 {
  color: rgba(var(--mycred-blue-rgb), 0.95) !important;
  font-weight: 800;
}

html[data-theme="dark"] .credentials-page .credentials-card:has(.participants-table) p {
  color: rgba(230, 238, 249, 0.72) !important;
}

html[data-theme="dark"] .credentials-page .participants-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(136, 174, 225, 0.06);
  --bs-table-striped-color: rgba(244, 247, 251, 0.92);
  --bs-table-hover-bg: rgba(136, 174, 225, 0.115);
  --bs-table-hover-color: rgba(244, 247, 251, 0.96);
  background: rgba(11, 18, 32, 0.28) !important;
  border-color: rgba(var(--mycred-blue-rgb), 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .credentials-page .participants-table thead th {
  background:
    linear-gradient(180deg, rgba(var(--mycred-blue-rgb), 0.16), rgba(var(--mycred-blue-rgb), 0.075)) !important;
  border-color: rgba(var(--mycred-blue-rgb), 0.2) !important;
  color: rgba(230, 238, 249, 0.84) !important;
}

html[data-theme="dark"] .credentials-page .participants-table tbody tr,
html[data-theme="dark"] .credentials-page .participants-table tbody tr:nth-of-type(even) {
  background: transparent !important;
}

html[data-theme="dark"] .credentials-page .participants-table tbody tr > *,
html[data-theme="dark"] .credentials-page .participants-table.table-striped > tbody > tr:nth-of-type(odd) > *,
html[data-theme="dark"] .credentials-page .participants-table.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: rgba(var(--mycred-blue-rgb), 0.062) !important;
  border-color: rgba(var(--mycred-blue-rgb), 0.095) !important;
  color: rgba(244, 247, 251, 0.9) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .credentials-page .participants-table tbody tr:hover > *,
html[data-theme="dark"] .credentials-page .participants-table.table-hover > tbody > tr:hover > * {
  background-color: rgba(var(--mycred-blue-rgb), 0.125) !important;
  color: rgba(244, 247, 251, 0.96) !important;
}

html[data-theme="dark"] .credentials-page .participants-table tbody tr:last-child > * {
  border-bottom-color: transparent !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-cell-strong {
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-cell-muted {
  color: rgba(230, 238, 249, 0.62) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-status-pill.is-active {
  background: rgba(var(--mycred-emerald-rgb), 0.14) !important;
  border: 1px solid rgba(var(--mycred-emerald-rgb), 0.24);
  color: var(--mycred-emerald) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-status-pill.is-inactive {
  background: rgba(var(--mycred-coral-rgb), 0.13) !important;
  border: 1px solid rgba(var(--mycred-coral-rgb), 0.24);
  color: var(--mycred-coral) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-primary {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(230, 238, 249, 0.84) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-primary:hover,
html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-primary:focus {
  background: rgba(var(--mycred-blue-rgb), 0.14) !important;
  border-color: rgba(var(--mycred-blue-rgb), 0.34) !important;
  color: rgba(244, 247, 251, 0.96) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-danger {
  background: rgba(var(--mycred-coral-rgb), 0.095) !important;
  border-color: rgba(var(--mycred-coral-rgb), 0.3) !important;
  color: var(--mycred-coral) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-danger:hover,
html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-danger:focus {
  background: rgba(var(--mycred-coral-rgb), 0.16) !important;
  border-color: rgba(var(--mycred-coral-rgb), 0.42) !important;
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-success {
  background: rgba(var(--mycred-emerald-rgb), 0.095) !important;
  border-color: rgba(var(--mycred-emerald-rgb), 0.3) !important;
  color: var(--mycred-emerald) !important;
}

html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-success:hover,
html[data-theme="dark"] .credentials-page .participants-table .participant-actions .btn-outline-success:focus {
  background: rgba(var(--mycred-emerald-rgb), 0.16) !important;
  border-color: rgba(var(--mycred-emerald-rgb), 0.42) !important;
  color: rgba(244, 247, 251, 0.94) !important;
}

/* /sales status filter: scoped segmented control. */
.management-sales-tabs-wrap {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.sales-action-bar {
  align-items: center;
}

@media (min-width: 769px) {
  :is(
    .management-action-bar,
    .products-action-bar,
    .coupons-action-bar,
    .events-action-bar,
    .roles-action-bar,
    .vouchers-action-bar,
    .params-action-bar,
    .companies-action-bar
  ) :is(
    .management-search-input,
    .products-search-input,
    .coupons-search-input,
    .events-search-input,
    .roles-search-input,
    .vouchers-search-input,
    .params-search-input,
    .companies-search-input
  ) {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 640px;
    width: auto;
  }
}

.sales-action-bar .management-export-buttons,
.sales-action-bar .management-sales-tabs-wrap {
  flex: 0 0 auto;
}

.sales-event-name {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.sales-private-checkout-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid oklch(78% 0.095 178);
  border-radius: 999px;
  background: oklch(96.5% 0.033 178);
  color: oklch(40% 0.095 178);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.sales-private-checkout-badge i {
  font-size: 0.68rem;
}

html[data-theme="dark"] .sales-private-checkout-badge {
  border-color: rgba(45, 212, 191, 0.38);
  background: rgba(20, 184, 166, 0.15);
  color: rgb(153, 246, 228);
}

.management-sales-tabs-wrap .btn-group {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid oklch(62% 0.018 262);
  border-radius: 999px;
  background: oklch(98.8% 0.006 250);
  box-shadow: inset 0 1px 0 oklch(100% 0.006 250 / 0.78);
}

.management-sales-tabs-wrap .btn-group > .btn {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-width: 112px;
  min-height: 44px;
  flex: 0 0 auto;
  width: auto !important;
  margin-left: 0 !important;
  padding: 0 18px;
  border: 0 !important;
  border-right: 1px solid oklch(62% 0.018 262) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: oklch(48% 0.035 265) !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.management-sales-tabs-wrap .btn-group > .btn:last-child {
  border-right: 0 !important;
}

.management-sales-tabs-wrap .btn-group > .btn.btn-primary {
  z-index: 2;
  background: oklch(54% 0.115 84) !important;
  color: oklch(98.8% 0.006 250) !important;
  box-shadow:
    inset 0 0 0 1px oklch(77% 0.105 87 / 0.52),
    0 8px 18px oklch(54% 0.115 84 / 0.16) !important;
}

.management-sales-tabs-wrap .btn-group > .btn.btn-primary:not(:last-child) {
  border-right-color: oklch(82% 0.07 87 / 0.62) !important;
}

.management-sales-tabs-wrap .btn-group > .btn:not(.btn-primary):hover,
.management-sales-tabs-wrap .btn-group > .btn:not(.btn-primary):focus {
  background: oklch(93.5% 0.014 255) !important;
  color: oklch(29% 0.055 255) !important;
}

.management-sales-tabs-wrap .btn-group > .btn:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px oklch(72% 0.105 87 / 0.72) !important;
}

html[data-theme="dark"] .management-sales-tabs-wrap .btn-group {
  border-color: oklch(56% 0.03 258 / 0.72);
  background: oklch(20% 0.025 258);
  box-shadow:
    inset 0 1px 0 oklch(100% 0.006 250 / 0.08),
    0 10px 24px oklch(8% 0.025 258 / 0.18);
}

html[data-theme="dark"] .management-sales-tabs-wrap .btn-group > .btn {
  border-right-color: oklch(56% 0.03 258 / 0.72) !important;
  color: oklch(82% 0.035 258 / 0.78) !important;
}

html[data-theme="dark"] .management-sales-tabs-wrap .btn-group > .btn.btn-primary {
  background: oklch(74% 0.105 87) !important;
  color: oklch(18% 0.028 258) !important;
  box-shadow:
    inset 0 0 0 1px oklch(88% 0.08 87 / 0.58),
    0 8px 20px oklch(74% 0.105 87 / 0.16) !important;
}

html[data-theme="dark"] .management-sales-tabs-wrap .btn-group > .btn:not(.btn-primary):hover,
html[data-theme="dark"] .management-sales-tabs-wrap .btn-group > .btn:not(.btn-primary):focus {
  background: oklch(28% 0.035 258) !important;
  color: oklch(94% 0.018 250) !important;
}

@media (max-width: 576px) {
  .sales-action-bar #salesSearch {
    flex-basis: 100%;
    max-width: 100%;
  }

  .management-sales-tabs-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .management-sales-tabs-wrap .btn-group {
    width: 100%;
    min-width: 288px;
  }

  .management-sales-tabs-wrap .btn-group > .btn {
    flex: 1 0 96px;
    min-width: 96px;
    padding: 0 8px;
    font-size: 0.88rem;
  }
}

/* $impeccable colorize: /precheckout, dark theme only. */
html[data-theme="dark"] .precheckout-page {
  --precheckout-gold: oklch(78% 0.105 87);
  --precheckout-gold-rgb: 214, 181, 91;
  --precheckout-blue: oklch(76% 0.08 250);
  --precheckout-blue-rgb: 136, 174, 225;
  --precheckout-emerald: oklch(82% 0.12 162);
  --precheckout-emerald-rgb: 95, 210, 165;
  --precheckout-coral: oklch(78% 0.105 31);
  --precheckout-coral-rgb: 239, 124, 114;
  color: var(--colors-text-primary);
}

html[data-theme="dark"] body.cart-flow-layout-active .precheckout-page.cart-flow-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--precheckout-gold-rgb), 0.095), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(var(--precheckout-blue-rgb), 0.115), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(11, 18, 32, 0.98)) !important;
  border: 1px solid rgba(var(--precheckout-blue-rgb), 0.12) !important;
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"] .precheckout-page .precheckout-title {
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] .precheckout-page .precheckout-subtitle,
html[data-theme="dark"] .precheckout-page .text-muted,
html[data-theme="dark"] .precheckout-page .helper-text {
  color: rgba(230, 238, 249, 0.66) !important;
}

html[data-theme="dark"] .precheckout-page .precheckout-back {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(230, 238, 249, 0.82) !important;
  padding: 0.65rem 0.95rem;
}

html[data-theme="dark"] .precheckout-page .precheckout-back:hover,
html[data-theme="dark"] .precheckout-page .precheckout-back:focus {
  background: rgba(var(--precheckout-gold-rgb), 0.13);
  border-color: rgba(var(--precheckout-gold-rgb), 0.32);
  color: var(--precheckout-gold) !important;
}

html[data-theme="dark"] .precheckout-page .precheckout-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--precheckout-blue-rgb), 0.08), transparent 30%),
    linear-gradient(180deg, rgba(22, 32, 50, 0.96), rgba(14, 23, 39, 0.94)) !important;
  border: 1px solid rgba(var(--precheckout-blue-rgb), 0.13) !important;
  color: var(--colors-text-primary) !important;
  box-shadow:
    0 20px 52px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] .precheckout-page .participant-card:hover {
  border-color: rgba(var(--precheckout-blue-rgb), 0.24) !important;
}

html[data-theme="dark"] .precheckout-page .participant-card.is-verified,
html[data-theme="dark"] .precheckout-page .participant-card.is-responsavel {
  border-color: rgba(var(--precheckout-gold-rgb), 0.34) !important;
  box-shadow:
    0 24px 58px rgba(2, 6, 23, 0.4),
    0 0 0 1px rgba(var(--precheckout-gold-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"] .precheckout-page .participant-card-title,
html[data-theme="dark"] .precheckout-page .segment-label,
html[data-theme="dark"] .precheckout-page .summary-card .card-header,
html[data-theme="dark"] .precheckout-page .summary-total .total-label {
  color: rgba(244, 247, 251, 0.92) !important;
}

html[data-theme="dark"] .precheckout-page .participant-card-title i {
  color: var(--precheckout-gold) !important;
}

html[data-theme="dark"] .precheckout-page .participant-card.is-verified .participant-card-title i {
  color: var(--precheckout-emerald) !important;
}

html[data-theme="dark"] .precheckout-page .badge-responsavel {
  background: rgba(var(--precheckout-gold-rgb), 0.14) !important;
  border: 1px solid rgba(var(--precheckout-gold-rgb), 0.28);
  color: var(--precheckout-gold) !important;
}

html[data-theme="dark"] .precheckout-page .segment-control {
  background: rgba(11, 18, 32, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .precheckout-page .segment-option {
  color: rgba(230, 238, 249, 0.68) !important;
}

html[data-theme="dark"] .precheckout-page .segment-option:hover,
html[data-theme="dark"] .precheckout-page .segment-option:focus {
  color: rgba(244, 247, 251, 0.94) !important;
}

html[data-theme="dark"] .precheckout-page .segment-option.active {
  background:
    linear-gradient(135deg, rgba(var(--precheckout-gold-rgb), 0.92), rgba(240, 214, 138, 0.92)) !important;
  color: rgba(11, 18, 32, 0.96) !important;
  box-shadow:
    0 10px 26px rgba(var(--precheckout-gold-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="dark"] .precheckout-page .conditional-section {
  border-top-color: rgba(var(--precheckout-blue-rgb), 0.12) !important;
}

html[data-theme="dark"] .precheckout-page :is(.form-control, .form-select) {
  background: rgba(11, 18, 32, 0.52) !important;
  border-color: rgba(var(--precheckout-blue-rgb), 0.16) !important;
  color: rgba(244, 247, 251, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .precheckout-page :is(.form-control, .form-select)::placeholder {
  color: rgba(230, 238, 249, 0.46) !important;
}

html[data-theme="dark"] .precheckout-page :is(.form-control, .form-select):hover {
  border-color: rgba(var(--precheckout-blue-rgb), 0.28) !important;
  background: rgba(22, 32, 50, 0.72) !important;
}

html[data-theme="dark"] .precheckout-page :is(.form-control, .form-select):focus {
  background: rgba(22, 32, 50, 0.82) !important;
  border-color: rgba(var(--precheckout-gold-rgb), 0.58) !important;
  box-shadow:
    0 0 0 0.18rem rgba(var(--precheckout-gold-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .precheckout-page select option {
  background: rgba(17, 24, 39, 0.98);
  color: rgba(244, 247, 251, 0.94);
}

html[data-theme="dark"] .precheckout-page .form-check-input {
  background-color: rgba(11, 18, 32, 0.72);
  border-color: rgba(var(--precheckout-blue-rgb), 0.28);
}

html[data-theme="dark"] .precheckout-page .form-check-input:checked {
  background-color: var(--precheckout-gold);
  border-color: var(--precheckout-gold);
}

html[data-theme="dark"] .precheckout-page .form-check-label {
  color: rgba(244, 247, 251, 0.88) !important;
}

html[data-theme="dark"] .precheckout-page .responsavel-box,
html[data-theme="dark"] .precheckout-page .summary-card .border.rounded {
  background: rgba(var(--precheckout-gold-rgb), 0.085) !important;
  border-color: rgba(var(--precheckout-gold-rgb), 0.22) !important;
  color: var(--colors-text-primary) !important;
}

html[data-theme="dark"] .precheckout-page .btn-buscar,
html[data-theme="dark"] .precheckout-page .btn-cta {
  background:
    linear-gradient(135deg, var(--precheckout-gold), oklch(84% 0.105 87)) !important;
  border: 1px solid rgba(var(--precheckout-gold-rgb), 0.52) !important;
  color: rgba(11, 18, 32, 0.96) !important;
  box-shadow: 0 16px 34px rgba(var(--precheckout-gold-rgb), 0.2) !important;
}

html[data-theme="dark"] .precheckout-page .btn-buscar:hover,
html[data-theme="dark"] .precheckout-page .btn-buscar:focus,
html[data-theme="dark"] .precheckout-page .btn-cta:hover,
html[data-theme="dark"] .precheckout-page .btn-cta:focus {
  background:
    linear-gradient(135deg, oklch(82% 0.12 87), var(--precheckout-gold)) !important;
  color: rgba(11, 18, 32, 0.98) !important;
}

html[data-theme="dark"] .precheckout-page .success-msg {
  background: rgba(var(--precheckout-emerald-rgb), 0.13) !important;
  border: 1px solid rgba(var(--precheckout-emerald-rgb), 0.26);
  color: var(--precheckout-emerald) !important;
}

html[data-theme="dark"] .precheckout-page .js-email-error,
html[data-theme="dark"] .precheckout-page .text-danger {
  color: var(--precheckout-coral) !important;
}

html[data-theme="dark"] .precheckout-page .link-switch-create,
html[data-theme="dark"] .precheckout-page .btn-link {
  color: var(--precheckout-gold) !important;
}

html[data-theme="dark"] .precheckout-page .link-switch-create:hover,
html[data-theme="dark"] .precheckout-page .btn-link:hover {
  color: rgba(240, 214, 138, 0.96) !important;
}

html[data-theme="dark"] .precheckout-page .summary-card .card-header {
  background: rgba(11, 18, 32, 0.42) !important;
  border-bottom-color: rgba(var(--precheckout-blue-rgb), 0.13) !important;
}

html[data-theme="dark"] .precheckout-page .summary-row {
  color: rgba(230, 238, 249, 0.78);
}

html[data-theme="dark"] .precheckout-page .summary-row.text-success {
  color: var(--precheckout-emerald) !important;
}

html[data-theme="dark"] .precheckout-page .summary-total {
  border-top-color: rgba(var(--precheckout-gold-rgb), 0.22) !important;
}

html[data-theme="dark"] .precheckout-page .summary-total .total-value {
  color: var(--precheckout-gold) !important;
}

html[data-theme="dark"] .precheckout-page .border-top {
  border-top-color: rgba(var(--precheckout-blue-rgb), 0.13) !important;
}

html[data-theme="dark"] .precheckout-page .is-invalid {
  border-color: rgba(var(--precheckout-coral-rgb), 0.72) !important;
  box-shadow: 0 0 0 0.18rem rgba(var(--precheckout-coral-rgb), 0.16) !important;
}

html[data-theme="dark"] .precheckout-page .btn-cta-loader {
  border-color: rgba(11, 18, 32, 0.32);
  border-top-color: rgba(11, 18, 32, 0.94);
}

@media (max-width: 768px) {
  :is(
    .management-action-bar,
    .products-action-bar,
    .coupons-action-bar,
    .events-action-bar,
    .roles-action-bar,
    .vouchers-action-bar,
    .params-action-bar,
    .companies-action-bar
  ) {
    justify-content: center !important;
    text-align: center;
  }

  :is(
    .management-action-bar,
    .products-action-bar,
    .coupons-action-bar,
    .events-action-bar,
    .roles-action-bar,
    .vouchers-action-bar,
    .params-action-bar,
    .companies-action-bar
  ) .ms-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  :is(
    .management-export-buttons,
    .products-export-buttons,
    .coupons-export-buttons,
    .events-export-buttons,
    .roles-export-buttons,
    .vouchers-export-buttons,
    .params-export-buttons,
    .companies-export-buttons
  ) {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  :is(
    .management-action-bar,
    .products-action-bar,
    .coupons-action-bar,
    .events-action-bar,
    .roles-action-bar,
    .vouchers-action-bar,
    .params-action-bar,
    .companies-action-bar
  ) .btn {
    justify-content: center !important;
  }
}
