/* ----------- FONT BASE & COLORS ----------- */
body {
  background-color: #f7fafc;
  font-family: "Georgia", serif;
  color: #1a202c;
  font-size: 18px;
  line-height: 1.4;
}
p {
  margin-top: 0;
  margin-bottom: 8px;
}

/* ----------- HEADERERS---------- */
h1 {
  font-family: "Georgia", serif;
  font-size: 2.75rem;
  color: #c8102e;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 1000px;
}
h2 {
  font-family: "Georgia", serif;
  margin-bottom: 3px;
  color: #b22222;
  font-weight: 700;
  font-size: 1.75rem;
}
h3,
h4 {
  color: #1a202c;
  margin-top: 1px;
  margin-bottom: 7px;
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 1.5rem;
}

/*----------- CALLOUT BOX-----------*/
.cta-box {
  background-color: #a8d8ff;
  color: #1a202c;
  padding: 16px 24px;
  border-left: 6px solid #002244;
  margin: 20px auto;
  line-height: 1.5;
  font-weight: 500;
  font-size: 1rem;
  max-width: 700px;
  box-shadow: none;
  border-radius: 10px;
  font-family: "Georgia", sans-serif;
}

/* ----------- CARDS ----------- */
.card {
  background-color: #ffffff;
  border: 3px solid #a8d8ff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
  font-family: "Georgia", serif;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ----------- POSITIVE CONTRAST ----------- */
.positive {
  background-color: #a8d8ff;
  color: #002244;
  padding: 5px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

/* ----------- PLOTS ----------- */
.plot-container {
  border: 2px solid #002244;
  padding: 10px;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #ffffff;
}

/* ----------- DROPDOWNS, BUTTONS ----------- */
.Select-control,
.dash-dropdown {
  border: 1px solid #002244;
  border-radius: 5px;
}

.dash-button {
  background-color: #b22222;
  color: white;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.dash-button:hover {
  background-color: #c8102e;
}

/* ----------- FACE-OFF CIRCLE ELEMENT ----------- */
.faceoff-tag {
  background-color: #c8102e;
  color: white;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}
/*-----------TEXT CONTAINTER-----------*/
.text-container {
  max-width: 850px;
  padding: 20px 30px;
  margin: 20px 40px;
  background-color: #ffffff;
  border-left: 6px solid #002244;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.6;
  color: #1a202c;
  border-radius: 10px;
}
/*-----------PAGE SPACING & ALIGNMENT -----------*/
.page-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.full-width .js-plotly-plot,
.full-width .dash-graph {
  width: 100% !important;
}
.plot-row {
  align-items: flex-start;
}

:root {
  --gutter: 28px;
  --content-width: 1100px;
}

.page {
  display: flex;
  justify-content: center;
}
.content {
  padding-top: 50px;
  padding-bottom: 50px;
  width: min(100%, var(--content-width));
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.content > * {
  width: 100%;
  margin: 0;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.block,
.plot-container,
.dash-table-container {
  width: 100% !important;
  margin: 0;
}

.content h1,
.content h2,
.content h3,
.content p {
  margin-left: 0;
}
.content .card {
  margin: 0;
  align-items: flex-start;
  text-align: left;
}

.text-container {
  margin: 20px 0;
}

.plot-container {
  max-width: none;
}

.page-container {
  padding: 0;
}
.kpi-row .card {
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.cta-box {
  margin-left: 0;
  margin-right: auto;
}

.kpi-row {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}
