@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i,800,800i);

canvas[data-v-a70aca52] {
  width: 100% !important;
  height: 280px !important;
  max-height: 320px;
  border-radius: 6px;
  -webkit-transition: -webkit-filter 0.3s ease;
  transition: -webkit-filter 0.3s ease;
  transition: filter 0.3s ease;
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}
@media (max-width: 480px) {
canvas[data-v-a70aca52] {
    height: 240px !important;
}
}


canvas[data-v-7324f442] {
  width: 100% !important;
  aspect-ratio: 1 / 0.85;
  min-height: 180px;
  max-height: 320px;
  border-radius: 8px;
  -webkit-transition: -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
  transition: -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
  transition: filter 0.3s ease, transform 0.3s ease;
  transition: filter 0.3s ease, transform 0.3s ease, -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
}
canvas[data-v-7324f442]:hover {
  -webkit-filter: drop-shadow(0 4px 14px rgba(10, 74, 140, 0.18));
          filter: drop-shadow(0 4px 14px rgba(10, 74, 140, 0.18));
}
@media (max-width: 1024px) {
canvas[data-v-7324f442] {
    max-height: 280px;
}
}
@media (max-width: 768px) {
canvas[data-v-7324f442] {
    aspect-ratio: 1 / 0.95;
    min-height: 200px;
    max-height: 260px;
}
}
@media (max-width: 480px) {
canvas[data-v-7324f442] {
    aspect-ratio: 1 / 1;
    min-height: 220px;
    max-height: 240px;
}
}
@media (max-width: 360px) {
canvas[data-v-7324f442] {
    min-height: 190px;
}
}


canvas[data-v-1581cc29] {
  width: 100% !important;
  aspect-ratio: 1 / 0.85;
  min-height: 180px;
  max-height: 320px;
  border-radius: 8px;
  -webkit-transition: -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
  transition: -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
  transition: filter 0.3s ease, transform 0.3s ease;
  transition: filter 0.3s ease, transform 0.3s ease, -webkit-filter 0.3s ease, -webkit-transform 0.3s ease;
}
canvas[data-v-1581cc29]:hover {
  -webkit-filter: drop-shadow(0 4px 14px rgba(10, 74, 140, 0.18));
          filter: drop-shadow(0 4px 14px rgba(10, 74, 140, 0.18));
}
@media (max-width: 1024px) {
canvas[data-v-1581cc29] {
    max-height: 280px;
}
}
@media (max-width: 768px) {
canvas[data-v-1581cc29] {
    aspect-ratio: 1 / 0.95;
    min-height: 200px;
    max-height: 260px;
}
}
@media (max-width: 480px) {
canvas[data-v-1581cc29] {
    aspect-ratio: 1 / 1;
    min-height: 220px;
    max-height: 240px;
}
}
@media (max-width: 360px) {
canvas[data-v-1581cc29] {
    min-height: 190px;
}
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #f9fbfc;
  height: 100%;
}

p {
  font-size: 16px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 24px;
}

textarea {
  min-height: 100px;
}

.color-primary {
  color: #0099cc;
}

.color-accent {
  color: #7fad33;
}

.color-secondary {
  color: #e6ecef;
}

.color-error {
  color: #ff6666;
}

.color-success {
  color: #7fad33;
}

.color-dark {
  color: #414141;
}

.color-white {
  color: white;
}

.bg-primary {
  background-color: #0099cc;
}

.bg-accent {
  background-color: #7fad33;
}

.bg-secondary {
  background-color: #e6ecef;
}

.bg-error {
  background-color: #ff6666;
}

.bg-success {
  background-color: #7fad33;
}

.bg-dark {
  background-color: #414141;
  color: white;
}

.list {
  padding: 0;
  list-style-type: none;
}

.list.list-tall li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.list.list-taller li {
  padding-top: 10px;
  padding-bottom: 10px;
}

.list.list-tallest li {
  padding-top: 15px;
  padding-bottom: 15px;
}

.shadow-1 {
  -webkit-box-shadow: 1px 4px 10px -5px #a0b5bf;
  box-shadow: 1px 4px 10px -5px #a0b5bf;
}

.shadow-2 {
  -webkit-box-shadow: 0px 0px 10px -2px #a0b5bf;
  box-shadow: 0px 0px 10px -2px #a0b5bf;
}

.shadow-3 {
  -webkit-box-shadow: 1px 4px 9px -2px #a0b5bf;
  box-shadow: 1px 4px 9px -2px #a0b5bf;
}

.shadow-4 {
  -webkit-box-shadow: 0px 3px 25px 1px rgba(160, 181, 191, 0.46);
  box-shadow: 0px 3px 25px 1px rgba(160, 181, 191, 0.46);
}

.shadow-5 {
  -webkit-box-shadow: 0px 0px 40px 0px rgba(160, 181, 191, 0.66);
  box-shadow: 0px 0px 40px 0px rgba(160, 181, 191, 0.66);
}

.font-weight-semi-bold {
  font-weight: 600;
}

.font-weight-semi-bold-italic {
  font-weight: 600;
  font-style: italic;
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-bold-italic {
  font-weight: 700;
  font-style: italic;
}

.font-weight-extra-bold {
  font-weight: 800;
}

.font-weight-extra-bold-italic {
  font-weight: 800;
  font-style: italic;
}


.navbar-nav li a {
  font-size: 12px;
}

.navbar.bg-primary {
  background-color: #0099cc !important;
}

.navbar.bg-accent {
  background-color: #7fad33 !important;
}

.navbar.bg-secondary {
  background-color: #e6ecef !important;
}

.navbar.bg-error {
  background-color: #ff6666 !important;
}

.navbar.bg-success {
  background-color: #7fad33 !important;
}

.navbar.bg-transparent {
  background-color: transparent !important;
}

.navbar.bg-transparent-light {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.bg-transparent-dark {
  background-color: rgba(0, 0, 0, 0.5) !important;
}


* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.dash-wrap {
  width: 100%;
  overflow-x: hidden;
}
.pdf-capture-mode,
.pdf-capture-mode * {
  -webkit-animation: none !important;
          animation: none !important;
  opacity: 1 !important;
  -webkit-transform: none !important;
          transform: none !important;
}

/* ==================== PAGE ENTRANCE ANIMATIONS ==================== */
@-webkit-keyframes dash-fadeSlideUp {
from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
@keyframes dash-fadeSlideUp {
from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
@-webkit-keyframes dash-fadeSlideDown {
from {
    opacity: 0;
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
@keyframes dash-fadeSlideDown {
from {
    opacity: 0;
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
:root,
[data-theme='light'] {
  --dash-card-bg: #ffffff;
  --dash-card-border: #e4eaf0;
  --dash-card-shadow: rgba(0, 0, 0, 0.05);
  --dash-card-shadow-hover: rgba(10, 74, 140, 0.1);

  --dash-page-title: #1a1a2e;
  --dash-page-subtitle: #6b7280;

  --dash-section-header-color: #0a4a8c;
  --dash-section-divider: #e8ecf2;

  --dash-field-label: #374151;
  --dash-field-input-bg: #ffffff;
  --dash-field-input-border: #e0e7ef;
  --dash-field-input-color: #333;
  --dash-field-input-focus-border: #0a4a8c;
  --dash-field-input-focus-shadow: rgba(10, 74, 140, 0.1);

  --dash-filter-btn-bg: #f1f5f9;
  --dash-filter-btn-color: #374151;
  --dash-filter-btn-border: #e0e7ef;
  --dash-filter-btn-hover-bg: #e2e8f0;
  --dash-filter-btn-hover-border: #0a4a8c;
  --dash-filter-btn-hover-color: #0a4a8c;
  --dash-filter-btn-hover-shadow: rgba(10, 74, 140, 0.12);

  --dash-badge-bg: #eef4fb;
  --dash-badge-border: #c5d8f0;
  --dash-badge-color: #374151;

  --dash-stat-icon-bg: #eef4fb;
  --dash-stat-value-color: #1a1a2e;
  --dash-stat-label-color: #374151;
  --dash-stat-subtitle-color: #9ca3af;

  --dash-item-bg: #f8fafc;
  --dash-item-border: #e8ecf2;
  --dash-item-hover-bg: #eef4fb;
  --dash-item-hover-border: #c5d8f0;
  --dash-item-name-color: #1a1a2e;
  --dash-item-value-color: #0a4a8c;
  --dash-item-rate-color: #9ca3af;
  --dash-progress-track-bg: #e4eaf0;

  --dash-spinner-border: #c5d8f0;

  --dash-table-head-bg: #f0f4f9;
  --dash-table-head-border: #c5d8f0;
  --dash-table-th-color: #0a4a8c;
  --dash-table-td-color: #374151;
  --dash-table-td-border: #e8ecf2;
  --dash-table-row-hover-bg: #f8fafc;
  --dash-table-accent-color: #0a4a8c;

  --dash-dropdown-bg: #ffffff;
  --dash-dropdown-border: #e0e7ef;
  --dash-dropdown-shadow: rgba(10, 74, 140, 0.1);
  --dash-dropdown-item-color: #1a1a2e;
  --dash-tag-link-color: #0a4a8c;

  --dash-ai-body-bg: #f6f8fa;
  --dash-ai-input-border: #e0e7ef;
  --dash-ai-msg-user-bg: linear-gradient(135deg, #0a4a8c, #1a7de8);
  --dash-ai-msg-ai-bg: #f0f4f8;
  --dash-ai-msg-ai-color: #374151;
  --dash-ai-msg-ai-border: #e4eaf0;
  --dash-ai-footer-bg: #f0f4f8;
  --dash-ai-footer-border: #e0e7ef;
  --dash-ai-loading-bg: rgba(255, 255, 255, 0.9);
  --dash-ai-loading-text: #0a4a8c;

  --dash-radio-label-color: #374151;
  --dash-vertical-divider-bg: #e4eaf0;

  --dash-card-desc-color: #9ca3af;
  --dash-no-perm-title: #1a1a2e;
  --dash-no-perm-desc: #6b7280;

  --dash-empty-icon-bg: #f1f5f9;
  --dash-empty-icon-color: #94a3b8;
  --dash-empty-title-color: #374151;
  --dash-empty-desc-color: #9ca3af;

  --omak-gold: #f5a623;
}
[data-theme='dark'] {
  --dash-card-bg: #16213e;
  --dash-card-border: #2d3748;
  --dash-card-shadow: rgba(0, 0, 0, 0.25);
  --dash-card-shadow-hover: rgba(90, 173, 255, 0.12);
  --omak-gold: #ffb830;

  --dash-page-title: #e2e8f0;
  --dash-page-subtitle: #a0aec0;

  --dash-section-header-color: #e2e8f0;
  --dash-section-divider: #2d3748;

  --dash-field-label: #cbd5e0;
  --dash-field-input-bg: #1a2744;
  --dash-field-input-border: #3a4a6b;
  --dash-field-input-color: #e2e8f0;
  --dash-field-input-focus-border: #5aadff;
  --dash-field-input-focus-shadow: rgba(90, 173, 255, 0.15);

  --dash-filter-btn-bg: #1a2744;
  --dash-filter-btn-color: #cbd5e0;
  --dash-filter-btn-border: #3a4a6b;
  --dash-filter-btn-hover-bg: #243358;
  --dash-filter-btn-hover-border: #5aadff;
  --dash-filter-btn-hover-color: #5aadff;
  --dash-filter-btn-hover-shadow: rgba(90, 173, 255, 0.15);

  --dash-badge-bg: #1a2744;
  --dash-badge-border: #3a4a6b;
  --dash-badge-color: #a0aec0;

  --dash-stat-icon-bg: #1a2744;
  --dash-stat-value-color: #e2e8f0;
  --dash-stat-label-color: #cbd5e0;
  --dash-stat-subtitle-color: #718096;

  --dash-item-bg: #1a2744;
  --dash-item-border: #2d3748;
  --dash-item-hover-bg: #243358;
  --dash-item-hover-border: #3a4a6b;
  --dash-item-name-color: #e2e8f0;
  --dash-item-value-color: #5aadff;
  --dash-item-rate-color: #718096;
  --dash-progress-track-bg: #2d3748;

  --dash-spinner-border: #2d3748;

  --dash-table-head-bg: #1a2744;
  --dash-table-head-border: #3a4a6b;
  --dash-table-th-color: #5aadff;
  --dash-table-td-color: #cbd5e0;
  --dash-table-td-border: #2d3748;
  --dash-table-row-hover-bg: #1a2744;
  --dash-table-accent-color: #5aadff;

  --dash-dropdown-bg: #16213e;
  --dash-dropdown-border: #2d3748;
  --dash-dropdown-shadow: rgba(0, 0, 0, 0.35);
  --dash-dropdown-item-color: #e2e8f0;
  --dash-tag-link-color: #5aadff;

  --dash-ai-body-bg: #1a1a2e;
  --dash-ai-input-border: #3a4a6b;
  --dash-ai-msg-user-bg: linear-gradient(135deg, #063872, #1a5fa8);
  --dash-ai-msg-ai-bg: #243358;
  --dash-ai-msg-ai-color: #cbd5e0;
  --dash-ai-msg-ai-border: #2d3748;
  --dash-ai-footer-bg: #16213e;
  --dash-ai-footer-border: #2d3748;
  --dash-ai-loading-bg: rgba(22, 33, 62, 0.92);
  --dash-ai-loading-text: #5aadff;

  --dash-radio-label-color: #cbd5e0;
  --dash-vertical-divider-bg: #2d3748;

  --dash-card-desc-color: #718096;
  --dash-no-perm-title: #e2e8f0;
  --dash-no-perm-desc: #a0aec0;

  --dash-empty-icon-bg: #1a2744;
  --dash-empty-icon-color: #4a5a7a;
  --dash-empty-title-color: #cbd5e0;
  --dash-empty-desc-color: #718096;
}
.page-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  z-index: 100;
  -webkit-animation: dash-fadeSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
          animation: dash-fadeSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  -webkit-animation-delay: 0.05s;
          animation-delay: 0.05s;
}
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dash-page-title);
  margin: 0 0 4px 0;
  border-left: 4px solid var(--omak-gold);
  padding-left: 10px;
}
.page-subtitle {
  font-size: 13px;
  color: var(--dash-page-subtitle);
  margin: 0;
  padding-left: 14px;
}
.header-filter-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: auto;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.header-outlet-wrap {
  position: relative;
  min-width: 190px;
}
.outlet-trigger-btn {
  border: 1.5px solid var(--dash-field-input-border);
  border-radius: 6px;
  background: var(--dash-field-input-bg);
  min-width: 190px;
  list-style: none;
}
.outlet-trigger-summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dash-field-input-color);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.outlet-trigger-summary::-webkit-details-marker {
  display: none;
}
.outlet-trigger-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.outlet-chevron {
  opacity: 0.5;
}
.outlet-popover-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--dash-dropdown-bg);
  border: 1.5px solid var(--dash-dropdown-border);
  border-radius: 6px;
  -webkit-box-shadow: 0 8px 24px var(--dash-dropdown-shadow);
          box-shadow: 0 8px 24px var(--dash-dropdown-shadow);
  z-index: 9999;
  padding: 6px 0;
}
.outlet-popover-scroll {
  max-height: 200px;
  overflow-y: auto;
}
.outlet-popover-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 8px 14px;
  cursor: pointer;
  -webkit-transition: background 0.15s;
  transition: background 0.15s;
}
.outlet-popover-item:hover {
  background: var(--dash-item-hover-bg);
}
.chk-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
}
.chk-label input[type='checkbox'] {
  width: 15px;
  height: 15px;
  accent-color: #0a4a8c;
  cursor: pointer;
  border-radius: 4px;
}
[data-theme='dark'] .chk-label input[type='checkbox'] {
  accent-color: #5aadff;
}
.outlet-popover-text {
  font-size: 13px;
  color: var(--dash-dropdown-item-color);
  font-weight: 500;
}
.outlet-popover-divider {
  height: 1px;
  background: var(--dash-dropdown-border);
  margin: 4px 0;
}
.outlet-popover-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
}
.outlet-tag-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--dash-tag-link-color);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--dash-badge-bg);
  border: 1px solid var(--dash-badge-border);
}
.dash-filter-pill-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background: var(--dash-filter-btn-bg);
  border: 1.5px solid var(--dash-filter-btn-border);
  border-radius: 6px;
  padding: 4px;
  gap: 4px;
}
.dash-filter-pill {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 32px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dash-filter-btn-color);
  cursor: pointer;
  border: none;
  background: transparent;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dash-filter-pill:hover:not(.dash-filter-pill--active) {
  background: var(--dash-filter-btn-hover-bg);
  color: var(--dash-filter-btn-hover-color);
}
.dash-filter-pill--active {
  background: #0a4a8c;
  color: #fff;
  -webkit-box-shadow: 0 2px 8px rgba(10, 74, 140, 0.28);
          box-shadow: 0 2px 8px rgba(10, 74, 140, 0.28);
}
[data-theme='dark'] .dash-filter-pill--active {
  background: #1a5fa8;
  color: #e0f0ff;
}
.filter-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  background: var(--dash-filter-btn-bg);
  color: var(--dash-filter-btn-color);
  border: 1.5px solid var(--dash-filter-btn-border);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  background: var(--dash-filter-btn-hover-bg);
  border-color: var(--dash-filter-btn-hover-border);
  color: var(--dash-filter-btn-hover-color);
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.filter-btn-download {
  background: #0a4a8c;
  color: #fff;
  border-color: #0a4a8c;
  -webkit-box-shadow: 0 2px 8px rgba(10, 74, 140, 0.25);
          box-shadow: 0 2px 8px rgba(10, 74, 140, 0.25);
}
.filter-btn-download:hover {
  background: #073a70 !important;
  border-color: #073a70 !important;
  color: #fff !important;
}
.custom-date-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 14px;
}
.field-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}
.field-label-sm {
  font-size: 12px;
  font-weight: 600;
  color: var(--dash-field-label);
}
.field-input {
  border: 1.5px solid var(--dash-field-input-border) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  color: var(--dash-field-input-color) !important;
  background: var(--dash-field-input-bg) !important;
  height: 38px;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
.field-input:focus {
  border-color: var(--dash-field-input-focus-border) !important;
  -webkit-box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow) !important;
          box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow) !important;
  outline: none !important;
}
.custom-date-input {
  min-width: 150px;
}
.btn-action {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.btn-submit {
  background: #0a4a8c;
  color: #fff;
  -webkit-box-shadow: 0 2px 8px rgba(10, 74, 140, 0.25);
          box-shadow: 0 2px 8px rgba(10, 74, 140, 0.25);
}
.btn-submit:hover:not(:disabled) {
  background: #073a70;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.date-range-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  background: var(--dash-badge-bg);
  border: 1px solid var(--dash-badge-border);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--dash-badge-color);
}
.outlet-selected-text {
  color: #0a4a8c;
}
[data-theme='dark'] .outlet-selected-text {
  color: #5aadff;
}
.form-card {
  background: var(--dash-card-bg);
  border-radius: 6px;
  border: 1px solid var(--dash-card-border);
  -webkit-box-shadow: 0 2px 12px var(--dash-card-shadow);
          box-shadow: 0 2px 12px var(--dash-card-shadow);
  padding: 28px 30px;
  position: relative;
  margin-bottom: 20px;
  -webkit-animation: dash-fadeSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
          animation: dash-fadeSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dash-section-header-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--omak-gold);
  padding-left: 10px;
  margin-bottom: 20px;
}
.section-icon {
  font-size: 14px;
  color: var(--dash-section-header-color);
  opacity: 0.85;
}
.card-desc {
  font-size: 12.5px;
  color: var(--dash-card-desc-color);
  margin: -12px 0 16px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--dash-card-bg);
  border-radius: 6px;
  border: 1px solid var(--dash-card-border);
  -webkit-box-shadow: 0 2px 12px var(--dash-card-shadow);
          box-shadow: 0 2px 12px var(--dash-card-shadow);
  padding: 22px 20px;
  position: relative;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-animation: dash-fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
          animation: dash-fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stats-grid .stat-card:nth-child(1) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
.stats-grid .stat-card:nth-child(2) {
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
.stats-grid .stat-card:nth-child(3) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.stats-grid .stat-card:nth-child(4) {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}
.stats-grid .stat-card:nth-child(5) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.stat-card:hover {
  -webkit-box-shadow: 0 6px 20px var(--dash-card-shadow-hover);
          box-shadow: 0 6px 20px var(--dash-card-shadow-hover);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: var(--dash-item-hover-border);
}
.stat-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--dash-stat-icon-bg);
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 14px;
}
.stat-icon-i {
  font-size: 18px;
  color: #0a4a8c;
}
[data-theme='dark'] .stat-icon-i {
  color: #5aadff;
}
.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--dash-stat-value-color);
  margin-bottom: 4px;
  word-break: break-word;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dash-stat-label-color);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}
.stat-subtitle {
  font-size: 11.5px;
  color: var(--dash-stat-subtitle-color);
}
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.charts-grid-half {
  grid-template-columns: 1fr 1fr !important;
}
.charts-grid-half .chart-card:nth-child(1) {
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
.charts-grid-half .chart-card:nth-child(2) {
  -webkit-animation-delay: 0.22s;
          animation-delay: 0.22s;
}
.charts-grid-four {
  grid-template-columns: repeat(4, 1fr) !important;
}
.charts-grid-four .chart-card:nth-child(1) {
  -webkit-animation-delay: 0.28s;
          animation-delay: 0.28s;
}
.charts-grid-four .chart-card:nth-child(2) {
  -webkit-animation-delay: 0.33s;
          animation-delay: 0.33s;
}
.charts-grid-four .chart-card:nth-child(3) {
  -webkit-animation-delay: 0.38s;
          animation-delay: 0.38s;
}
.charts-grid-four .chart-card:nth-child(4) {
  -webkit-animation-delay: 0.43s;
          animation-delay: 0.43s;
}
.chart-card {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.equal-height-card {
  min-height: 420px;
}
.equal-height-card-sm {
  min-height: 340px;
}
.equal-height-table {
  min-height: 220px;
}
.equal-height-table:nth-of-type(1) {
  -webkit-animation-delay: 0.48s;
          animation-delay: 0.48s;
}
.equal-height-table:nth-of-type(2) {
  -webkit-animation-delay: 0.54s;
          animation-delay: 0.54s;
}
.chart-wrapper {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.chart-slot-wrap {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 220px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.card-body-scroll {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.toggle-switch-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: var(--dash-filter-btn-bg);
  border: 1.5px solid var(--dash-filter-btn-border);
  border-radius: 6px;
  padding: 4px;
  gap: 4px;
}
.radio-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 32px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dash-filter-btn-color);
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.radio-label:hover {
  background: var(--dash-filter-btn-hover-bg);
  color: var(--dash-filter-btn-hover-color);
}
.radio-label input[type='radio'] {
  display: none;
}
.radio-label {
  margin-bottom: 0;
}
.radio-label:has(input[type='radio']:checked) {
  background: #0a4a8c;
  color: #fff;
  -webkit-box-shadow: 0 2px 8px rgba(10, 74, 140, 0.28);
          box-shadow: 0 2px 8px rgba(10, 74, 140, 0.28);
}
[data-theme='dark'] .radio-label:has(input[type='radio']:checked) {
  background: #1a5fa8;
  color: #e0f0ff;
}
.tenant-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}
.tenant-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--dash-item-bg);
  border: 1px solid var(--dash-item-border);
  border-radius: 6px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.tenant-item:hover {
  background: var(--dash-item-hover-bg);
  border-color: var(--dash-item-hover-border);
}
.item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dash-item-name-color);
}
.item-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dash-item-value-color);
}
.item-rate {
  color: var(--dash-item-rate-color);
  font-weight: 500;
  font-size: 11px;
}
.progress-track {
  background: var(--dash-progress-track-bg);
  border-radius: 6px;
  height: 6px;
  overflow: hidden;
}
.progress-fill {
  background: #0a4a8c;
  height: 100%;
  border-radius: 6px;
  -webkit-transition: width 0.4s;
  transition: width 0.4s;
}
[data-theme='dark'] .progress-fill {
  background: #5aadff;
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dash-table thead tr {
  background: var(--dash-table-head-bg);
  border-bottom: 2px solid var(--dash-table-head-border);
}
.dash-table th {
  padding: 12px 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dash-table-th-color);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border-bottom: 2px solid var(--dash-table-head-border);
}
.dash-table td {
  padding: 10px 18px;
  color: var(--dash-table-td-color);
  border-bottom: 1px solid var(--dash-table-td-border);
  font-weight: 500;
  white-space: nowrap;
}
.dash-table .td-accent {
  font-weight: 700;
  color: var(--dash-table-accent-color);
}
.dash-table tbody tr:hover {
  background: var(--dash-table-row-hover-bg);
}
.dash-table tbody tr:last-child td {
  border-bottom: none;
}
.resp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 160px;
}
.breakdown-table-scroll {
  min-height: 220px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.breakdown-table-scroll .dash-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--dash-table-head-bg);
}
.rpt-row td,
.rpt-row th {
  padding: 10px 18px;
  color: var(--dash-table-td-color);
  border-bottom: 1px solid var(--dash-table-td-border);
  font-size: 13px;
  white-space: nowrap;
}
.card-mini-loader {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
}
.mini-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--dash-spinner-border);
  border-top-color: #0a4a8c;
  border-radius: 50%;
  -webkit-animation: mini-spin 0.7s linear infinite;
          animation: mini-spin 0.7s linear infinite;
}
.btn-mini-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: mini-spin 0.7s linear infinite;
          animation: mini-spin 0.7s linear infinite;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.filter-btn-download:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  -webkit-transform: none !important;
          transform: none !important;
}
[data-theme='dark'] .mini-spinner {
  border-top-color: #5aadff;
}
@-webkit-keyframes mini-spin {
to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
}
}
@keyframes mini-spin {
to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
}
}
.empty-state {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  min-height: 180px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 24px 20px;
}
.empty-state-sm {
  min-height: 140px;
  padding: 16px;
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dash-empty-icon-bg);
  color: var(--dash-empty-icon-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.empty-state-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dash-empty-title-color);
  margin: 0 0 4px 0;
}
.empty-state-desc {
  font-size: 12px;
  color: var(--dash-empty-desc-color);
  margin: 0;
  max-width: 260px;
}
.no-permission {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 60vh;
  text-align: center;
}
.no-perm-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dash-no-perm-title);
  margin: 0 0 8px 0;
}
.no-perm-desc {
  font-size: 14px;
  color: var(--dash-no-perm-desc);
  margin: 0;
}
.header-text {
  color: var(--dash-page-title);
}
.print-only-block {
  text-align: center;
  padding: 16px;
  position: absolute;
  left: -9999px;
  top: 0;
  width: 800px;
  background: #fff;
}
.print-only-block .header-text {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
}
.floating-ai-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a4a8c, #1a7de8);
  color: #fff;
  border: none;
  -webkit-box-shadow: 0 4px 20px rgba(10, 74, 140, 0.45);
          box-shadow: 0 4px 20px rgba(10, 74, 140, 0.45);
  z-index: 2001;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 22px;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.floating-ai-btn:hover {
  -webkit-transform: translateY(-3px) scale(1.06);
          transform: translateY(-3px) scale(1.06);
  -webkit-box-shadow: 0 8px 28px rgba(10, 74, 140, 0.55);
          box-shadow: 0 8px 28px rgba(10, 74, 140, 0.55);
}
.ai-chat-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 0 28px 100px 0;
}
.ai-chat-popup-modal {
  background: var(--dash-card-bg);
  border-radius: 6px;
  -webkit-box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
          box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  width: 340px;
  height: 420px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dash-card-border);
  position: relative;
}
.ai-chat-header {
  background: linear-gradient(135deg, #063872, #1a7de8);
  color: #fff;
  padding: 14px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.ai-chat-header-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.ai-header-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.ai-chat-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.ai-chat-status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  font-size: 11px;
  opacity: 0.82;
  margin-top: 2px;
}
.ai-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  -webkit-box-shadow: 0 0 6px #4ade80;
          box-shadow: 0 0 6px #4ade80;
  -webkit-animation: statusPulse 2s ease-in-out infinite;
          animation: statusPulse 2s ease-in-out infinite;
}
@-webkit-keyframes statusPulse {
0%,
  100% {
    opacity: 1;
}
50% {
    opacity: 0.5;
}
}
@keyframes statusPulse {
0%,
  100% {
    opacity: 1;
}
50% {
    opacity: 0.5;
}
}
.close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.ai-chat-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 16px;
  background: var(--dash-ai-body-bg);
  overflow-y: auto;
}
.ai-chat-conversation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.ai-chat-msg {
  max-width: 82%;
  -webkit-animation: msgIn 0.22s ease both;
          animation: msgIn 0.22s ease both;
}
@-webkit-keyframes msgIn {
from {
    opacity: 0;
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
@keyframes msgIn {
from {
    opacity: 0;
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
}
to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
}
.ai-chat-msg.user {
  -ms-flex-item-align: end;
      align-self: flex-end;
}
.ai-chat-msg.ai {
  -ms-flex-item-align: start;
      align-self: flex-start;
}
.ai-chat-msg-text {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}
.ai-chat-msg.user .ai-chat-msg-text {
  background: var(--dash-ai-msg-user-bg);
  color: #fff;
}
.ai-chat-msg.ai .ai-chat-msg-text {
  background: var(--dash-ai-msg-ai-bg);
  color: var(--dash-ai-msg-ai-color);
  border: 1px solid var(--dash-ai-msg-ai-border);
}
.ai-chat-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--dash-ai-footer-bg);
  border-top: 1px solid var(--dash-ai-footer-border);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.ai-chat-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1.5px solid var(--dash-ai-input-border);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  background: var(--dash-field-input-bg);
  color: var(--dash-field-input-color);
  outline: none;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
}
.ai-chat-input:focus {
  border-color: #1a7de8;
}
.ai-chat-input:disabled {
  opacity: 0.6;
}
.ai-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0a4a8c, #1a7de8);
  color: #fff;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 14px;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  -webkit-box-shadow: 0 2px 8px rgba(10, 74, 140, 0.3);
          box-shadow: 0 2px 8px rgba(10, 74, 140, 0.3);
}
.ai-chat-send:hover:not(:disabled) {
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
}
.ai-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ai-chat-loading-overlay {
  position: absolute;
  inset: 0;
  background: var(--dash-ai-loading-bg);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 6px;
}
.ai-loading-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}
.ai-chat-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--dash-spinner-border);
  border-top-color: #1a7de8;
  border-radius: 50%;
  -webkit-animation: ai-spin 0.8s linear infinite;
          animation: ai-spin 0.8s linear infinite;
}
[data-theme='dark'] .ai-chat-loading-spinner {
  border-top-color: #5aadff;
}
@-webkit-keyframes ai-spin {
to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
}
}
@keyframes ai-spin {
to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
}
}
.ai-chat-loading-text {
  color: var(--dash-ai-loading-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
}
@media (max-width: 1400px) {
.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 1200px) {
.charts-grid-four {
    grid-template-columns: 1fr 1fr !important;
}
}
@media (max-width: 900px) {
.header-filter-actions {
    width: 100%;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}
.header-outlet-wrap,
  .outlet-trigger-btn {
    min-width: unset;
    width: 100%;
}
.stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}
.charts-grid,
  .charts-grid-half,
  .charts-grid-four {
    grid-template-columns: 1fr !important;
}
.equal-height-card,
  .equal-height-card-sm {
    min-height: unset;
}
.form-card {
    padding: 20px 16px;
}
.custom-date-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}
.custom-date-input {
    width: 100%;
}
.ai-chat-popup-overlay {
    padding: 0;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.ai-chat-popup-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 6px 6px 0 0;
    height: 70vh;
}
.floating-ai-btn {
    bottom: 20px;
    right: 20px;
}
}
@media (max-width: 600px) {
.stats-grid {
    grid-template-columns: 1fr !important;
}
.page-title {
    font-size: 18px !important;
}
.page-subtitle {
    font-size: 12px !important;
}
.dash-filter-pill {
    font-size: 11.5px !important;
    padding: 0 12px !important;
    height: 28px !important;
}
.dash-table th,
  .dash-table td {
    padding: 8px 10px !important;
    font-size: 12px !important;
}
.section-header {
    font-size: 12px !important;
}
}
.drp-wrap {
  position: relative;
}
.drp-trigger {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid var(--dash-field-input-border);
  border-radius: 6px;
  background: var(--dash-field-input-bg);
  color: var(--dash-field-input-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-width: 220px;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.drp-trigger:hover,
.drp-trigger.open {
  border-color: #0a4a8c;
  -webkit-box-shadow: 0 0 0 3px rgba(10, 74, 140, 0.1);
          box-shadow: 0 0 0 3px rgba(10, 74, 140, 0.1);
}
[data-theme='dark'] .drp-trigger:hover,
[data-theme='dark'] .drp-trigger.open {
  border-color: #5aadff;
  -webkit-box-shadow: 0 0 0 3px rgba(90, 173, 255, 0.12);
          box-shadow: 0 0 0 3px rgba(90, 173, 255, 0.12);
}
.drp-label {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: left;
}
.drp-placeholder {
  color: var(--dash-stat-subtitle-color);
  font-weight: 400;
}
.drp-chevron {
  opacity: 0.5;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.drp-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  background: var(--dash-card-bg, #fff);
  border: 1.5px solid var(--dash-field-input-border);
  border-radius: 12px;
  -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 340px;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  z-index: 9999;
}
.drp-presets {
  width: 148px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-right: 1px solid var(--dash-card-border);
  padding: 12px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
}
.drp-preset {
  display: block;
  width: 100%;
  padding: 9px 18px;
  text-align: left;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--dash-filter-btn-color);
  cursor: pointer;
  -webkit-transition: background 0.15s, color 0.15s;
  transition: background 0.15s, color 0.15s;
}
.drp-preset:hover {
  background: var(--dash-badge-bg);
  color: #0a4a8c;
}
.drp-preset.active {
  background: #0a4a8c;
  color: #fff;
}
[data-theme='dark'] .drp-preset.active {
  background: #1a5fa8;
  color: #e0f0ff;
}
.drp-divider {
  height: 1px;
  background: var(--dash-card-border);
  margin: 8px 12px;
}
.drp-reset {
  display: block;
  width: 100%;
  padding: 8px 18px;
  text-align: left;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #0a4a8c;
  cursor: pointer;
  -webkit-transition: background 0.15s;
  transition: background 0.15s;
}
[data-theme='dark'] .drp-reset {
  color: #5aadff;
}
.drp-reset:hover {
  background: var(--dash-badge-bg);
}
.drp-calendar-area {
  padding: 16px 20px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.cal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 14px;
}
.cal-month-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dash-page-title);
}
.cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--dash-filter-btn-color);
  -webkit-transition: background 0.15s;
  transition: background 0.15s;
}
.cal-nav:hover {
  background: var(--dash-badge-bg);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--dash-stat-subtitle-color);
  padding: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.cal-day {
  width: 34px;
  height: 34px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--dash-field-input-color);
  -webkit-transition: background 0.12s, color 0.12s;
  transition: background 0.12s, color 0.12s;
}
.cal-day:hover:not(.other-month):not(.in-range):not(.range-start):not(.range-end) {
  background: var(--dash-badge-bg);
  color: #0a4a8c;
}
.cal-day.other-month {
  color: var(--dash-stat-subtitle-color);
  opacity: 0.35;
  pointer-events: none;
}
.cal-day.range-start,
.cal-day.range-end {
  background: #0a4a8c;
  color: #fff !important;
  font-weight: 700;
}
[data-theme='dark'] .cal-day.range-start,
[data-theme='dark'] .cal-day.range-end {
  background: #1a5fa8;
}
.cal-day.in-range {
  background: #d2e7ff;
  color: #0a4a8c;
  border-radius: 0;
}
[data-theme='dark'] .cal-day.in-range {
  background: #1a2744;
  color: #5aadff;
}
.cal-day.range-start {
  border-radius: 6px 0 0 6px;
}
.cal-day.range-end {
  border-radius: 0 6px 6px 0;
}
.cal-day.range-start.range-end {
  border-radius: 6px;
}
.cal-day.today-marker {
  outline: 2px solid var(--omak-gold);
  outline-offset: -2px;
}
.drp-footer {
  border-top: 1px solid var(--dash-card-border);
  padding: 12px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
}
.drp-range-display {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--dash-stat-subtitle-color);
}
.drp-range-val {
  font-weight: 700;
  color: #0a4a8c;
}
[data-theme='dark'] .drp-range-val {
  color: #5aadff;
}
.drp-apply {
  height: 34px;
  padding: 0 18px;
  border-radius: 6px;
  border: none;
  background: #0a4a8c;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.drp-apply:hover:not(:disabled) {
  background: #073a70;
}
.drp-apply:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 1100px) {
.drp-panel {
    min-width: unset;
    max-width: calc(100vw - 24px);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.drp-presets {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--dash-card-border);
    padding: 8px;
}
.drp-preset {
    width: auto;
}
}

/* ══════════════════════════════════════════════════════
   NEWLY ADDED — CLICKABLE / DETAIL-VIEW STYLES
   ══════════════════════════════════════════════════════ */
.stat-card--clickable {
  cursor: pointer;
  -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  position: relative;
}
.stat-card--clickable:hover {
  -webkit-box-shadow: 0 6px 24px var(--dash-card-shadow-hover);
          box-shadow: 0 6px 24px var(--dash-card-shadow-hover);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  border-color: var(--dash-item-hover-border);
}
.stat-card-hint {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dash-section-header-color);
  opacity: 0.6;
  text-align: right;
  letter-spacing: 0.2px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.stat-card--clickable:hover .stat-card-hint {
  opacity: 1;
}
.chart-card--clickable {
  cursor: pointer;
  -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
}
.chart-card--clickable:hover {
  -webkit-box-shadow: 0 6px 24px var(--dash-card-shadow-hover);
          box-shadow: 0 6px 24px var(--dash-card-shadow-hover);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: var(--dash-item-hover-border);
}
.chart-nav-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dash-section-header-color);
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.top-item-row {
  cursor: pointer;
  -webkit-transition: background 0.15s ease, border-color 0.15s ease,
    -webkit-transform 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease,
    -webkit-transform 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, -webkit-transform 0.15s ease;
}
.top-item-row:hover {
  background: var(--dash-item-hover-bg) !important;
  border-color: var(--dash-item-hover-border) !important;
  -webkit-transform: translateX(2px);
          transform: translateX(2px);
}
.dash-nav-row {
  cursor: pointer;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
}
.dash-nav-row:hover {
  background: var(--dash-item-hover-bg) !important;
}
.dash-nav-arrow-cell {
  text-align: center;
  width: 32px;
}
.dash-nav-arrow {
  display: inline-block;
  font-size: 14px;
  color: var(--dash-section-header-color);
  opacity: 0.45;
  -webkit-transition: opacity 0.15s, -webkit-transform 0.15s;
  transition: opacity 0.15s, -webkit-transform 0.15s;
  transition: opacity 0.15s, transform 0.15s;
  transition: opacity 0.15s, transform 0.15s, -webkit-transform 0.15s;
  font-weight: 600;
}
.dash-nav-row:hover .dash-nav-arrow {
  opacity: 1;
  -webkit-transform: translateX(3px);
          transform: translateX(3px);
}
.dash-nav-row--with-hint:hover {
  border-left: 3px solid var(--dash-section-header-color);
}
[data-theme='dark'] .dash-nav-row--with-hint:hover {
  border-left: 3px solid #5aadff;
}
.dash-drill-row {
  cursor: pointer;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
}
.dash-drill-row:hover {
  background: var(--dash-item-hover-bg) !important;
}
.dash-drill-row--active {
  background: var(--dash-badge-bg) !important;
  border-left: 3px solid var(--dash-section-header-color);
}
[data-theme='dark'] .dash-drill-row--active {
  background: #1e2d45 !important;
  border-left: 3px solid #5aadff;
}
.dash-drill-total-row td {
  font-weight: 700 !important;
  color: var(--dash-table-accent-color) !important;
  background: var(--dash-badge-bg) !important;
  border-top: 1.5px solid var(--dash-badge-border) !important;
}
[data-theme='dark'] .dash-drill-total-row td {
  background: #1e2d45 !important;
  border-top-color: #2a3f5f !important;
}
.dash-back-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--dash-filter-btn-border);
  background: var(--dash-filter-btn-bg);
  color: var(--dash-filter-btn-color);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 36px;
}
.dash-back-btn:hover {
  background: var(--dash-filter-btn-hover-bg);
  border-color: var(--dash-filter-btn-hover-border);
  color: var(--dash-filter-btn-hover-color);
  -webkit-transform: translateX(-2px);
          transform: translateX(-2px);
}
.detail-header-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.detail-two-col {
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}
.detail-filter-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 20px;
  background: var(--dash-card-bg);
  border: 1px solid var(--dash-card-border);
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 12px var(--dash-card-shadow);
          box-shadow: 0 2px 12px var(--dash-card-shadow);
}
.detail-filter-bar-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.detail-filter-bar-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.detail-filter-count-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: var(--dash-badge-bg);
  color: var(--dash-section-header-color);
  border: 1px solid var(--dash-badge-border);
  vertical-align: middle;
}
.detail-search-wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.detail-search-icon {
  position: absolute;
  left: 10px;
  color: var(--dash-stat-subtitle-color);
  pointer-events: none;
  font-size: 12px;
}
.detail-search-input {
  border: 1.5px solid var(--dash-field-input-border);
  border-radius: 6px;
  padding: 0 32px 0 32px;
  font-size: 13px;
  color: var(--dash-field-input-color);
  background: var(--dash-field-input-bg);
  height: 36px;
  width: 230px;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
  outline: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.detail-search-input:focus {
  border-color: var(--dash-field-input-focus-border);
  -webkit-box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow);
          box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow);
}
.detail-search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dash-stat-subtitle-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
  -webkit-transition: color 0.15s;
  transition: color 0.15s;
}
.detail-search-clear:hover {
  color: var(--dash-field-input-color);
}
.detail-method-select {
  padding-left: 10px !important;
  padding-right: 10px !important;
  cursor: pointer;
  font-size: 13px !important;
  height: 36px !important;
}
.detail-clear-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 36px;
  border-radius: 6px;
  border: 1.5px solid var(--dash-filter-btn-border);
  background: var(--dash-filter-btn-bg);
  color: var(--dash-filter-btn-color);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.detail-clear-btn:hover {
  background: var(--dash-filter-btn-hover-bg);
  border-color: var(--dash-filter-btn-hover-border);
  color: var(--dash-filter-btn-hover-color);
}
.detail-method-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--dash-badge-bg);
  color: var(--dash-section-header-color);
  border: 1px solid var(--dash-badge-border);
  white-space: nowrap;
}
[data-theme='dark'] .detail-method-badge {
  background: #1e2d45;
  color: #93c5fd;
  border-color: #2a3f5f;
}
.detail-hour-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--dash-stat-icon-bg);
  color: var(--dash-table-th-color);
  border: 1px solid var(--dash-badge-border);
  white-space: nowrap;
}
[data-theme='dark'] .detail-hour-badge {
  background: #1a2744;
  color: #5aadff;
  border-color: #2a3f5f;
}
.channel-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.channel-badge--dinein {
  background: #dbeafe;
  color: #1e40af;
}
.channel-badge--takeaway {
  background: #d1fae5;
  color: #065f46;
}
.channel-badge--delivery {
  background: #fef3c7;
  color: #92400e;
}
[data-theme='dark'] .channel-badge--dinein {
  background: #1e2d45;
  color: #93c5fd;
}
[data-theme='dark'] .channel-badge--takeaway {
  background: #1a3028;
  color: #6ee7b7;
}
[data-theme='dark'] .channel-badge--delivery {
  background: #2d2010;
  color: #fcd34d;
}
.detail-view-summary-card {
  background: var(--dash-item-bg);
  border: 1px solid var(--dash-item-border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 24px;
  -webkit-animation: dash-fadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
          animation: dash-fadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.detail-view-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px 24px;
}
.detail-summary-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--dash-card-bg);
  border: 1px solid var(--dash-card-border);
  border-radius: 6px;
  -webkit-transition: -webkit-box-shadow 0.15s;
  transition: -webkit-box-shadow 0.15s;
  transition: box-shadow 0.15s;
  transition: box-shadow 0.15s, -webkit-box-shadow 0.15s;
}
.detail-summary-item--accent {
  border-color: var(--dash-section-header-color);
  background: var(--dash-badge-bg);
}
[data-theme='dark'] .detail-summary-item--accent {
  border-color: #5aadff;
  background: #1e2d45;
}
.detail-summary-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dash-stat-subtitle-color);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.detail-summary-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--dash-stat-value-color);
  word-break: break-word;
}
.detail-summary-item--accent .detail-summary-value {
  color: var(--dash-table-accent-color);
  font-size: 16px;
}
.payment-summary-scroll {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
}

/* ── Credit Notes card ── */
.cn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 28px 24px 28px;
}
@media (max-width: 900px) {
.detail-filter-bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}
.detail-filter-bar-right {
    width: 100%;
}
.detail-search-input {
    width: 100%;
    min-width: 0;
}
.detail-method-select {
    width: 100% !important;
    min-width: 0 !important;
}
.detail-two-col {
    grid-template-columns: 1fr !important;
}
.detail-view-summary-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}
.cn-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.detail-view-summary-grid {
    grid-template-columns: 1fr !important;
}
.detail-header-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 10px;
}
.cn-grid {
    grid-template-columns: 1fr;
}
}

/* ══════════════════════════════════════════
   DETAIL-VIEW CHART SIZING FIX
   ══════════════════════════════════════════ */
.hourly-detail-chart-box {
  position: relative;
  width: 100%;
  height: 340px;
  min-height: 340px;
}
.hourly-detail-chart-box canvas {
  width: 100% !important;
  height: 100% !important;
  max-height: 340px !important;
}
.donut-detail-box {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.donut-detail-box canvas {
  width: 100% !important;
  height: auto !important;
  max-width: 380px !important;
  max-height: 380px !important;
  aspect-ratio: 1 / 1 !important;
}
.detail-two-col .chart-card {
  overflow: visible;
  min-height: 480px;
}
@media (max-width: 900px) {
.hourly-detail-chart-box {
    height: 280px;
    min-height: 280px;
}
.hourly-detail-chart-box canvas {
    max-height: 280px !important;
}
.donut-detail-box,
  .donut-detail-box canvas {
    max-width: 220px !important;
    max-height: 220px !important;
}
}
@media (max-width: 600px) {
.hourly-detail-chart-box {
    height: 240px;
    min-height: 240px;
}
.hourly-detail-chart-box canvas {
    max-height: 240px !important;
}
.donut-detail-box,
  .donut-detail-box canvas {
    max-width: 190px !important;
    max-height: 190px !important;
}
}
@media (max-width: 900px) {
.hourly-detail-chart-box {
    height: 280px;
    min-height: 280px;
}
.hourly-detail-chart-box canvas {
    max-height: 280px !important;
}
.donut-detail-box,
  .donut-detail-box canvas {
    max-width: 300px !important;
    max-height: 300px !important;
}
}
@media (max-width: 600px) {
.hourly-detail-chart-box {
    height: 240px;
    min-height: 240px;
}
.hourly-detail-chart-box canvas {
    max-height: 240px !important;
}
.donut-detail-box,
  .donut-detail-box canvas {
    max-width: 260px !important;
    max-height: 260px !important;
}
}

/* ══════════════════════════════════════════
   SHIFT DETAILS — MAX HEIGHT + SCROLL
   ══════════════════════════════════════════ */
.shift-table-scroll {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.shift-table-scroll .dash-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--dash-table-head-bg);
}
.drp-reset-inline {
  background: none;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #0a4a8c;
  cursor: pointer;
  padding: 0 6px;
  height: 34px;
}
.drp-reset-inline:hover {
  text-decoration: underline;
}
[data-theme='dark'] .drp-reset-inline {
  color: #5aadff;
}
.drp-date-fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  padding: 18px 20px 14px 20px;
}
.drp-date-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
.drp-date-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dash-field-label);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
}
.drp-date-input {
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--dash-field-input-border);
  border-radius: 6px;
  background: var(--dash-field-input-bg);
  color: var(--dash-field-input-color);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  width: 100%;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
.drp-date-input:focus {
  border-color: var(--dash-field-input-focus-border);
  -webkit-box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow);
          box-shadow: 0 0 0 3px var(--dash-field-input-focus-shadow);
}
.drp-date-fields + .drp-footer {
  min-width: 380px;
}
@media (max-width: 600px) {
.drp-date-fields {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.drp-date-fields + .drp-footer {
    min-width: 0;
}
}

