.footer-content-container {
  padding-top: 10px;
}

.top-heading {
  font-size: 14px !important;
}

.booking-logo {
  width: 230px;
  height: 100%;
  margin: 0 auto;
}

.rhi_form_container {
  width: 100%;
  max-width: 600px;
  background-color: white;
  /* border-radius: 12px; */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 auto;
  margin-top: 12px;
}
.rhi_form_header {
  background-color: white;
  color: #097a36;
  padding: 8px 0 0;
  text-align: center;
  /* border-bottom: 3px solid #f7941d; */
}

.rhi_form_header.cust {
  background-color: unset;
  text-align: center;
  padding: 0;
  color: unset;
  border-bottom: unset;
}

.rhi_form_header h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.rhi_form_header h1 {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.rhi_progress_bar {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 0px 40px 0;
  margin-bottom: 6px;
}

.rhi_progress_bar::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.rhi_progress_step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rhi_step_number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #9e9e9e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.rhi_step_text {
  font-size: 14px;
  color: #9e9e9e;
}

.rhi_active .rhi_step_number {
  background-color: #097a36;
  color: white;
}

.rhi_active .rhi_step_text {
  color: #097a36;
  font-weight: 500;
}

.rhi_completed .rhi_step_number {
  background-color: #f7941d;
  color: white;
}

.rhi_form_content {
  padding: 0px 24px 10px;
}

.rhi_step {
  display: none;
}

.rhi_step.rhi_active {
  display: block;
}

.rhi_step_title {
  font-size: 18px;
  font-weight: 600;
  margin: 15px 0;
  color: #097a36;
  text-align: center;
}

.rhi_condition_options {
  gap: 12px;
  margin-bottom: 24px;
  display: flex;
  white-space: nowrap;
}

.rhi_condition_option {
  position: relative;
  width: 230px;
  margin: 0 auto 8px;
}

.rhi_condition_option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.rhi_condition_option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #797575;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  height: 100%;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}

.rhi_condition_option input:checked + label {
  border-color: #097a36;
  background-color: rgba(9, 122, 54, 0.1);
  color: #097a36;
  font-weight: 700;
}

.rhi_date_selection {
  margin-bottom: 24px;
}

.rhi_date_options {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  justify-content: center;
  /* margin-bottom: 16px; */
}

.rhi_date_option {
  position: relative;
  flex: 0 0 auto;
}

.rhi_date_option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.rhi_date_option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #797575;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
}

.rhi_date_option input:checked + label {
  border-color: #097a36;
  background-color: rgba(9, 122, 54, 0.1);
  color: #097a36;
}

.rhi_day_name {
  font-size: 11px;
  font-weight: 500;
}

.rhi_day_date {
  font-size: 18px;
  font-weight: 600;
  /* margin: 4px 0; */
}

.rhi_day_month {
  font-size: 12px;
}

.rhi_time_slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.rhi_time_slot {
  position: relative;
}

.rhi_time_slot input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.rhi_time_slot label {
  display: block;
  padding: 12px 2px;
  border: 1px solid #797575;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.rhi_time_slot input:checked + label {
  border-color: #097a36;
  background-color: rgba(9, 122, 54, 0.1);
  color: #097a36;
  font-weight: 500;
}

.rhi_personal_info {
  display: grid;
  gap: 10px;
}

.rhi_form_group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
}

.input-container {
  position: relative;
  padding-top: 5px; 
}

.rhi_form_group input {
  height: 50px;
  padding: 0 12px;
  border: 1px solid #797575;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.rhi_form_group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
  transition: all 0.2s ease;
  pointer-events: none;
  background: white;
  padding: 0 4px;
}

.rhi_form_group input:focus + label,
.rhi_form_group input:not(:placeholder-shown) + label {
  top: 0; 
  transform: translateY(0);
  font-size: 12px;
  color: #097a36;
}

.rhi_form_group input:focus {
  outline: none;
  border-color: #097a36;
  border-width: 2px;
}

.rhi_form_actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}

.rhi_btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.rhi_btn_back {
  background-color: #f0f0f0;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rhi_btn_back:hover {
  background-color: #e0e0e0;
}

.rhi_btn_next {
  background-color: #097a36;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rhi_btn_next:hover {
  background-color: #076528;
}

.rhi_btn_submit {
  background-color: #f7941d;
  color: white;
  width: 40%;
}

.rhi_btn_submit:hover {
  background-color: #e08619;
}

@media (max-width: 600px) {
  .rhi_progress_bar {
    padding: 0px 40px 0;
  }
  .rhi_btn_submit {
    width: 100%;
  }

  .rhi_time_slot label {
    font-size: 10px;
  }

  /* .rhi_date_options {
    width: 300px;
  } */

  .rhi_progress_bar::before {
    left: 50px;
    right: 50px;
  }

  /* .rhi_condition_options {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  } */

  .rhi_time_slots {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .rhi_date_option label {
    min-width: 68px;
    padding: 3px;
  }

  .rhi_form_actions {
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 99;
  }

  .rhi_btn {
    width: 100%;
  }
}

.rhi_logo_container {
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
}

.rhi_logo {
  max-width: 280px;
  height: auto;
}

.rhi_otp_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.rhi_otp_modal_content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.rhi_otp_inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.rhi_otp_input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.rhi_otp_actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.rhi_otp_timer {
  margin: 10px 0;
  color: #666;
  font-size: 14px;
}

.rhi_btn_resend:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.booking-success-container {
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  padding: 20px;
}

.booking-success-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 500px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.booking-success-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.success-animation {
  margin: 0 auto 30px;
  width: 100px;
  height: 100px;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #4caf50;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4caf50;
  animation: fill 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #4caf50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.success-title {
  color: #2e7d32;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 30px;
}

.success-details {
  background: #f5f9f5;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  font-size: 20px;
  margin-right: 15px;
  color: #4caf50;
}

.detail-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 2px;
}

.detail-value {
  color: #333;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.success-message {
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 15px;
}

.success-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.btn-primary {
  background: #4caf50;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #3d8b40;
  transform: translateY(-2px);
}

.btn-outline {
  background: white;
  color: #4caf50;
  border: 1px solid #4caf50;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #f5f9f5;
  transform: translateY(-2px);
}

.success-footer {
  color: #777;
  font-size: 13px;
}

.success-footer a {
  color: #4caf50;
  text-decoration: none;
  font-weight: 500;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 50px rgba(76, 175, 80, 0);
  }
}

@media (max-width: 600px) {
  .booking-success-card {
    padding: 30px 20px;
  }

  .success-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .booking-logo {
    width: 150px;
    height: 100%;
    margin: 0 auto;
  }

  .rhi_date_options {
    justify-content: unset;
  }

  .rhi_form_header p {
    font-size: 16px;
  }

  .rhi_condition_options {
    display: unset;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
  }

  .rhi_condition_option input:checked + label {
    font-weight: 500;
  }

  .rhi_form_container {
    margin-top: 0px;
  }
}
