/* Styling for the JS port of the 1-sample t-test lesson. Mirrors the Shiny
   app: body zoom 110%, wide modal, and bslib-style "tight cards" with a
   #3179ae accent stripe (see tight_card() in R/utility_helper_functions.R). */

body {
  zoom: 110%;
}

.modal-dialog {
  max-width: 1100px !important;
  width: 100% !important;
}

/* tight_card(): bslib card with minimal padding */
.tight-card {
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 0.5rem;
  margin: 0;
  height: 100%;
}

/* header_colour = "#3179ae" variant */
.tight-card.accent {
  border-top: 4px solid #3179ae;
}

.tight-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0 0.25rem;
  line-height: 1.2;
  text-decoration: underline;
}

.tight-card-body {
  padding: 0.5rem 0.25rem 0 0.25rem;
  margin: 0;
}

/* Accordion headers hold <b> text like the bslib accordion panels */
.accordion-button {
  font-size: 1rem;
}

/* Keep plot SVGs from overflowing their columns */
#data-preview svg,
#qq-plot svg,
#assump-boxplot svg,
#assump-hist svg,
#t-curve-plot svg,
#chi-curve-plot svg {
  display: block;
  max-width: 100%;
  height: auto;
}
