@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --sidebar-bg: #0f172a;
  --sidebar-link-gap: 0.35rem;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #f8fafc;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.sidebar-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-active {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: scale(1) !important;
}

.nav-link.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

/* Animation for History Popups */
@keyframes slideInUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.mobile-bottom-sheet {
  animation: slideInUp 0.3s ease-out;
}

/* Hide sections */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}


/* ============================================================ */
/* MODAL SYSTEM                                                  */
/* ============================================================ */
.custom-input:focus {
  border-color: #2563eb !important;
  background-color: #fff !important;
}

@media (max-width: 575.98px) {
  .rounded-mobile-none {
    border-radius: 0 !important;
  }
}

@media (min-width: 576px) {
  .rounded-desktop-3xl {
    border-radius: 2.5rem !important;
  }
}

.modal-backdrop.show {
  opacity: 0.65 !important;
  background-color: #0f172a !important;
  backdrop-filter: blur(4px);
}

.modal-backdrop {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.modal-content {
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35) !important;
}


/* ============================================================ */
/* TOAST SYSTEM                                                  */
/* ============================================================ */
@keyframes toast-in {
  0%   { transform: translateX(100%) scale(0.7); opacity: 0; }
  70%  { transform: translateX(-15px) scale(1.05); }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toast-out {
  0%   { transform: scale(1); opacity: 1; }
  30%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.4) translateX(100%); opacity: 0; }
}

@keyframes progress-load {
  0%   { width: 100%; }
  100% { width: 0%; }
}

.toast-card {
  animation: toast-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.4s ease;
}

.toast-card.exit {
  animation: toast-out 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

.toast-progress {
  animation: progress-load 5s linear forwards;
}


/* ============================================================ */
/* SIDEBAR                                                       */
/* ============================================================ */
#sidebar {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
  width: 18rem;
  z-index: 100;
  overflow: hidden !important;
}

/* Tighter spacing between sidebar nav links */
#sidebar nav {
  gap: var(--sidebar-link-gap);
}

#sidebar nav .nav-link {
  padding-top: 0.7rem !important;
  padding-bottom: 0.7rem !important;
}

/* Slightly tighter logo row */
#sidebar > .h-24 {
  height: 5rem;
  margin-bottom: 0.75rem !important;
}

@media (min-width: 1024px) {
  #sidebar.collapsed {
    width: 5.5rem;
  }

  #sidebar.collapsed .nav-text {
    display: none;
  }

  #sidebar.expanding .nav-text {
    opacity: 0;
  }

  #sidebar .nav-text {
    white-space: nowrap;
    transition: opacity 0.15s ease;
  }

  #sidebar.collapsed .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  #sidebar.collapsed .nav-link.active {
    background: var(--primary);
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* TOOLTIPS */
  .sidebar-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 1rem;
    background: #1e293b;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  #sidebar.collapsed .nav-link:hover .sidebar-tooltip,
  #sidebar.collapsed .group:hover .sidebar-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
  }

  .sidebar-tooltip::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid #1e293b;
  }
}

@media (max-width: 1023px) {
  .sidebar-tooltip {
    display: none !important;
  }
  #sidebar.collapsed {
    width: 18rem;
  }
}

/* COMPACT TABLE ROWS */
.compact-table th,
.compact-table td {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* hide scroll bars on sidebar */
.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}


/* ============================================================ */
/* TRANSACTION TABLE (no wrap)                                   */
/* ============================================================ */
.transaction-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.transaction-table {
  width: max-content;
  min-width: 100%;
}
.transaction-table th,
.transaction-table td {
  white-space: nowrap;
}


/* ============================================================ */
/* REPORT — PREMIUM PRINTABLE STYLES                            */
/* ============================================================ */
#report-printable,
#monthly-report-printable {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #1e293b;
}

/* DIAGONAL WATERMARK */
.report-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
}

.report-watermark > span {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  color: rgba(37, 99, 235, 0.07);
  transform: rotate(-32deg);
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* HEADER / LETTERHEAD */
.report-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #2563eb;
  position: relative;
  z-index: 1;
}

.report-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.report-logo {
  width: 5rem;
  height: 5rem;
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.5rem;
  border: 2px solid #dbeafe;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10);
  flex-shrink: 0;
}

.report-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-company {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1e40af;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.report-tagline {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0.2rem 0 0.35rem 0;
}

.report-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.report-generated-by {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin: 0.15rem 0 0 0;
}

.report-header-right {
  text-align: right;
}

.report-date-badge {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
}

.report-date-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1e40af;
  margin-bottom: 0.2rem;
}

.report-date-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: #1e3a8a;
}

/* SECTION HEADERS */
.report-section {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.report-section-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem 0.75rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.report-heading-blue {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.report-heading-green {
  background: linear-gradient(135deg, #047857, #10b981);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.report-heading-amber {
  background: linear-gradient(135deg, #b45309, #f59e0b);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.report-section-heading i {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* TABLES */
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.report-table thead th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid #cbd5e1;
  text-align: left;
  white-space: nowrap;
}

.report-table thead th.text-right  { text-align: right; }
.report-table thead th.text-center { text-align: center; }

.report-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
}

.report-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.report-table tbody td.text-right  { text-align: right; }
.report-table tbody td.text-center { text-align: center; }

.report-table tbody .amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Totals / balance rows — single consistent blue highlight */
.report-table tbody tr.bg-slate-50 {
  background: linear-gradient(90deg, #dbeafe, #eff6ff) !important;
  border-top: 2px solid #2563eb;
  border-bottom: 2px solid #2563eb;
}

.report-table tbody tr.bg-slate-50 td {
  font-weight: 900;
  color: #1e3a8a;
}

/* Final row (Balance) => green highlight */
.report-table tbody tr.bg-slate-50:last-child {
  background: linear-gradient(90deg, #d1fae5, #ecfdf5) !important;
  border-top: 2px solid #059669;
  border-bottom: 2px solid #059669;
}

.report-table tbody tr.bg-slate-50:last-child td {
  color: #065f46;
}

.report-table tfoot td {
  padding: 0.85rem 1rem;
  font-weight: 800;
  border-top: 2px solid #cbd5e1;
  background: #f1f5f9;
}

/* Expense total — amber, matching the amber expenses heading */
.report-expense-total-row td {
  background: linear-gradient(90deg, #fef3c7, #fffbeb) !important;
  color: #92400e !important;
  font-weight: 900 !important;
  border-top: 2px solid #f59e0b !important;
}

/* FOOTER */
.report-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 2px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.report-footer-brand {
  color: #2563eb;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SIGNATURE ROW */
.report-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.report-signature {
  text-align: center;
}

.report-signature-line {
  border-top: 1px solid #cbd5e1;
  margin-bottom: 0.5rem;
  padding-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}


/* ============================================================ */
/* MONTHLY REPORT — PREMIUM SUMMARY CARDS + COMPACT TABLE       */
/* ============================================================ */
.monthly-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.monthly-kpi {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.monthly-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.monthly-kpi-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.monthly-kpi-blue   .monthly-kpi-icon { background: #dbeafe; color: #1d4ed8; }
.monthly-kpi-amber  .monthly-kpi-icon { background: #fef3c7; color: #b45309; }
.monthly-kpi-green  .monthly-kpi-icon { background: #d1fae5; color: #047857; }
.monthly-kpi-red    .monthly-kpi-icon { background: #fee2e2; color: #b91c1c; }
.monthly-kpi-teal   .monthly-kpi-icon { background: #ccfbf1; color: #0f766e; }
.monthly-kpi-purple .monthly-kpi-icon { background: #ede9fe; color: #6d28d9; }
.monthly-kpi-indigo .monthly-kpi-icon { background: #e0e7ff; color: #4338ca; }

.monthly-kpi-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.15rem 0;
}

.monthly-kpi-value {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

/* Fit monthly tables inside printable area — no horizontal scroll */
.report-table-fit {
  width: 100%;
  overflow-x: auto;
}

.report-table-monthly {
  width: 100%;
  table-layout: auto;
  min-width: 0 !important;
}

.report-table-monthly thead th {
  font-size: 0.62rem;
  padding: 0.55rem 0.5rem;
}

.report-table-monthly tbody td,
.report-table-monthly tfoot td {
  padding: 0.5rem 0.5rem;
  font-size: 0.72rem;
}


/* ============================================================ */
/* DIAGONAL HEADER TEXT — MONTHLY REPORT (COMPACT + 2-LINE)     */
/* ============================================================ */
.report-table-diagonal thead th {
  position: relative;
  height: 5.5rem;
  min-width: 3.4rem;
  padding: 0.35rem 0.3rem !important;
  vertical-align: bottom;
  overflow: visible;
  white-space: normal;
  line-height: 1.05;
  text-align: left;

  background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
  border-bottom: 2px solid #86efac !important;
  color: #065f46;
}

.report-table-diagonal thead th.diag-cell {
  min-width: 3.8rem;
  overflow: visible;

  background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
  border-bottom: 2px solid #86efac !important;
}

.report-table-diagonal thead th.diag-cell .diag-text {
  display: inline-block;
  position: absolute;
  bottom: 0.35rem;
  left: 0.35rem;
  transform-origin: left bottom;
  transform: rotate(-45deg);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;

  color: #065f46;

  white-space: normal;
  width: max-content;
  max-width: 5rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.05;
  text-align: left;
  z-index: 1;
}

.report-table-diagonal thead th.diag-cell.text-right .diag-text {
  text-align: right;
}

.report-table-diagonal thead th.diag-cell.text-center .diag-text {
  text-align: center;
}

.report-table-diagonal thead th.diag-cell .diag-text.amount {
  font-variant-numeric: tabular-nums;
}

.report-table-diagonal thead th:not(.diag-cell) {
  height: auto;
  vertical-align: middle;
  white-space: nowrap;
  padding: 0.85rem 0.6rem !important;
}


/* ============================================================ */
/* PRINT — GLOBAL RESET + REPORT FLOW                           */
/* ============================================================ */
@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  html, body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ---- Kill app chrome so it doesn't reserve a blank page ---- */
  #sidebar,
  #sidebar-backdrop,
  #main-app > aside,
  #main-app > main > header,
  #main-app > main > #content-viewport > section.page-section:not(.active) {
    display: none !important;
  }

  /* ---- Collapse the scroll viewport so report starts at top -- */
  #main-app,
  #main-app > main,
  #main-app > main > #content-viewport,
  #content-viewport {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
  }

  /* ---- Only active section prints ---- */
  section.page-section {
    display: none !important;
  }

  section.page-section.active {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #reports .no-print,
  .no-print {
    display: none !important;
  }

  /* ---- Only visible report view prints ---- */
  #daily-report-view.hidden,
  #monthly-report-view.hidden {
    display: none !important;
  }

  #daily-report-view,
  #monthly-report-view {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ---- Both printable containers flow naturally ---- */
  #report-printable,
  #monthly-report-printable {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    overflow: visible !important;
    break-before: auto !important;
    page-break-before: auto !important;
    break-after: auto !important;
    page-break-after: auto !important;
  }

  /* ---- Print color fidelity ---- */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  .report-watermark > span {
    color: rgba(37, 99, 235, 0.08) !important;
    font-size: 5rem !important;
  }

  /* ---- Tables fit page width, no horizontal scroll ---- */
  #report-printable table,
  #monthly-report-printable table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    font-size: 10px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  #report-printable th,
  #report-printable td,
  #monthly-report-printable th,
  #monthly-report-printable td {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  /* ---- Repeat table headers on every page ---- */
  #report-printable thead,
  #monthly-report-printable thead {
    display: table-header-group !important;
  }

  #report-printable tfoot,
  #monthly-report-printable tfoot {
    display: table-footer-group !important;
  }

  /* ---- Never split rows/sections across pages ---- */
  #report-printable tr,
  #report-printable .report-section,
  #report-printable .report-signatures,
  #report-printable .report-footer,
  #report-printable .report-header,
  #monthly-report-printable tr,
  #monthly-report-printable .report-section,
  #monthly-report-printable .report-signatures,
  #monthly-report-printable .report-footer,
  #monthly-report-printable .report-header {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #report-printable .report-header,
  #monthly-report-printable .report-header {
    break-after: avoid !important;
    page-break-after: avoid !important;
  }

  #report-printable p,
  #report-printable .report-section-heading,
  #monthly-report-printable p,
  #monthly-report-printable .report-section-heading {
    orphans: 3;
    widows: 3;
  }

  /* ---- Print color overrides for base report tables ---- */
  .report-table thead th {
    background: #1e40af !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
  }

  .report-table tbody tr:nth-child(even) {
    background: #f8fafc !important;
  }

  .report-table tbody tr.bg-slate-50 {
    background: #dbeafe !important;
  }

  .report-expense-total-row td {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-top: 2px solid #f59e0b !important;
  }

  /* ---- MONTHLY PRINT COMPACT ---- */
  .monthly-summary-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
    margin-bottom: 1rem !important;
  }

  .monthly-kpi {
    padding: 0.4rem 0.5rem !important;
    gap: 0.4rem !important;
    border-radius: 0.4rem !important;
  }

  .monthly-kpi-icon {
    width: 1.6rem !important;
    height: 1.6rem !important;
    font-size: 0.65rem !important;
    border-radius: 0.4rem !important;
  }

  .monthly-kpi-label {
    font-size: 0.45rem !important;
    margin-bottom: 0.1rem !important;
  }

  .monthly-kpi-value {
    font-size: 0.68rem !important;
  }

  .report-table-monthly thead th {
    font-size: 0.52rem !important;
    padding: 0.3rem 0.25rem !important;
  }

  .report-table-monthly tbody td,
  .report-table-monthly tfoot td {
    font-size: 0.62rem !important;
    padding: 0.25rem 0.25rem !important;
  }

  /* ---- DIAGONAL HEADERS ON PRINT — compact + 2-line + light green ---- */
  .report-table-diagonal thead th {
    height: 5rem !important;
    min-width: 3rem !important;
    padding: 0.2rem 0.15rem !important;
    overflow: visible !important;

    background: #d1fae5 !important;
    color: #065f46 !important;
    border-bottom: 2px solid #86efac !important;
  }

  .report-table-diagonal thead th.diag-cell {
    min-width: 3.4rem !important;
    overflow: visible !important;

    background: #d1fae5 !important;
    border-bottom: 2px solid #86efac !important;
  }

  .report-table-diagonal thead th.diag-cell .diag-text {
    font-size: 0.44rem !important;
    bottom: 0.25rem !important;
    left: 0.25rem !important;
    max-width: 4.5rem !important;
    width: max-content !important;
    letter-spacing: 0.02em !important;
    line-height: 1.0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;

    color: #065f46 !important;
  }

  .report-table-diagonal thead {
    overflow: visible !important;
  }
}