.container,
.charts-row,
.dashboard,
.reports-shell-wrapper,
.export-shell-wrapper,
.dashboard-wrapper {
  width: 84%;
}

.container {
  width: 100%;

}

.charts-row,
.dashboard,
.dashboard-wrapper,
.reports-grid-layout,
.export-grid-layout,
.reports-grid {
  display: grid;
  gap: 20px;
}

.reports-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 82%;
  margin-bottom: 24px;  
  margin-left: 20px;
}

.charts-row,
.dashboard,
.dashboard-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 24px 24px;
}

.reports-shell-wrapper,
.export-shell-wrapper {
  padding: 0 24px 24px;
}

.reports-grid-layout,
.export-grid-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-card,
.chart-box,
.card,
.panel-container,
.report-card-container,
.export-card-unit {
  background: linear-gradient(180deg, rgba(11, 18, 28, 0.98), rgba(6, 9, 15, 0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.report-card,
.chart-box,
.card,
.panel-container {
  padding: 22px;
}

.report-top,
.card-header,
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.report-top h3,
.card-header h3,
.panel-header h2,
.reports-heading-title,
.export-heading-title {
  margin: 0;
}

.report-middle h1 {
  font-size: 38px;
  margin-bottom: 6px;
}

.report-middle p,
.report-text-section p,
.export-text-group span,
.text-group span,
.schedule-meta span,
.report-meta-row span,
.card-header p {
  color: var(--muted-text);
  line-height: 1.45;
}

.report-bottom {
  margin-top: 16px;
}

.donut-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.donut-center-text {
  position: absolute;
  font-size: 14px;
  color: var(--muted-text);
  pointer-events: none;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tabs button,
.report-btn,
.primary-action-btn,
.secondary-btn,
.email-report-trigger,
.export-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-text);
  padding: 11px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tabs button:hover,
.tabs button.active,
.report-btn:hover,
.primary-action-btn:hover,
.secondary-btn:hover,
.email-report-trigger:hover,
.export-btn:hover {
  background: rgba(63, 160, 250, 0.14);
  border-color: rgba(63, 160, 250, 0.28);
}

.progress-list {
  display: grid;
  gap: 16px;
}

.item .label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted-strong);
}

.bar,
.bottom-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.bar > div,
.fill,
.bottom-fill {
  height: 100%;
  border-radius: 999px;
}

.blue {
  background: var(--chart-blue);
}

.green {
  background: var(--chart-green);
}

.yellow {
  background: var(--chart-yellow);
}

.red {
  background: var(--chart-red);
}

.report-card-container,
.template-card,
.schedule-card,
.export-card-unit {
  padding: 20px;
}

.report-card-container,
.template-card,
.schedule-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.report-meta-row,
.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.report-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 116px;
}

.template-list-block,
.schedule-list-block {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.template-card,
.schedule-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.template-info,
.schedule-info,
.export-info-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.icon-badge,
.export-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-blue {
  background: rgba(63, 160, 250, 0.16);
  color: #93d2ff;
}

.icon-green {
  background: rgba(34, 197, 94, 0.16);
  color: #98efba;
}

.icon-yellow {
  background: rgba(245, 158, 11, 0.16);
  color: #ffd089;
}

.icon-purple {
  background: rgba(157, 64, 237, 0.16);
  color: #d3a6ff;
}

.icon-red {
  background: rgba(244, 63, 94, 0.16);
  color: #ffa7b7;
}

.badge-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(63, 160, 250, 0.14);
  color: #93d2ff;
}

.email-action-wrapper {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

canvas {
  width: 100% !important;
  max-height: 320px;
}

@media (max-width: 1100px) {
  .container,
  .charts-row,
  .dashboard,
  .reports-shell-wrapper,
  .export-shell-wrapper,
  .dashboard-wrapper {
    width: calc(100% - 32px);
    margin-left: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .reports-grid,
  .charts-row,
  .dashboard,
  .dashboard-wrapper,
  .reports-grid-layout,
  .export-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .report-card-container,
  .template-card,
  .schedule-card,
  .report-top,
  .card-header,
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-action-group {
    flex-direction: row;
    width: 100%;
  }
}
