/* =========================================================
   Book Appointment Modal — matches Figma
   (nodes 53:924 / 53:981 / 53:1038)
   Built on top of Bootstrap 5's modal component.
   ========================================================= */

.booking-modal .booking-modal-dialog{
  max-width: 826px;
}

.booking-modal-content{
  background: #fefefe;
  border: none;
  border-radius: 24px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
  overflow: hidden;
}

.booking-modal-header{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 50px 16px;
}

.booking-modal-title{
  margin: 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  line-height: 28.8px;
  color: #000000;
  text-align: center;
}

.booking-modal-close{
  position: absolute;
  top: 8px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #aaaaaa;
  cursor: pointer;
  padding: 4px 8px;
}
.booking-modal-close:hover{
  color: #666666;
}

.booking-form-body{
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 50px 32px;
}

.booking-form-row{
  display: flex;
  gap: 24px;
  width: 100%;
}
.booking-form-group{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.booking-label{
  /* font-family: 'Satoshi', sans-serif; */
  font-size: 16px;
  line-height: 24px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.booking-input{
height: 50px;
    width: 100%;
    background: #f9f9f7;
    border: 0.909px solid #d9d9d9 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    color: #1B1B1A !important;
}
.booking-input::placeholder{
  color: #1B1B1B;
}
.booking-input:focus{
  outline: none;
  border-color: #2d5f4f;
  /* box-shadow: 0 0 0 3px rgba(45,95,79,0.12); */
}

.booking-select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23767676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.booking-select:disabled{
  cursor: not-allowed;
  opacity: 0.7;
}

.booking-form-message{
  display: none;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  border-radius: 8px;
  padding: 12px 16px;
}
.booking-form-message.is-visible{
  display: block;
}
.booking-form-message.is-success{
  background: rgba(45,95,79,0.10);
  color: #2d5f4f;
}
.booking-form-message.is-error{
  background: rgba(200,40,40,0.08);
  color: #c82828;
}

.booking-form-footer{
  border-top: 0.909px solid #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 50px 48px;
}

.booking-submit-btn{
  background: #2d5f4f;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  line-height: 16px;
  cursor: pointer;
  transition: opacity .2s ease;
}
.booking-submit-btn:hover{
  opacity: 0.9;
}
.booking-submit-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767.98px){
  .booking-modal-header{
    padding: 24px 24px 12px;
  }
  .booking-form-body{
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .booking-form-row{
    flex-direction: column;
    gap: 16px;
  }
  .booking-form-footer{
    padding: 16px 24px 32px;
  }
  .booking-modal-title{
    font-size: 20px;
  }
}
