* {
  font-family: "Poppins", sans-serif;
}

.offcanvas.offcanvas-start {
    top: 0;
    left: 0;
    width: 350px !important;
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
}

.nav-link.active {
  background: linear-gradient(45deg, #01ACF9, #05ACF9);
  color: white;
  font-weight: bold;
  border-left: 5px solid #007bff; /* Blue stripe on the left */
  border-radius: 15px; /* Curve the border like the cards */
  margin-left: 10px; /* Margin on the x-axis for the active stripe */
  margin-right: 10px;
  padding-left: 20px; /* Adjust padding to align text */
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nav-link {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  /* identical to box height */
  display: flex;
  align-items: center;

  color: #607580;
  padding: 10px 15px;
  border-radius: 15px; /* Curve the border like the cards */
  transition: background-color 0.3s ease, color 0.3s ease, margin-left 0.3s ease;
}

.nav-link:hover {
  background: #f8f9fa;
  color: #007bff;
  margin-left: 10px; /* Consistent margin on hover */
  margin-right: 10px;
  padding-left: 20px; /* Adjust padding on hover */
  border-left: 5px solid #007bff; /* Show stripe on hover */
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}


.testimonial-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overflow {
  overflow-y: auto;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-height {
  /*height: 40vh;*/
}

.navigation-btn {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  gap: 10px;
  height: 45px;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  align-items: center;
  background-color: white;
  color: #607580;
}

.chart-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-card {
  background: linear-gradient(271.53deg, #00B5FF 11.47%, #0052C2 132%);
  border: 2px solid #FFFFFF;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.user-img {
  border: 3px solid #FFF600;
  background-color: white;
}

.child-img {
  border: 3px solid #FF9103;
  background-color: white;
}

.child1-img {
  border: 3px solid #00B5FF;
  background-color: white;
}

.create-child {
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
  height: 45px;
  background: linear-gradient(91.8deg, #FF9103 6.43%, #FF6500 139.08%);
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  align-items: center;

  color: #FFFFFF;
}

.connect-child {
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
  height: 45px;
  background: linear-gradient(90.22deg, #00B5FF 6.08%, #016FD4 177.12%);
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  align-items: center;

  color: #FFFFFF;
}

.language-btn {
  justify-content: center;
  align-items: center;
  padding: 10px 25px;
  gap: 10px;
  height: 45px;

  background: #FFFFFF;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  align-items: center;

  color: #607580;
}

.need-attention {
  border: 2px solid #FF0000;
  border-radius: 16px;
  background-color: #FFF3F3;
  padding: 0.5em 1em 0.1em 1em;
}

.last-played {
  border: 1px solid #607580;
  border-radius: 16px;
  padding: 0.2em 1em;
  /*margin: 0.2em 1em 0.2em 0.5em;*/
}


.details-btn {
  border: 1px solid #607580 !important;
  background-color: white;
  color: #607580;
  padding: 0.5em 0.8em 0.5em 0.8em;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;

}

.more-btn {
  border: none;
  background: linear-gradient(93.22deg, #FF9103 -20.2%, #FF0000 110.33%);
  border-radius: 8px;
  color: white;
  padding: 0.5em 0.8em 0.5em 0.8em;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}

.border-none {
  border: none;
}

.side-bar-text {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #607580;
}


.view-all {
  text-decoration: none;
  color: #00B5FF;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
}

.title {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  color: rgba(96, 117, 128, 0.5);
}

.home {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 38px;
  color: #607580;
}

.bell {
  background-color: white;
  border: none;
  border-radius: 50%;
  margin: 0.8em -0.6em;
  height: 30px;
  width: 30px;
}

.notification {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  margin-left: 1.22em;
  margin-top: -4px;
  color: #FF9103;
  border: 1.5px solid #FFFFFF;
  background-color: #FFFFFF;
  width: 12px;
  line-height: 13px;
}

.normal-text {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #607580;
}

.bold-text {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #607580;
}


.chart-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  overflow-x: auto;
}

.chart-bar-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  height: 26vh;
  border-left: 2px solid #ccc;
  position: relative;
  margin-left: 30px; /* Space for Y-axis labels */
  border-bottom: 2px solid #ccc;
  z-index: 1;
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
}

.chart-bar div {
  width: 30px;
  border-radius: 5px;
}

.chart-bar .green {
  background-color: #34c759;
}

.chart-bar .blue {
  background-color: #007aff;
}

.chart-label {
  text-align: center;
  width: 100%;
  margin-top: 5px;
  height: 0;
}

.tooltip {
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  color: #333;
}

.tooltip:before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.toolhover {
  position: relative;
  display: inline-block;
}

.toolhover .toolhovertext {
  visibility: hidden;
  width: 100px;
  height: 33px;
  text-align: center;
  border-radius: 4px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  color: #0ABA74;
  background-color: #F6FFFC;
  border: 1px solid #0ABA74;
}

.toolhover .toolhovertext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.toolhover:hover .toolhovertext {
  visibility: visible;
  opacity: 1;
}

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



.bar-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  margin-bottom: -5px;
}

/* Background grid lines */
.chart-bar-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, #ccc 1px, transparent 1px);
  background-size: 100% 20%;
  z-index: -1;
}

/* Vertical grid lines (X-axis) */
.chart-bar-container:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #ccc 1px, transparent 1px);
  background-size: calc(100% / 7) 100%;
  z-index: -1;
}

/* Y-axis labels */
.y-axis {
  position: absolute;
  left: 0;
  top: 16px;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50px; /* Ensure width for Y-axis labels */
  text-align: right; /* Align text to the right */
  padding-right: 10px; /* Padding for spacing */
}

.y-axis div {
  margin-bottom: -2px;
}

.btn-form-submit {
    font-size: 1.0625rem;
    font-weight: 600;
    background-color: #01a7f7;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
    border-radius: 8px;
    padding: 8px 30px;
    width: 100%;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.stripe-card-title {
  color: #ff9103;
  line-height: 56px;
  font-weight: 700;
  font-size: 40px;
}

.stripe-card-title p {
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
}

.text-stripe-primary {
  color: #ff9103;
}

.text-stripe-secondary {
  color: #01a7f7;
}


.custom-radio {
    display: inline-block;
    position: relative;
    width: 240px;
    height: 90px;
    margin: 10px;
    border: 2px solid #01a7f7;
    border-radius: 10px;
    background-color: #ecf8fb;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-radio h6 {
    color: #01a7f7;
    font-size: 22px;
}

.custom-radio .card-amount {
  color: #01a7f7;
}

.custom-radio:hover {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.custom-radio input[type="radio"]:checked + .radio-content {
    border-radius: 10px;
    border-color: #fff;
    border-style: outset;
    background-color: #01a7f7;
}

.custom-radio input[type="radio"]:checked {
  border: none;
}

.custom-radio input[type="radio"]:checked + .radio-content h6, .custom-radio input[type="radio"]:checked + .radio-content .card-amount {
   color: #ffffff;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.radio-button {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 10px;
    border: none;
    border-radius: 50px;
    background-color: #01a7f7;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
}

.radio-button:hover {
    background-color: #0056b3;
}

.plan-off {
    background: #FFF600;
    position: absolute;
    top: -9px;
    right: 0px;
    width: 106px;
    padding: 2px;
    box-shadow: 3px 5px 8px -6px #000000;
    border-radius: 5px;
}

.circle {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  right: 82px;
  top: 25px;
}

.checkmark {
  position: absolute;
  transform: rotate(45deg) translate(-50%, -50%);
  left: 25%;
  top: 45%;
  height: 12px;
  width: 8px;
  border-bottom: 3px solid #01a7f7;
  border-right: 3px solid #01a7f7;
}

@media screen and (max-width: 492px) {
    .custom-radio {
        width: 300px;
        height: 110px;
    }

  .details-btn {
    font-size: 10px;
  }

  .child-name {
    font-size: 14px;
  }

  .stripe-card-title {
    color: #ff9103;
    line-height: 56px;
    font-weight: 700;
    font-size: 25px;
  }
}

button.btn.btn-form-submit.stripe-processing {
      background: #01a7f7;
    }
