html {
  font-size: 17px;
}

/* === Typography === */
body {
  font-family: "router", sans-serif;
  background-color: #eef1ee;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  /* PRIMARY COLOURS */
  --primary-black: #101010;
  --primary-teal: #2B8C8C;
  --primary-green: #5DB55B;
  --primary-purple: #68216F;

  /* SECONDARY COLOURS */
  --secondary-grey: #838383;
  --secondary-cyan: #46CECE;
  --secondary-lightgreen: #73DE71;
  --secondary-magenta: #A829B5;

  /* BACKGROUND WHITES */
  --bg-offwhite: #F4F2F2;
  --bg-cyanwhite: #46CECE;
  /* same as secondary cyan */
  --bg-greenwhite: #8BEB89;
  --bg-purplewhite: #C957D5;
  --bg-lightwhite: #FAFAFA;
}

h1 {
  font-family: "komet", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 2rem;
}

h2 {
  font-family: "komet", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}

h3 {
  font-family: "komet", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

h4 {
  font-family: "komet", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.5rem;
}

ul {
  font-size: 1rem;
}

.size50{font-size:50% !important}
.size60{font-size:60% !important}
.size70{font-size:70% !important}
.size80{font-size:80% !important}
.size90{font-size:90% !important}
.size100{font-size:100% !important}
.size110{font-size:110% !important}
.size120{font-size:120% !important}
.size130{font-size:130% !important}
.size140{font-size:140% !important}
.size150{font-size:150% !important}
.size160{font-size:160% !important}
.size170{font-size:170% !important}
.size180{font-size:180% !important}
.size190{font-size:190% !important}
.size200{font-size:200% !important}
.size210{font-size:210% !important}
.size220{font-size:220% !important}
.size230{font-size:230% !important}
.size240{font-size:240% !important}
.size250{font-size:250% !important}
.size260{font-size:260% !important}
.size270{font-size:270% !important}
.size280{font-size:280% !important}
.size290{font-size:290% !important}
.size300{font-size:300% !important}

span {
  font-size: 1rem;
}

a {
  font-size: 1rem;
}

.accordion-body p {
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.wt {
  color: white;
}

.bg-grey {
  background-color: #eef1ee;
}


.slidecontainer {
  width: 100%;
}

.slidecontainer .hvalue,
.happy {
  color: #333;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}

.btn-responder {
  background-color: #04AA6D;
}

.btn-responder:hover {
  outline: none;
  opacity: 0.8;
}

.containerdiv {
  margin-top: -50px;
  background-color: #ffffff;
}

.tabcontainer {
  background-color: #ffffff;
}


.bulletcontainer {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  /* Adjust to fit the content */
  overflow: hidden !important;
}

.highchartsroot {
  border: #eef1ee solid 10px;
}

.hc-cat-title {
  position: relative;
  top: -5px;
  left: 150px;
  font-size: 12px;
  font-weight: bold;
}

.container .hc-cat-title {
  position: relative;
  top: -2px;
  left: 115px;
  font-size: 12px;
  font-weight: bold;
}

.highcharts-figure,
.highcharts-data-table table {
  min-width: 320px;
  max-width: 800px;
  margin: 1em auto;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

.dark-text,
.dark-text:hover {
  color: #333;
}

.aicontent {
  background-color: #ffffff;
  padding: 5%;
  color: #333333;
}

#kpi-container {
  max-width: 400px;
  margin: 0 auto;
}

.kpi-highcharts-figure {
  min-width: 380px;
  max-width: 600px;
  margin: 0 auto;
}

.kpi-highcharts-description {
  margin: 0.3rem 10px;
}

.kpi-highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.kpi-highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.kpi-highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.kpi-highcharts-data-table td,
.kpi-highcharts-data-table th,
.kpi-highcharts-data-table caption {
  padding: 0.5em;
}

.kpi-highcharts-data-table thead tr,
.kpi-highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.kpi-highcharts-data-table tr:hover {
  background: #f1f7ff;
}


.icon-container {
  width: 30px;
  /* Set the desired width */
  height: 30px;
  /* Set the desired height */
}

.icon-container svg {
  width: 100%;
  /* Scale the icon to the container's width */
  height: 100%;
  /* Scale the icon to the container's height */
}

.heart-rate-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  color: white;
  background-color: #222;
  padding: 10px;
  border-radius: 10px;
  width: max-content;
}

.heart-icon {
  font-size: 32px;
  position: relative;
  color: gray;
}

.heart-icon .arrow-down {
  position: absolute;
  font-size: 16px;
  bottom: -5px;
  left: 10px;
}

.heart-data {
  display: flex;
  flex-direction: column;
}

.bpm {
  font-size: 32px;
  font-weight: bold;
}

.unit {
  font-size: 16px;
  color: gray;
}

.percentage {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow-up {
  color: green;
  font-size: 20px;
}

.arrow-down {
  color: red;
  font-size: 20px;
}

.dash {
  color: orange;
  font-size: 20px;
}

.full-width-hr {
  position: absolute;
  left: 0;
  width: 100vw;
  /* Full viewport width */
  border: none;
  height: 10px;
  background-color: #EEF1EE;
  /* Adjust color */
}

.logo {
  width: 140px;
  height: 140px;
}

.textlogo {
  width: auto;
  height: 100px;
}

/* homepage nav */
.btn-admin {
  color: #5a1a6e;
  border-color: #5a1a6e;
}

.btn-admin:hover {
  background-color: #5a1a6e;
  color: white;
}

.btn-purple {
  background-color: #5a1a6e;
  color: white;
}

.btn-purple:hover {
  background-color: #eef1ee;
  color: #5a1a6e;
  border-color: #5a1a6e;
}

.btn-client {
  color: #198754;
  border-color: #198754;
}

.btn-client:hover {
  background-color: #198754;
  color: white;
}

.btn-signup {
  background-color: #237e85;
  color: white;
  border-color: #237e85;
}

.btn-signup:hover {
  background-color: transparent;
  color: #237e85;
  border-color: #237e85;
}

.icon {
  width: 30px;
  height: 30px;
}

.iconsm {
  width: 15px;
  height: 15px;
  margin-bottom: 3px;
}

.accordion-wrapper {
  background-color: #4CAF50;
  /* Match your green */
  color: white;
}



.accordion-button {
  background-color: #4CAF50;
  color: white;
}

.accordion-button:not(.collapsed) {
  background-color: #4CAF50;
  /* keep green when open */
  color: white;
  box-shadow: none;
  /* remove white glow */
}



.accordion-button::after {
  transform: scale(1.5);
  /* Make arrow 1.5× bigger */
  filter: invert(1);
  /* Keep it white if on green */
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #ffffff55;
  background-color: transparent;
}

.icon-left {
  width: 100px;
  height: 100px;
  margin-right: 1rem;
}

.nav-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #eef1ee;
  border-bottom: 1px solid #ffffff;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tabs .nav-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-teal {
  background-color: #2B8C8C;
  color: #fff;
  border: none;
}

.btn-teal:hover,
.btn-teal:focus {
  background-color: #247474;
  /* slightly darker for hover */
  color: #fff;
}

.btn-teal:active {
  background-color: #1f6464;
  color: #fff;
}

.btn-outline-teal {
  background-color: transparent;
  border: 2px solid #2B8C8C;
  color: #2B8C8C;
  transition: all 0.2s ease-in-out;
}

.btn-outline-teal:hover,
.btn-outline-teal:focus {
  background-color: #2B8C8C;
  color: #fff;
  border-color: #2B8C8C;
}

.btn-outline-teal:active {
  background-color: #1f6464;
  color: #fff;
  border-color: #1f6464;
}

.info-link {
  font-size: 2rem;
  color: #8430A6;
  cursor: pointer;
}

label {
  font-weight: 700;
}