/* ============================================
   VIXVIU MODAL REPORT — layout overrides
   Targets vixviu-reports-* classes from the
   report pipeline. Chart classes stay as-is.
============================================ */

.vixviu-reports-wrapper,
.vixviu-reports-custom {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  font-family: inherit;
  color: #222;
  background: #fff;
}

.vixviu-reports-header {
  margin-bottom: 30px;
  text-align: center;
}

/* ── Titles ──────────────────────────────── */

.vixviu-reports-title-1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.vixviu-reports-title-2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

/* ── Section header ──────────────────────── */

.vixviu-reports-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 12px 16px;
  margin-top: 30px;
  border-radius: 6px;
}

/* ── Width overrides (modal context) ─────── */

.vixviu-reports-width-full  { width: 100%; }
.vixviu-reports-width-half  { width: 48%; }
.vixviu-reports-width-third { width: 31.5%; }

/* ── Collapsible ─────────────────────────── */

.collapsible.closed {
  display: none;
}

/* ── Modal footer actions ────────────────── */

.vixviu-modal-footer-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.vixviu-modal-footer-actions button {
  padding: 10px 15px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.vixviu-modal-footer-actions button:last-child {
  background: #555;
}

/* ── Responsive ──────────────────────────── */

@media screen and (max-width: 768px) {
  .vixviu-reports-wrapper,
  .vixviu-reports-custom {
    padding: 15px;
  }

  .vixviu-reports-title-1 { font-size: 20px; }
  .vixviu-reports-title-2 { font-size: 16px; }

  .vixviu-reports-width-half,
  .vixviu-reports-width-third,
  .vixviu-reports-width-full {
    width: 100%;
  }

  .vixviu-modal-footer-actions {
    flex-direction: column;
  }
}
