/* =========================================================
   Booking refresh v2
   File: public/site/css/custom/website-booking-v2.css
   ========================================================= */

/* ===== Background only behind booking area ===== */
.appoinment-booking-area{
    position: relative;
    margin-top: -35px;
    padding: 34px 0 60px;
}

.appoinment-booking-area::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/public/site/images/booking/booking-bg-desktop.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-radius: 18px;
    opacity: 1;
    z-index: 0;
}

.appoinment-booking-area::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.42);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 18px;
    z-index: 0;
}

.appoinment-booking-area > .container,
.appoinment-booking-area .row,
.appoinment-booking-area .single-booking-area{
    position: relative;
    z-index: 1;
}

/* ===== Card ===== */
.booking-v2-card{
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.14);
    border: 1px solid rgba(255,255,255,0.60);
    background: rgba(255,255,255,0.92);
    overflow: hidden;
    padding: 26px;
}

.appoinment-booking-area .form-wrap{
    text-align: left;
}

/* ===== Form polish ===== */
.appoinment-booking-area .form-wrap .form-control{
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    margin-bottom: 10px;
    border-color: rgba(0,0,0,0.14);
    background: rgba(255,255,255,0.98);
    height: 40px !important;
}

label{
    font-weight: 600;
    margin-bottom: 6px !important;
    color: rgba(0,0,0,0.78);
}

/* ===== Wizard (jQuery Steps) ===== */
.wizard > .content{
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.wizard > .content > .body{
    padding: 10px 4px 4px 4px !important;
    position: relative !important;
}

.wizard > .steps ul{
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wizard > .steps ul > li{
    width: 100% !important;
    margin: 0 !important;
}

.wizard > .steps a,
.wizard > .steps a:hover,
.wizard > .steps a:active{
    display: block !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    margin: 0 !important;
    background: rgba(0,0,0,0.06) !important;
    color: rgba(0,0,0,0.55) !important;
    font-weight: 700 !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    text-align: left !important;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active{
    background: rgba(0,0,0,0.12) !important;
    color: rgba(0,0,0,0.75) !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active{
    background: rgba(79,141,60,0.14) !important;
    color: rgba(0,0,0,0.75) !important;
    border: 1px solid rgba(79,141,60,0.18) !important;
}

.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active{
    opacity: 0.55 !important;
}

.wizard > .actions{
    margin-top: 16px !important;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active{
    border-radius: 12px !important;
    padding: 10px 16px !important;
}

/* ===== Calendar header ===== */
#serviceDate{
    width: 242px;
    margin-bottom: 0;
    border-bottom: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    text-align: center;
    background: rgba(0,0,0,0.55);
    color: #000000;
}

#divPreNext{
    width: 60px;
}

#iPrvDate,
#iNextDate{
    background: rgba(0,0,0,0.55);
    padding: 5px 8px;
    border-radius: 24px;
    cursor: pointer;
    color: #fff;
    height: 26px;
    width: 26px;
}

/* ===== Time slots: chips ===== */
#divServiceAvaiableTime{
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255,255,255,0.72);
    min-height: 150px;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.divServiceAvaiable{
    padding: 12px;
    padding-top: 6px;
}

.divTimeSlot:hover{
    background: rgba(255,255,255,0.98);
}

.divTimeSlotActive{
    color: #ffffff !important;
    background: var(--theamColor) !important;
    border-color: var(--theamColor) !important;
}

.divTimeSlot.disabled-service{
    opacity: 0.45;
    cursor: not-allowed !important;
}

.divTimeSlot.disabled-service::after{
    content: "Unavailable";
    display: block;
    font-size: 11px;
    text-align: center;
    margin-top: 4px;
    opacity: .9;
}

/* Selected service line */
.divSelectedService{
    color: #ffffff;
    border-radius: 14px;
    text-align: left;
    padding: 6px 6px;
    background: rgba(0,0,0,0.68);
}

/* ===== Booking v2 grid + summary panel ===== */
.booking-v2-grid{
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.booking-v2-main{
    min-width: 0;
}

.booking-v2-summary{
    position: sticky;
    top: 18px;
}

.booking-summary-card{
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.10);
    padding: 18px;
    margin-left: 30px;
}

.booking-summary-title{
    font-size: 18px;
    font-weight: 800;
    color: rgba(0,0,0,0.78);
    margin-bottom: 14px;
}

.booking-summary-item{
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.booking-summary-item:first-child{
    border-top: none;
    padding-top: 0;
}

.booking-summary-item .line1{
    font-weight: 800;
    color: rgba(0,0,0,0.78);
    font-size: 14px;
    margin-bottom: 4px;
}

.booking-summary-item .line2{
    color: rgba(0,0,0,0.60);
    font-size: 13px;
    line-height: 1.4;
}

.booking-summary-empty{
    padding: 6px 0;
}

.booking-summary-totals{
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.booking-summary-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: rgba(0,0,0,0.70);
    font-size: 14px;
}

.booking-summary-total{
    font-size: 15px;
    color: rgba(0,0,0,0.80);
}

.booking-summary-continue{
    width: 100%;
    margin-top: 12px;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 800;
    border: none;
    background: rgba(197, 150, 92, 0.95);
    color: #ffffff;
}

.booking-summary-continue:disabled{
    opacity: 0.55;
}

.booking-summary-continue:hover{
    background: rgba(197, 150, 92, 1);
    color: #ffffff;
}

/* ===== Accordion polish ===== */
.booking-help-accordion-item{
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.60);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

.booking-help-accordion-btn{
    font-weight: 800;
    color: rgba(0,0,0,0.75);
}

.booking-help-accordion-body{
    background: rgba(255,255,255,0.76);
}

.booking-help-steps{
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 992px){
    .booking-v2-grid{
        grid-template-columns: 1fr;
    }
    .booking-v2-summary{
        position: static;
    }
}

@media (max-width: 768px){
    .appoinment-booking-area{
        padding: 22px 0 44px;
    }

    .appoinment-booking-area::before{
        background-image: url("/public/site/images/booking/booking-bg-mobile.jpg");
        border-radius: 14px;
    }

    .appoinment-booking-area::after{
        border-radius: 14px;
        background: rgba(255,255,255,0.52);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #divServiceCalendar{
        display: none;
    }

}
.text-start {
    font-size: 16px !important;
}
/* =========================================================
   Booking v2: Wizard header (progress line + ticks)
   ========================================================= */

#serviceStep.wizard > .steps{
    padding: 12px 16px 0 16px;
    margin-bottom: 14px;
}

#serviceStep.wizard > .steps > ul{
    display: flex;
    gap: 14px;
    position: relative;
    padding-bottom: 18px;
    margin: 0;
}

/* Base progress line */
#serviceStep.wizard > .steps > ul::after{
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 44px;
    bottom: 6px;
    height: 4px;
    border-radius: 999px;
    background: rgba(0,0,0,.12);
}

/* Each step */
#serviceStep.wizard > .steps > ul > li{
    flex: 1;
    position: relative;
    padding: 0;
    margin: 0;
}

/* Step label container */
#serviceStep.wizard > .steps > ul > li > a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(0,0,0,.06);
    color: rgba(0,0,0,.55);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.06);
}

/* Remove the default number box */
#serviceStep.wizard > .steps .number{
    display: none !important;
}

/* Tick circle */
#serviceStep.wizard > .steps > ul > li > a::before{
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,.18);
    background: rgba(255,255,255,.6);
    display: inline-block;
}

/* Active step */
#serviceStep.wizard > .steps .current a{
    background: rgba(0,0,0,.08) !important;
    color: rgba(0,0,0,.85) !important;
    border-color: rgba(0,0,0,.10) !important;
}

/* Done step */
#serviceStep.wizard > .steps .done a{
    background: rgba(0,0,0,.08) !important;
    color: rgba(0,0,0,.80) !important;
    border-color: rgba(0,0,0,.10) !important;
}

/* Done tick */
#serviceStep.wizard > .steps .done a::before{
    background: rgba(0,0,0,.10);
    border-color: rgba(0,0,0,.18);
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.6);
}

/* Current tick highlight */
#serviceStep.wizard > .steps .current a::before {
    background: rgb(255 235 142);
    border-color: rgba(0, 0, 0, .22);
}

/* Wizard actions buttons more modern */
#serviceStep.wizard > .actions{
    padding: 0 16px 16px 16px;
    margin-top: 10px;
}

#serviceStep.wizard > .actions > ul{
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
}

#serviceStep.wizard > .actions a{
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(0,0,0,.10) !important;
}

/* Make "Previous" subtle */
#serviceStep.wizard > .actions li:first-child a{
    background: rgba(0,0,0,.05) !important;
    color: rgba(0,0,0,.75) !important;
}

/* Make "Next" strong */
#serviceStep.wizard > .actions li:last-child a{
    background: #0d6efd !important;
    color: #fff !important;
}

/* Mobile: stack step labels a bit tighter */
@media (max-width: 768px){
    #serviceStep.wizard > .steps > ul{
        gap: 10px;
        padding-bottom: 16px;
    }
    #serviceStep.wizard > .steps > ul > li > a{
        padding: 12px 12px;
        font-size: 14px;
    }
}
/* =========================================================
   Booking v2: Time area (calendar + chip slots + next available)
   ========================================================= */

/* Make the time area feel like a card section */
#divTopDays{
    padding-top: 10px !important;
}

#divDaysName{
    font-weight: 700;
    font-size: 16px;
    color: rgba(0,0,0,.75);
}

/* Slots become soft chips */
.divTimeSlot{
    border: 1px solid rgba(0,0,0,.14);
    background: rgba(255,255,255,.75);
    border-radius: 12px;
    margin: 6px 6px;
    padding: 8px 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    cursor: pointer;
    min-width: 140px;
    font-size: 14px;
    color: rgba(0,0,0,.75);
    transition: transform .08s ease, box-shadow .12s ease;
}

.divTimeSlot:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* Active slot */
.divTimeSlotActive{
    background: rgba(196, 150, 79, .22) !important;
    border-color: rgba(196, 150, 79, .70) !important;
    color: rgba(0,0,0,.85) !important;
}

/* Disabled slot */
.divTimeSlot.disabled-service{
    opacity: .40;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.divTimeSlot.disabled-service::after{
    content: "";
    display: none;
}

/* Next available block */
.booking-v2-next-available{
    width: 244px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,247,229.01);
    text-align: left;
}

.booking-v2-next-title{
    font-weight: 700;
    color: rgba(0,0,0,.75);
    margin-bottom: 4px;
}

.booking-v2-next-value{
    font-size: 14px;
    color: rgba(0,0,0,.70);
    margin-bottom: 12px;
}

.booking-v2-book-slot{
    width: 220px;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
    background: rgba(196, 150, 79, .25);
    border: 1px solid rgba(196, 150, 79, .55);
    color: rgba(0,0,0,.75);
}

.booking-v2-book-slot:disabled{
    opacity: .45;
    cursor: not-allowed;
}

.booking-v2-arrow{
    margin-left: 10px;
    font-weight: 900;
}
/* -----------------------------
   Wizard Step Header Redesign
--------------------------------*/

.wizard > .steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.wizard > .steps ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.wizard > .steps li {
    flex: 1;
    text-align: center;
}

.wizard > .steps a {
    background: transparent !important;
    padding: 10px 0;
    font-weight: 500;
    color: #888;
}

.wizard > .steps .current a {
    color: #6c68ef;
    font-weight: 600;
}

.wizard > .steps .done a {
    color: #4f8d3c;
}

.wizard > .steps .number {
    display: none;
}
/* -----------------------------
   Layout Spacing Improvements
--------------------------------*/

/* Bigger container on desktop */
@media (min-width: 1200px) {
    .appoinment-booking-area .container {
        max-width: 1240px !important;
    }
}

/* More padding on the main card */
.appoinment-booking-area .single-booking-area {
    padding: 28px !important;
}

/* Space between top selectors + calendar/time area */
.booking-v2-main .row {
    margin-bottom: 18px;
}

/* Give the time slot area more width */
#divTopDays {
    padding-left: 28px !important;
}

/* Make the time slots sit nicely and not feel cramped */
#divServiceAvaiableTime {
    gap: 12px !important;
    margin-top: 10px;
}

/* Position the prev/next arrows neatly (they're floating at the moment) */
#divPreNext {
    width: auto !important;
    display: flex;
    gap: 10px;
    align-items: center;
}

#iPrvDate,
#iNextDate {
    background: rgba(0,0,0,.55) !important;
    border-radius: 999px !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Booking summary: a touch wider */
.booking-v2-summary .booking-summary-card {
    width: 320px;
}
@media (max-width: 991px){
  .appoinment-booking-area .single-booking-area{
    padding: 18px !important;
  }
  #divTopDays{
    padding-left: 0 !important;
    margin-top: 12px !important;
  }

  /* Let calendar stack properly on mobile */
  #divServiceCalendar{
    margin-bottom: 18px;
  }
}
/* =========================================================
   Booking v2: MOBILE HARD FIX (calendar + overflow)
   ========================================================= */

@media (max-width: 991px){

  /* Stop the page sliding sideways */
  html, body{
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
.xdsoft_datetimepicker .xdsoft_datepicker {
    width: 256px;
    float: left;
    margin-left: 8px;
}

#serviceStep.wizard > .steps > ul::after {
    top: 65px !important;
}

.btn-success {
    margin-top: 8px !important;
}

.divServiceAvaiable {
    padding: 2px;
    padding-top: 6px;
}

  .booking-v2-summary .booking-summary-card{
        width: 100% !important;
        margin-top: 8px;
        margin-left: 18px;
        margin-bottom: 18px;
    }

  .appoinment-booking-area,
  .appoinment-booking-area .container,
  .appoinment-booking-area .single-booking-area{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Kill any leftover desktop spacing that pushes content right */
  #divTopDays{
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* Force bootstrap columns to stack nicely on mobile */
  .booking-v2-main .row{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .booking-v2-main [class*="col-"]{
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* SHOW CALENDAR no matter what old CSS says */
  #divServiceCalendar{
    display: block !important;
    visibility: visible !important;
  }

  /* Calendar widgets must not exceed screen width */
  #serviceDate{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #divServiceDate,
  .xdsoft_datetimepicker{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .xdsoft_datetimepicker *{
    box-sizing: border-box !important;
  }

  /* Time slot panel should fill width */
  #divServiceAvaiableTime{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Time slots: two per row, no overflow */
    .divTimeSlot {
        width: calc(40% - 8px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 8px 8px !important;
        min-width: 110px !important;
        border-radius: 10px !important;
    }

  /* Wizard header often causes overflow */
  .wizard,
  .wizard > .content,
  .wizard > .steps,
  .wizard > .actions{
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}
@media (max-width: 480px){
    
    .booking-v2-next-available{
    width: 274px;
}

.xdsoft_datetimepicker .xdsoft_datepicker {
    width: 256px;
    float: left;
    margin-left: 8px;
}

.btn-success {
    margin-top: 8px !important;
}

    .divPreNext {
        margin-top: 14px !important;
        margin-left: 80px;
    }

    .divTimeSlot {
        width: calc(40% - 8px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 8px 8px !important;
        min-width: 100px !important;
        border-radius: 10px !important;
    }
    
    .booking-v2-main .row {
    margin-bottom: 0px;
}
    

}

.divServiceAvaiable {
    padding: 2px;
    padding-top: 6px;
}

  .booking-v2-summary .booking-summary-card{
        width: 100% !important;
        margin-top: 8px;
        margin-left: 1px;
        margin-bottom: 18px;
    }
    
    #divDaysName {
    margin-bottom: 15px;
    margin-top: -45px;
    margin-left: 18px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(248, 243, 234, 0.1);
    border-radius: 14px;
    padding: 12px;
}

/* Put arrows UNDER the day name and centre them */
#divPreNext #divDaysName{
    display:block;
    text-align:center;
    margin: 0 auto 10px auto;
}

#divPreNext .divPreNext{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    width:100%;
}

/* Optional: make them easier to tap/click */
#divPreNext .iChangeDate{
    cursor:pointer;
    padding:10px 12px;
}
/* Appointment Type error highlight */
#service_location_block.border-red{
  border: 2px solid #d9534f !important;
  border-radius: 12px;
  padding: 12px;
  margin-left: 6px;
}
/* Payment tiles: always clickable */
#divPaymentMethod{
  position: relative;
  z-index: 5;
  margin-right: 16px;
}

.payment-chose-div{
  cursor: pointer;
  position: relative;
  z-index: 6;
}

/* If any parent/container is blocking clicks, this helps */
.payment-chose-div,
.payment-chose-div *{
  pointer-events: auto;
}
/* Payment selected state: obvious highlight */
.payment-chose-div{
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  background: rgba(239,237,237,.70) !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.payment-chose-div.payment-chose{
  border-color: rgba(0,0,0,.22) !important;
  background: rgba(254,255,231,.92) !important;
  box-shadow: 1px 10px 15px rgba(0,0,0,.12) !important;
  transform: translateY(-1px);
}

/* Slightly dim non-selected tiles when one is chosen */
#divPaymentMethod.has-selection .payment-chose-div:not(.payment-chose){
  opacity: .65;
}

#divPaymentMethod{
    max-width: 300px;
    padding-top: 6px;
}
.payment-chose-div img {
    width: 87px;
    height: 32px;
}

  .payment-chose{
    background:var(--theamColorRgba);
    border: 1px solid rgb(13 63 113);
  }

  .payment-chose div{
      color: #fff !important;
  }
  .payment-chose i{
    color: #fff !important;
  }
  .table>:not(:first-child) {
    border-top:none;
}

#add-service-btn{
    padding: 3px 9px;
    font-size: 14px;
}
.p-2 {
    padding: .95rem !important;
}

.space-top {
    margin-top: 10px !important;
}
.float-start {
    margin-right: 12px !important;
}