.intro p {
  font-size: 18px;
}
.intro h1 {
  font-size: 45px;
  margin-bottom: 30px;
}

.trumpet {
  font-size: 10px;
  background-color: cadetblue;
  color: #FFF;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 1px;
}

.total_count {
  font-size: 18px;
  /* background-color: cadetblue; */
  /* color: cadetblue; */
  padding: 5px 10px;
  border-radius: 5px;  
  border: 1px solid rgb(241, 241, 241);
  display: inline-block;
}


.quick-poll {
  /* background-color: lightgray; */
  background-color: rgb(241, 241, 241);
  padding: 15px;
  border-radius: 15px;
}
.quick-poll .form-check-label {
  font-size: 18px;
}
.quick-poll .btn {
  margin-left: 0;
}
.quick-poll-block {
  margin-block: 2rem;
}
.quick-poll h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.quick-poll .counter {
  color: orangered !important;
  font-size: 1rem;
}

.quick-poll .form-check {
  margin-bottom: 10px;
}


.quick-poll .btn-primary {
  padding: 10px 45px;
  background-color: orangered;
  border-color: orangered;
}
.quick-poll .btn:disabled {
  background-color: orangered;
  border-color: orangered;
}
.quick-poll .h6 {
  font-size: 20px;
}

.quick-poll-block--top10 {
  border: 1px solid lightgray;
  border-radius: 15px;
  padding: 15px;
}
.quick-poll-block--age-distribution {
  border: 1px solid lightgray;
  border-radius: 15px;
  padding: 15px;
}

.quick-poll-block--stacked-chart {
  border: 1px solid lightgray;
  border-radius: 15px;
  padding: 15px;
}










.quick-poll-stats {
  --qp-accent: #0a5c4a;
  --qp-accent-soft: rgba(10, 92, 74, 0.12);
}

.quick-poll-stats .qp-description {
  margin: 0 0 0.75rem;
  color: #41515f;
  /* font-size: 0.95rem; */
}

.quick-poll-stats-table {
  width: 100%;
  border-collapse: collapse;
}

.quick-poll-stats-table th,
.quick-poll-stats-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid #e4e9ef;
  vertical-align: middle;
}

.quick-poll-stats-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2d3b47;
}

.quick-poll-stats-table .qp-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.quick-poll-stats-table .qp-center {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quick-poll-stats-table .qp-total {
  font-weight: 700;
}

.qp-bar {
  width: 100%;
  height: 0.45rem;
  background: #e6ecef;
  border-radius: 999px;
  overflow: hidden;
}

.qp-bar__fill {
  width: var(--qp-bar-width, 0%);
  height: 100%;
  background: linear-gradient(90deg, #66b197 0%, var(--qp-accent) 100%);
}

.quick-poll-stats-table--heatmap td .qp-heat {
  display: inline-flex;
  min-width: 2.2rem;
  justify-content: center;
  padding: 0.15rem 0.35rem;
  border-radius: 0.3rem;
  background: rgba(10, 92, 74, calc(0.06 + (var(--qp-heat-intensity, 0) * 0.7)));
}

.quick-poll-stats .qp-table-scroll {
  overflow-x: auto;
  padding-bottom: 0;
}

.quick-poll-stats .qp-scroll-hint {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #5b6a77;
}

.quick-poll-stats--stacked .qp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.9rem;
}

.quick-poll-stats--stacked .qp-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #314252;
}

.quick-poll-stats--stacked .qp-legend__dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  display: inline-block;
}

.quick-poll-stats--stacked .qp-stack-item {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 3fr;
  gap: 0.6rem 0.9rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.quick-poll-stats--stacked .qp-stack-item__label {
  font-size: 0.92rem;
  color: #22313d;
}

.quick-poll-stats--stacked .qp-stack-item__barwrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.quick-poll-stats--stacked .qp-stack-item__barscale {
  width: var(--qp-row-scale, 100%);
}

.quick-poll-stats--stacked .qp-stack {
  display: flex;
  width: 100%;
  height: 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: #edf2f6;
}

.quick-poll-stats--stacked .qp-stack__segment {
  height: 100%;
}

.quick-poll-stats--stacked .qp-stack-item__total {
  min-width: 2.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #1f2c36;
}

@media (max-width: 767px) {
  .quick-poll-stats .qp-table-scroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #8ea0ae #e8edf2;
    padding-bottom: 0.2rem;
  }

  .quick-poll-stats .qp-table-scroll::-webkit-scrollbar {
    height: 10px;
  }

  .quick-poll-stats .qp-table-scroll::-webkit-scrollbar-track {
    background: #e8edf2;
    border-radius: 999px;
  }

  .quick-poll-stats .qp-table-scroll::-webkit-scrollbar-thumb {
    background: #8ea0ae;
    border-radius: 999px;
  }

  .quick-poll-stats .qp-table-scroll .quick-poll-stats-table {
    min-width: 42rem;
  }

  .quick-poll-stats .qp-scroll-hint {
    display: block;
  }

  .quick-poll-stats--stacked .qp-stack-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.quick-poll-stats-table--top10 th:nth-child(1),
.quick-poll-stats-table--top10 td:nth-child(1),
.quick-poll-stats-table--top10 th:nth-child(3),
.quick-poll-stats-table--top10 td:nth-child(3),
.quick-poll-stats-table--top10 th:nth-child(4),
.quick-poll-stats-table--top10 td:nth-child(4) {
  text-align: center;
}

.quick-poll-stats-table--agedist th:nth-child(n + 2),
.quick-poll-stats-table--agedist td:nth-child(n + 2) {
  text-align: center;
}


.quick-poll-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.quick-poll-contact-row > .mb-3 {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .quick-poll-contact-row {
    grid-template-columns: 1fr 1fr;
  }
}

