html {
  --form-invalid-color: #f46a6a;
}

:root {
  --dark: #34495E;
  --light: #ffffff;
  --success: #0ABF30;
  --error: #E24D4C;
  --warning: #E9BD0C;
  --info: #3498DB;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 73px;
  background-color: #fff;
  z-index: 99;
  display: flex;
  align-items: center;
  padding-right: 20px;
  box-shadow: 0 0 30px rgb(12 37 86 / 5%);
}

.layout-wrapper {
  display: flex;
  margin-top: 0;
  height: calc(100vh - 73px);
}

/* Sidebar */
.sidebar {
  width: 260px;
  height: 100%;
  background: #f9f9f9;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: 80px;
}

/* Main content */
.main-content-wrapper {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .container-fluid {
    width: 100%;
    max-width: 100%;
  }
}

.wrapper {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}




.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.comp-box{
    width: 100%;
   background-color:#FFFFFF;

}

.comp-space-items{
    display: flex;
    gap: 12px;
    align-items: center;
    width: 560px;
}

.comp-align{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.comp-title{
    color: #202020;
    font-family: 600;
    font-size:18px;
}

/* SEARCH */
.search-container {
  display: flex;
  margin-right: 8px;
border:1px solid #E7E7E7;
  align-items: center;
  background: #F8FAFC;
  padding: 9px 15px;
  border-radius: 8px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  width: 300px;
}

.search-container i {
  color: #b0b0b0;
  margin-right: 10px;

}

.search-container input {
  border: none;
  outline: none;
  background: none;
  font-weight: 300;
  color: #333;
  flex: 1;
}

.search-container input::placeholder {
  color: #b0b0b0;
}

/* div to hold each row */
.dash-row-wrapper{
   gap: 1%;
    display: flex;
    flex-direction:row ;
    justify-content:space-between;
    flex-wrap: wrap;
    width: 100%;

}




.sup-table-header{
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    min-height: 60px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  /*Filter and search bar*/
  .sup-table-action-wrapper{
    position: relative;
    width: 500px;
    min-height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: right;
    gap: 8px;
  }

    /*Table*/
  .sup-table-responsive{
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow-x: auto;
 }
  .sup-table {
    position: relative;
    /* width: 100%;
    height: 100%; */
    /* min-height: 500px; */
    color: #495057;
    caption-side: bottom;
    border-collapse: collapse;
    vertical-align: top;
    border-color: #f6f6f6;
    overflow-x: auto;
    table-layout:auto;
    width: 100%;
  }
  .sup-table thead tr th{
    font-size: 13px;
    padding: 10px;
    text-align: left;
    color: #898989;
    background-color:#F4F4F4 ;
    font-weight: 400;

  }
  .sup-table thead {
    width: 100%;
    height: 60px;
    overflow-x: auto;
  }
 td {
    width: 100%;
    text-align: left;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-size: 13px;
    color: #202020;
}
tr:nth-child(even){
  background-color: #F6F6F6;
  height: -30px;
}

/*flex table css*/
.sup-table-row-header{
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: row;
  background-color:#F4F4F4 ;
}
.sup-table-cell{
    width: 8%;
    text-align: left;
    padding: 10px;
    white-space: nowrap;  /* Prevents text from wrapping */
    overflow: hidden;      /* Hides overflowing text */
    text-overflow: ellipsis;
    white-space: nowrap; /* Keeps text in one line */
    font-family: 'public sans', serif;
    font-weight: 600;
    font-size: 14px;
    color: #202020;
    display: flex;
    align-items: center;

}

.sup-table-cell-larger{
    width: 22%;
    text-align: left;
    padding: 10px;
    white-space: nowrap;  /* Prevents text from wrapping */
    overflow: hidden;      /* Hides overflowing text */
    text-overflow: ellipsis;
    white-space: nowrap; /* Keeps text in one line */
    font-family: 'public sans', serif;
    font-weight: 600;
    font-size: 14px;
    color: #202020;
    display: flex;
    align-items: center;

}

.sup-table-cell-large{
    width: 12%;
    text-align: left;
    padding: 10px;
    white-space: nowrap;  /* Prevents text from wrapping */
    overflow: hidden;      /* Hides overflowing text */
    text-overflow: ellipsis;
    white-space: nowrap; /* Keeps text in one line */
    font-family: 'public sans', serif;
    font-weight: 600;
    font-size: 14px;
    color: #202020;
    display: flex;
    align-items: center;
}

.sup-table-row:nth-child(odd){
  background-color: #F6F6F6;
}
.sup-table-row{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 57px;
  flex: 1;
}

/* Loading spinner start */
.customers-loading-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
}

.clickable {
  cursor: pointer;
}

.com-buttton{
    width: 141px;
    height: 40px;
    background-color: #2869D4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.vas-select-fields-mini {
  border-radius: 60px;
  background: #f1f1f3 url(/images/dropdown.svg) no-repeat;
  background-position: calc(100% - 0.8rem) center !important;
  background-size: 13px;
  padding: 4px 14px;
  appearance: none;
  border: 0;
  /* margin-top: 5px; */
  font-size: 12px;
  font-weight: 400;
  width: 120px;
  font-family: Nunito !important;
  color: #142a4a;
  min-width: 0;
  height: 35px;
}

.hideWhenBig {
    display: block !important;
  }

  .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-close {
  cursor: pointer;
  font-size: 20px;
}

.popup-body label {
  display: block;
  margin-top: 10px;
}

.popup-body input {
  width: 100%;
  padding: 6px;
  margin-top: 5px;
  box-sizing: border-box;
}

.popup-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.popup-actions button {
  padding: 8px 12px;
}

.popup-actions .cancel {
  background: #ccc;
}

.comp-export-button{
    width: 290px;
    height: 30px;
    font-size: 12px;
    border: 1px solid #ECECEC;
    border-radius: 4px;
    background-color:#2869D4;
    color:#FFFFFF;
    font-weight: 600;
}

.invalid-feedback {
  margin-top: 5px;
  width: 100%;
  margin-bottom: 0.25rem;
  font-size: 87.5%;
  color: var(--form-invalid-color);
}




.notifications {
  position: fixed;
  top: 30px;
  right: 20px;
}
.notifications :where(.toast, .column) {
  display: flex;
  align-items: center;
}
.notifications .toast {
  width: 400px;
  position: relative;
  overflow: hidden;
  list-style: none;
  border-radius: 4px;
  padding: 16px 17px;
  margin-bottom: 10px;
  background: var(--light);
  justify-content: space-between;
  animation: show_toast 0.3s ease forwards;
}
@keyframes show_toast {
  0% {
    transform: translateX(100%);
  }
  40% {
    transform: translateX(-5%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10px);
  }
}
.notifications .toast.hide {
  animation: hide_toast 0.3s ease forwards;
}
@keyframes hide_toast {
  0% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(100% + 20px));
  }
}
.toast::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  animation: progress 5s linear forwards;
}
@keyframes progress {
  100% {
    width: 0%;
  }
}
.toast.success::before, .btn#success {
  background: var(--success);
}
.toast.error::before, .btn#error {
  background: var(--error);
}
.toast.warning::before, .btn#warning {
  background: var(--warning);
}
.toast.info::before, .btn#info {
  background: var(--info);
}
.toast .column i {
  font-size: 1.75rem;
}
.toast.success .column i {
  color: var(--success);
}
.toast.error .column i {
  color: var(--error);
}
.toast.warning .column i {
  color: var(--warning);
}
.toast.info .column i {
  color: var(--info);
}
.toast .column span {
  font-size: 1.07rem;
  margin-left: 12px;
}
.toast i:last-child {
  color: #aeb0d7;
  cursor: pointer;
}
.toast i:last-child:hover {
  color: var(--dark);
}
.buttons .btn {
  border: none;
  outline: none;
  cursor: pointer;
  margin: 0 5px;
  color: var(--light);
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 4px;
}
@media screen and (max-width: 530px) {
  .notifications {
    width: 95%;
  }
  .notifications .toast {
    width: 100%;
    font-size: 1rem;
    margin-left: 20px;
  }
  .buttons .btn {
    margin: 0 1px;
    font-size: 1.1rem;
    padding: 8px 15px;
  }
}


.badge {
  display: inline-block;
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.success-badge {
  font-size: 0.75rem;
  color: #34c38f;
  background-color: rgba(52, 195, 143, 0.18);
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  border-radius: 50rem;
}

.error-badge {
  font-size: 0.75rem;
  color: #f46a6a;
  background-color: rgba(244, 106, 106, 0.25);
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  border-radius: 50rem;
}



.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
}

.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

/* ========== DASHBOARD ========== */

.dash-page {
  padding: 6px 0 32px;
}

/* Header */
.dash-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.dash-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
}

.dash-subtitle {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 3px;
}

.dash-btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.dash-btn-refresh:hover  { background: #F9FAFB; border-color: #D1D5DB; }
.dash-btn-refresh:active { background: #F3F4F6; }

.dash-btn-refresh span {
  font-size: 17px;
  color: #6B7280;
}

/* Shimmer skeleton */
@keyframes shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

.skel {
  background: linear-gradient(90deg, #f0f2f5 25%, #e4e8ed 50%, #f0f2f5 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 6px;
  display: block;
}

/* KPI skeleton pieces */
.skel-label       { width: 60%; height: 12px; }
.skel-icon-sq     { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.skel-value       { width: 50%; height: 32px; margin-bottom: 12px; border-radius: 8px; }
.skel-note-line   { width: 75%; height: 10px; }

/* Month card skeleton pieces */
.skel-month-ttl   { flex: 1; height: 13px; }
.skel-month-tag   { width: 56px; height: 20px; border-radius: 20px; flex-shrink: 0; }
.skel-month-val   { width: 52px; height: 26px; margin-bottom: 8px; border-radius: 6px; }
.skel-month-val-lg{ width: 90px; height: 26px; margin-bottom: 8px; border-radius: 6px; }
.skel-month-lbl   { width: 70px; height: 10px; }

/* Chart skeleton pieces */
.skel-chart-ttl   { width: 180px; height: 14px; margin-bottom: 8px; }
.skel-chart-sub   { width: 260px; height: 10px; }

.skel-bars-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding-top: 10px;
}

.skel-bar-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.skel-bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  justify-content: center;
}

.skel-bar {
  width: 40%;
  max-width: 18px;
  border-radius: 4px 4px 0 0;
}

.skel-bar-lbl { width: 36px; height: 9px; margin-top: 8px; }

/* KPI grid */
.dash-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 1100px) { .dash-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .dash-grid-4 { grid-template-columns: 1fr; } }

/* KPI card */
.dash-kpi-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 6px 24px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.dash-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.09), 0 16px 40px rgba(0,0,0,0.08);
}

.dash-kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dash-kpi-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.45;
  max-width: 72%;
}

.dash-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-kpi-icon span { font-size: 20px; }

.c-blue   { background: rgba(40,105,212,0.1); }
.c-green  { background: rgba(5,150,105,0.1);  }
.c-amber  { background: rgba(245,158,11,0.1); }
.c-violet { background: rgba(124,58,237,0.1); }

.c-blue   span { color: #2869D4; }
.c-green  span { color: #059669; }
.c-amber  span { color: #D97706; }
.c-violet span { color: #7C3AED; }

.dash-kpi-val {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
}

.dash-kpi-val--md { font-size: 1.4rem; }

.dash-kpi-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Trend pill */
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px 8px 2px 4px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.dash-pill span { font-size: 13px; }

.pill-up   { background: rgba(5,150,105,0.1);  color: #059669; }
.pill-down { background: rgba(220,38,38,0.1);  color: #DC2626; }

.dash-vs {
  font-size: 0.72rem;
  color: #9CA3AF;
}

/* Chart card */
.dash-chart-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 6px 24px rgba(0,0,0,0.04);
}

.dash-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 12px;
}

.dash-chart-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.dash-chart-sub {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 2px;
}

.dash-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.dash-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2869D4;
}

.dash-legend-txt {
  font-size: 0.75rem;
  color: #6B7280;
  font-weight: 500;
}

/* Chart layout */
.dash-chart-wrap {
  position: relative;
  height: 220px;
}

/* Horizontal grid lines (behind bars) */
.dash-gridlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
}

.dash-gl {
  display: block;
  width: 100%;
  height: 1px;
  background: #F3F4F6;
}

/* Bars row */
.dash-bars-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  z-index: 1;
}

.dash-bar-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.dash-bar-cell {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.dash-bar-num {
  font-size: 11px;
  font-weight: 600;
  color: #2869D4;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dash-bar-num.visible { opacity: 1; }


.dash-bar-lbl {
  height: 26px;
  font-size: 10px;
  color: #9CA3AF;
  padding-top: 6px;
  white-space: nowrap;
  text-align: center;
}

/* ── Monthly summary cards ── */
.dash-section-gap { margin-top: 16px; }

.dash-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) { .dash-grid-2 { grid-template-columns: 1fr; } }

.dash-month-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 6px 24px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.dash-month-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.09), 0 16px 40px rgba(0,0,0,0.08);
}

.dash-month-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dash-month-icon {
  font-size: 18px;
  color: #2869D4;
  flex-shrink: 0;
}

.dash-month-icon--prev { color: #6B7280; }

.dash-month-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.dash-month-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}

.dash-month-badge--cur  { background: rgba(40,105,212,0.1); color: #2869D4; }
.dash-month-badge--prev { background: rgba(107,114,128,0.1); color: #6B7280; }

.dash-month-body {
  display: flex;
  align-items: center;
  gap: 0;
}

.dash-month-stat {
  flex: 1;
  padding: 0 12px;
}

.dash-month-stat:first-child { padding-left: 0; }
.dash-month-stat:last-child  { padding-right: 0; }

.dash-month-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 5px;
}

.dash-month-val--sm { font-size: 1.25rem; }

.dash-month-lbl {
  font-size: 0.75rem;
  color: #9CA3AF;
}

.dash-month-divider {
  width: 1px;
  height: 52px;
  background: #E5E7EB;
  flex-shrink: 0;
}

/* ── Dual bar chart ── */
.dash-legend-dot--green { background: #059669; }

/* Paired bars per slot */
.dash-bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  justify-content: center;
}

.dash-bar-count,
.dash-bar-rev {
  width: 40%;
  max-width: 20px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: #EEF0F2;
  transition: height 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.dash-bar-rev { transition-delay: 0.04s; }

.dash-bar-count.active { background: linear-gradient(to top, #1D4ED8, #60A5FA); }
.dash-bar-rev.active   { background: linear-gradient(to top, #047857, #34D399); }

/* ── Network pie / donut charts ── */

.dash-pie-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 6px 24px rgba(0,0,0,0.04);
}

.dash-pie-card-hd { margin-bottom: 24px; }

.dash-pie-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.dash-pie-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.dash-pie-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Donut container — SVG + overlay center text */
.dash-donut-wrap {
  position: relative;
  width: 130px;
  height: 130px;
}

.dash-donut-wrap svg {
  width: 100%;
  height: 100%;
}

.dash-pie-slice {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: 50px 50px;
}

.dash-pie-slice:hover  { transform: scale(1.06); }
.dash-pie-slice.slice-dim { opacity: 0.3; }

/* Center text (absolute over the SVG hole) */
.dash-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dash-donut-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: donutFade 0.15s ease;
}

.dash-donut-val--hov { color: #2869D4; }

.dash-donut-lbl {
  font-size: 0.62rem;
  color: #9CA3AF;
  margin-top: 1px;
  animation: donutFade 0.15s ease;
}

.dash-donut-net {
  font-size: 0.65rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1px;
  animation: donutFade 0.15s ease;
}

.dash-donut-pct {
  font-size: 0.6rem;
  font-weight: 700;
  color: #6B7280;
  margin-top: 1px;
  animation: donutFade 0.15s ease;
}

@keyframes donutFade {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.dash-pie-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 12px;
  color: #9CA3AF;
}

/* Legend */
.dash-pie-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

.dash-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-pie-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-pie-legend-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: #374151;
}

/* Tooltip on bar slot hover */
.dash-bar-slot {
  position: relative;
}

.dash-bar-slot::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1F2937;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}

.dash-bar-slot:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
