/**
 * WordPress /reports/ — app-parity reports shell.
 *
 * @package valahub-child
 */
@import url("vala-accounts-app.css");

.vala-template-reports .reports-page-shell {
  width: 100%;
  box-sizing: border-box;
}

.vala-template-reports .reports-page-shell .card {
  border-radius: var(--vala-radius-md, 14px);
  border: 1px solid rgba(125, 211, 252, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px rgba(2, 8, 23, 0.14);
  background: linear-gradient(135deg, rgba(15, 50, 92, 0.72), rgba(14, 97, 126, 0.42));
  color: rgba(248, 250, 252, 0.96);
}

.vala-template-reports .reports-unified-hero {
  margin-bottom: clamp(14px, 1.4vw, 18px);
}

.vala-template-reports .reports-hero-main-value {
  margin: 4px 0 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.99);
}

.vala-template-reports .reports-hero-main-sub {
  margin: 2px 0 12px;
  color: rgba(186, 230, 253, 0.84);
  font-size: 13px;
  font-weight: 600;
}

.vala-template-reports .reports-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vala-template-reports .reports-hero-pill {
  border: 1px solid rgba(148, 196, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.vala-template-reports .reports-hero-pill em {
  font-style: normal;
  color: rgba(186, 230, 253, 0.86);
}

.vala-template-reports .reports-hero-pill strong {
  color: rgba(248, 250, 252, 0.98);
  font-weight: 700;
}

.vala-template-reports .reports-tabs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vala-template-reports .reports-tab-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 196, 255, 0.2);
  background: rgba(14, 24, 45, 0.36);
  color: rgba(226, 232, 240, 0.92);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  text-decoration: none;
}

.vala-template-reports .reports-tab-chip:hover {
  border-color: rgba(148, 196, 255, 0.34);
  color: rgba(248, 250, 252, 0.98);
}

.vala-template-reports .reports-empty-card {
  padding: 18px 20px;
}

.vala-template-reports .reports-empty-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.98);
}

.vala-template-reports .reports-empty-desc {
  margin: 0 0 14px;
  color: rgba(191, 219, 254, 0.85);
  line-height: 1.4;
}

.vala-template-reports .vala-row-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vala-template-reports .reports-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vala-template-reports .reports-stat-card {
  padding: 14px 16px;
}

.vala-template-reports .reports-stat-label {
  margin: 0;
  font-size: 12px;
  color: rgba(186, 230, 253, 0.76);
  font-weight: 600;
}

.vala-template-reports .reports-stat-value {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.98);
  line-height: 1.2;
}

.vala-template-reports .reports-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.vala-template-reports .reports-panel {
  padding: 16px 18px;
}

.vala-template-reports .reports-main-trend {
  margin-bottom: 12px;
}

.vala-template-reports .reports-panel-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.98);
}

.vala-template-reports .reports-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.vala-template-reports .reports-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.92);
}

.vala-template-reports .reports-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.vala-template-reports .reports-legend-dot--income {
  background: #04bf55;
}

.vala-template-reports .reports-legend-dot--expense {
  background: #ef4444;
}

.vala-template-reports .reports-legend-dot--net {
  background: #7dd3fc;
}

.vala-template-reports .reports-trend-wrap {
  height: 260px;
  width: 100%;
}

.vala-template-reports .reports-trend-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vala-template-reports .reports-trend-axis {
  stroke: rgba(148, 196, 255, 0.25);
  stroke-width: 1;
}

.vala-template-reports .reports-trend-line {
  fill: none;
  stroke-width: 2.2;
}

.vala-template-reports .reports-trend-line--income {
  stroke: #04bf55;
}

.vala-template-reports .reports-trend-line--expense {
  stroke: #ef4444;
}

.vala-template-reports .reports-trend-line--net {
  stroke: #7dd3fc;
}

.vala-template-reports .reports-chart-empty {
  border: 1px dashed rgba(148, 196, 255, 0.26);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  color: rgba(191, 219, 254, 0.88);
  font-size: 13px;
}

.vala-template-reports .reports-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vala-template-reports .reports-list-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 196, 255, 0.14);
}

.vala-template-reports .reports-list-item--alert {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(127, 29, 29, 0.24);
}

.vala-template-reports .reports-list-key {
  color: rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

.vala-template-reports .reports-list-val {
  color: rgba(248, 250, 252, 0.98);
  font-size: 13px;
  font-weight: 700;
}

.vala-template-reports .reports-bars {
  display: grid;
  gap: 10px;
}

.vala-template-reports .reports-bar-label {
  margin: 0 0 6px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.vala-template-reports .reports-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.vala-template-reports .reports-bar-fill {
  height: 100%;
  background: #7dd3fc;
}

.vala-template-reports .reports-bar-fill--income {
  background: #04bf55;
}

.vala-template-reports .reports-bar-fill--expense {
  background: #ef4444;
}

.vala-template-reports .reports-note {
  margin: 8px 0 0;
  color: rgba(191, 219, 254, 0.85);
  font-size: 12px;
  line-height: 1.4;
}

.vala-template-reports .reports-chart-rows {
  display: grid;
  gap: 10px;
}

.vala-template-reports .reports-chart-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.vala-template-reports .reports-chart-row span {
  font-size: 12px;
}

.vala-template-reports .reports-health-list {
  display: grid;
  gap: 8px;
}

.vala-template-reports .reports-health-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 196, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.vala-template-reports .reports-health-row span {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.92);
}

.vala-template-reports .reports-health-row strong {
  font-size: 12px;
  color: rgba(248, 250, 252, 0.98);
}

.vala-template-reports .reports-debt-compact {
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .vala-template-reports .reports-grid-3 {
    grid-template-columns: 1fr;
  }

  .vala-template-reports .reports-grid-2 {
    grid-template-columns: 1fr;
  }

  .vala-template-reports .reports-hero-main-value {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* Outer shell/stage spacing owned by vala-app-layout.css. */
