/* 
  TR-BOOKING-FORM-REDESIGN
  Redesign to match truereport.in
  Scoped under .tr-booking-form-wrapper to avoid conflicts
*/

.tr-booking-form-wrapper {
  font-family: 'Montserrat', sans-serif;
  background-color: transparent;
  /* Light cyan-ish background similar to truereport bg */
  border-radius: 20px;
  max-width: 100% !important;
}

/* Modal Header Redesign */
.tr-booking-form-wrapper .header-gradient-tr {
  background-color: #029e9e !important;
  color: #fbbf24 !important;
  text-align: center;
  padding: 15px !important;
  border-bottom: none !important;
  border-top-right-radius: 20px !important;
  border-top-left-radius: 20px !important;
  justify-content: center;
}

.modal.show .modal-dialog {
  transform: none;
  /* background-color: #a9dede; */
  margin-top: 0px;
  max-width: 550px !important;
  padding: 30px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.tr-booking-form-wrapper .header-gradient-tr .modal-title {
  background-color: #029e9e;
  /* Subtle border for the "Book Diagnostic Tests" tag effect */
  display: inline-block;
  padding: 5px 20px;
  border-radius: 5px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 24px;
}

/* Main Form Card */
.tr-booking-form-wrapper .form-container-tr {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: -50px !important;
}

.modal-content.custom-modal-content-tr {
  border: none !important;
  border-radius: 20px !important;
}

/* Visual Header (Benefits + Image) */
.tr-booking-form-wrapper .form-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f3f7f7;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.tr-booking-form-wrapper .test-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-booking-form-wrapper .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.tr-booking-form-wrapper .info-icon {
  width: 24px;
  height: 24px;
}

.tr-booking-form-wrapper .info-icon.red {
  color: #ef4444;
}

.tr-booking-form-wrapper .info-icon.green {
  color: #10b981;
}

.tr-booking-form-wrapper .doctor-image {
  max-width: 180px;
  height: auto;
  border-radius: 10px;
}

/* Sub-header */
.tr-booking-form-wrapper h2.sub-title {
  color: #010101;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 20px 0 !important;
}

/* Input Group Styling */
.tr-booking-form-wrapper .input-group-fancy {
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

.tr-booking-form-wrapper .input-group-fancy input,
.tr-booking-form-wrapper .input-group-fancy select {
  width: 100%;
  padding: 12px 15px 12px 50px !important;
  /* Large left padding for icon */
  border: 1px solid #cccccc;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tr-booking-form-wrapper .input-group-fancy input:focus {
  border-color: #029e9e;
  box-shadow: 0 0 0 3px rgba(2, 158, 158, 0.1);
  outline: none;
}

.tr-booking-form-wrapper .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #91b3f1;
  font-size: 18px;
  z-index: 10;
}

/* Button Styling */
.tr-booking-form-wrapper .action-button-tr {
  background-color: #fbbf24;
  color: #000000;
  border: none;
  border-radius: 30px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.tr-booking-form-wrapper .action-button-tr:hover {
  background-color: #f59e0b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.tr-booking-form-wrapper .action-button-tr .button-icon {
  font-size: 18px;
}

/* Navigation Buttons (Back/Next) */
.tr-booking-form-wrapper .button-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.tr-booking-form-wrapper .nav-button {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  font-weight: 700;
}

.tr-booking-form-wrapper .prev-button {
  background-color: #e5e7eb;
  color: #374151;
  border: none;
  border-radius: 30px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.tr-booking-form-wrapper .next-button {
  background-color: #fbbf24 !important;
  color: #000 !important;
  border: none;
  background: unset;
  align-items: center !important;
  justify-content: center;
}

/* Progress Bar */
.tr-booking-form-wrapper .progress-track {
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.tr-booking-form-wrapper .progress-bar-inner {
  height: 100%;
  background-color: #029e9e;
  transition: width 0.3s ease;
}

.tr-booking-form-wrapper .step-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

/* Radio Group styling */
.tr-booking-form-wrapper .bl-radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.tr-booking-form-wrapper .bl-radio-card {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
}

.tr-booking-form-wrapper .bl-radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #cccccc;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.tr-booking-form-wrapper input[type="radio"]:checked+.bl-radio-custom {
  border-color: #029e9e;
}

.tr-booking-form-wrapper input[type="radio"]:checked+.bl-radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #029e9e;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tr-booking-form-wrapper input[type="radio"] {
  display: none;
}

/* Selected Tests Styling */
.tr-booking-form-wrapper .attractive-test-card {
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
}

.tr-booking-form-wrapper .attractive-book-now-button {
  background-color: #029e9e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  width: 100%;
  font-weight: 700;
  margin-top: 10px;
}

@media(max-width:476px){
  button.tab-button.nav-button.prev-button {
      padding: 10px !important;
      width: 100%;
      flex: 0 0 100% !important;
    }
        button.btn.btn-link {
          color: #fff !important;
        }
        button.tab-button {
          padding: 10px !important;
        }
                .tr-booking-form-wrapper .header-gradient-tr .modal-title{
                  font-size: 17px;
                }

        .fade.tr-booking-form-wrapper.modal.show {
          padding: 0px 15px;
        }
                .modal.show .modal-dialog{
                        padding: 0px;
                        border-bottom-left-radius: 0px;
                        border-bottom-right-radius: 0px;
                }
}