/* css/cbf-style.css */

/* Container */
#cbf_booking_form {
  max-width: 600px;
  margin: 2em auto;
  padding: 1.5em;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  font-family: system-ui, sans-serif;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Spacing */
#cbf_booking_form p {
  margin-bottom: 1.2em;
}

/* Labels */
#cbf_booking_form label {
  display: block;
  margin-bottom: 0.4em;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Inputs, selects, textareas */
#cbf_booking_form input[type="text"],
#cbf_booking_form input[type="email"],
#cbf_booking_form input[type="tel"],
#cbf_booking_form select,
#cbf_booking_form textarea {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
  cursor: pointer;
}

#cbf_booking_form input:focus,
#cbf_booking_form select:focus,
#cbf_booking_form textarea:focus {
  outline: none;
  /*border-color: #0073aa;*/
}

/* Buttons */
#cbf_booking_form button {
  font-size: 1rem;
  /*padding: 0.7em 1.4em;*/
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

#cbf_booking_form button[type="submit"] {
  background: #0073aa;
  color: #fff;
}

#cbf_booking_form button[type="submit"]:hover {
  background: #005d8f;
}

#cbf_booking_form #cbf_clear_signature {
  background: #e1e1e1;
  color: #333;
  margin-top: 0.5em;
}

#cbf_booking_form #cbf_clear_signature:hover {
  background: #ccc;
}

#cbf_booking_form input, #cbf_booking_form label {
    cursor: pointer;
}

/* Signature canvas */
#cbf_signature {
  width: 100%;
  max-width: 300px;
  /*width: 100%;*/
  /*height: 100px;*/
  border: 1px solid #ccc;
  border-radius: 4px;
  touch-action: none; /* so dragging on touch won’t scroll away */
}

#ui-datepicker-div {
    text-align: center;
    font-size: 14px;
    padding: 10px 10px 0px 10px;
    box-shadow: 0px 0px 3px 0px #9f9f9f;
    border-radius: 3px;
}

table.ui-datepicker-calendar td, table.ui-datepicker-calendar th {
    padding: 6px 12px;
    font-weight: 400;
}

/* Highlight the in-range dates */
.ui-datepicker td.cbf-selected-range {
  background-color: #af9f90 !important;
}

#cbf_phone, #cbf_phone_alternative {
    padding-left: 60px !important;
}

#cbf_phone input, #cbf_phone_alternative input {
    width: 385px;
}

.cbf_phone_label .iti {
    display: block !important;
}

/* Optionally, give start/end a slightly different shade */
.ui-datepicker td.cbf-selected-start,
.ui-datepicker td.cbf-selected-end {
  background-color: #9D8772 !important;
}

/*.ui-datepicker td.cbf-selected-start {*/
/*    border-top-left-radius: 15px;*/
/*    border-bottom-left-radius: 15px;*/
/*}*/

/*.ui-datepicker td.cbf-selected-end {*/
/*    border-top-right-radius: 15px;*/
/*    border-bottom-right-radius: 15px;*/
/*}*/

.ui-datepicker td.cbf-selected-range a {
  color:#ffffff !important;
}

.ui-datepicker {
    background-color: #ffffff;
}

.ui-datepicker-unselectable {
    background-color: #FFBAC2 !important;
}

.ui-datepicker-unselectable span, .ui-datepicker-unselectable a {
    color: #F60C07;
    text-decoration: line-through;
}

.ui-datepicker td {
    cursor: pointer;
}

.ui-datepicker td a, .ui-datepicker td span {

}


.ui-datepicker-prev {
    float: left;
}

.ui-datepicker-next {
    float: right;
}

.ui-datepicker-prev, .ui-datepicker-next {
    border: 1px #e7e7e7 solid;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.ui-datepicker-calendar{
    width: 100%;
    border: 1px solid #EDEDED;
    margin-bottom: 24px;
    margin-top: 20px;
}

.start-end-date-section {
    font-size: 0px;
}

.start-end-date-section label, .start-end-date-section .DateRangePickerInput_arrow_svg {
    display: inline-block !important;
}

.start-end-date-section .start-date-label, .start-end-date-section .end-date-label {
    width: calc(35% - 15px);
    min-width: 115px;
}

.start-date-label input {
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    text-align: center;
}

.end-date-label input {
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    text-align: center;
}

.arrow-symbol {
    height: 50px;
    padding-top: 11px;
    /*border-top: 1px solid #ccc;*/
    /*border-bottom: 1px solid #ccc;*/
}

.start-end-date-section .DateRangePickerInput_arrow_svg {
    width: 30px;
}

.start-end-date-section .DateRangePickerInput_arrow_svg path {
    fill: #767676;
}

.iti__country-list {
    left: 1px;
}


/* grey-out booked dates */
.ui-datepicker td.cbf-booked-date a {
  background: #e0e0e0 !important;
  color:      #999     !important;
  pointer-events: none;
}
/* optional tooltip styling */
.ui-datepicker td.cbf-booked-date a:hover::after {
  content: attr(title);
  position: absolute;
  background: #333;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  top: -1.5em;
  font-size: 0.75em;
}

/* Blocked admin-restricted dates */
.ui-datepicker td.cbf-blocked-date a {
  background-color: #e74c3c !important;
  color:            #fff      !important;
  pointer-events:   none;
}




/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;            /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal content */
.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 1.5em 1.75em;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.modal-content p {
  margin-bottom: 1.5em;
  font-size: 1rem;
}

/* Button */
.modal-btn {
  background: none;
  border: 1px solid #b5b5b5;
  padding: 5px 15px 4px 15px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal-btn:hover {
  background: #333;
  color: #fff;
}

/* Demo trigger */
#showDemo {
  margin-bottom: 2em;
  padding: 0.6em 1.2em;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
#showDemo:hover {
  opacity: 0.9;
}
























.content-box {
  margin: 40px auto;
  padding: 20px 30px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #333;
  transition: all 0.3s ease;
}

.content-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.content-box h3 {
  margin-top: 0;
}

.content-box p {
  margin: 0;
}

.error-message {
  color: #d93025; /* red */
  background-color: #fce8e6;
  border: 1px solid #d93025;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  font-weight: bold;
}

html[lang="en-us"] #contract_html_arabic, html[lang="auto"] #contract_html_arabic {
    display: none !important;
}

html[lang="ar"] #contract_html_english {
    display: none !important;
}



























