body {
    --hh-custom-booking-form-bg-color: var(--hh-custom-booking-form-preset-bg-color, var(--wp--preset--color--background , #ffffff));
    --hh-custom-booking-form-light-bg-color: var(--hh-custom-booking-form-preset-light-bg-color, var(--wp--preset--color--background , #ffffff));
    --hh-custom-booking-form-text-color: var(--hh-custom-booking-form-preset-text-color, var(--theme--text-color, #000000));
    --hh-custom-booking-form-accent-color: var(--hh-custom-booking-form-preset-accent-color, var(--theme--primary-color, #5bbcb6));
    --hh-custom-booking-form-light-accent-color: var(--hh-custom-booking-form-preset-light-accent-color, var(--theme--primary-color, #5bbcb620));
    --hh-custom-booking-form-border: var(--hh-custom-booking-form-preset-border, 1px);
    --hh-custom-booking-form-border-color: var(--hh-custom-booking-form-preset-border-color, var(--hh-custom-booking-form-accent-color, var(--hh-custom-booking-form-text-color, rgba(0,0,0,0.125))));
    --hh-custom-booking-form-border-radius: var(--hh-custom-booking-form-preset-border-radius, var(--theme--border-radius, 0px));
    --hh-custom-booking-form-padding: var(--hh-custom-booking-form-preset-padding, 1rem);
    --hh-custom-booking-form-input-size:0.8em;
    --hh-custom-booking-form-label-size:0.95em;
    --hh-custom-booking-form-button-size:0.95em;
}
/*Flex*/
.flex-col-12 {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / span 2;
}

/*Form*/
#hh-custom-booking-form{
    background-color: var(--hh-custom-booking-form-bg-color);
    padding: var(--hh-custom-booking-form-padding);
    border:var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);
    border-radius:var(--hh-custom-booking-form-border-radius); 
    color:var(--hh-custom-booking-form-text-color); 
    position: relative;
}

#hh-custom-booking-form .w-50{
    width:50%;
}

#hh-custom-booking-form .d-flex{
    display:flex;
}

#hh-custom-booking-form h2,
#hh-custom-booking-form h3,
#hh-custom-booking-form h4,
#hh-custom-booking-form h5,
#hh-custom-booking-form h6{
    color:var(--hh-custom-booking-form-text-color); 
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}
#hh-custom-booking-form label{
    font-size:var(--hh-custom-booking-form-label-size);
    padding:0 1rem;
}
#hh-custom-booking-form .price-summary {
    padding: 1rem;
}
#hh-custom-booking-form .flex-col-6.text-end {
    text-align: end;
}

#hh-custom-booking-form button,
#hh-custom-booking-form .make-booking{
    display: block;
    width: 100%;
    padding:1rem;
    background-color: var(--hh-custom-booking-form-light-accent-color);
    border:var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);
    border-radius: var(--hh-custom-booking-form-border-radius);
    transition: all 300ms;
    text-align: center;
    color: var(--hh-custom-booking-form-text-color);
    margin-bottom:10px;
    margin-top: 10px;
    font-weight:bold;
}


#hh-custom-booking-form .make-booking:hover {
    color: var(--hh-custom-booking-form-accent-color);
}

#hh-custom-booking-form button:hover, 
#hh-custom-booking-form .make-booking:hover {
    background-color: transparent;
    color: var(--hh-custom-booking-form-accent-color);
}

#hh-custom-booking-form input,
#hh-custom-booking-form button#selectGuests{
    background-color: transparent;
    border: none;
    width: 100%;
    border-bottom: var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);;
    font-size: var(--hh-custom-booking-form-input-size);
    padding:1rem;
    border-radius:0;
    color: var(--hh-custom-booking-form-text-color);
    text-align:left;
    font-weight: 500;
}

#hh-custom-booking-form input:focus,
#hh-custom-booking-form input:active,
#hh-custom-booking-form input:hover{
     box-shadow: unset;
}
#hh-custom-booking-form button#selectGuests:focus,
#hh-custom-booking-form button#selectGuests:active,
#hh-custom-booking-form button#selectGuests:hover{
    background-color: transparent;
    color:var(--hh-custom-booking-form-text-color);;
    box-shadow: unset;
}
#hh-custom-booking-form input::placeholder{
 
    color:var(--hh-custom-booking-form-text-color);
}

#hh-custom-booking-form .promo-button-wrapper{
    position:relative;
}
#hh-custom-booking-form button#apply-promo {
    font-size: 1.2rem;
}

#hh-custom-booking-form button#apply-promo.apply-promo-disabled{
    cursor: not-allowed;
    background: #333333;
    color: white;
    border-color: #333333;
}

#hh-custom-booking-form button#remove-promo {
    display: none;
    color: #dc5c5c;
    background: transparent;
    border: 0;
}
#hh-custom-booking-form button#remove-promo.show{
    display: block;
}
#hh-custom-booking-form .promo-buttons-remove-apply{
    display: flex;
    gap:10px;
    position: absolute;
    max-width: 25%;
    right: 0;
    bottom: 0px;
    font-size: 1.2rem;
}
#hh-custom-booking-form .promo-buttons-remove-apply button{
    line-height:1.2rem;
}

#hh-custom-booking-form .dates-wrapper,
#hh-custom-booking-form .flexible-dates-wrapper,
#hh-custom-booking-form .guests-wrapper,
#hh-custom-booking-form .promo-wrapper{
    position: relative;
    margin-bottom: 10px;
}

#hh-custom-booking-form .price-table {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0,1fr) 9px minmax(0,1fr);
    grid-template-columns: repeat(2, minmax(0,1fr));
    -webkit-column-gap: 9px;
    -moz-column-gap: 9px;
    column-gap: 9px;
}



#hh-custom-booking-form .ajax-price {
    font-family: inherit;
    font-size: 2rem;
    color: var(--hh-custom-booking-form-text-color);
    font-weight:800;
}


#hh-custom-booking-form .form-footer .ajax-result > p {
    margin-top: 9px;
    font-size: var(--wp--preset--font-size--small)
}
#hh-custom-booking-form .form-footer .ajax-result > p:nth-child(2) {
    margin-top: 18px;
}

#hh-custom-booking-form .ajax-result div {
    font-size: var(--wp--preset--font-size--small)
}
#hh-custom-booking-form .default-message{
    font-size: var(--hh-custom-booking-form-label-size);
}
#hh-custom-booking-form .pricing-message,
#hh-custom-booking-form .default-message {
    margin-top:1rem;
    text-align:center;
}

#hh-custom-booking-form .price-bold-text {
    font-weight: 800;
    color: var(--hh-custom-booking-form-text-color);
}





/*Guest Dropdown */

#hh-custom-booking-form .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    width: 100%;
    padding: 30px;
    margin: .125rem 0 0;
    font-size: 0.95em;
    color: var(--hh-custom-booking-form-text-color);
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);
    border-radius: var(--hh-custom-booking-form-border-radius);
}

#hh-custom-booking-form .dropdown-menu.show {
    display: block
}

#hh-custom-booking-form div#promo-applied {
    font-size: var(--hh-custom-booking-form-input-size);

    font-weight:600;
}

#hh-custom-booking-form div#promo-applied.invalid-promo{
    color:#dc5c5c;
    margin-top:10px;

}
#hh-custom-booking-form div#promo-applied.valid-promo{
    color: #28a745;
    margin-top:10px;
}

#hh-custom-booking-form .dropdown-menu .input-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);
}

#hh-custom-booking-form .dropdown-menu .input-group:first-child {
    margin-bottom: 10px
}

#hh-custom-booking-form .dropdown-menu .input-group>.input-group-prepend {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between
}


#hh-custom-booking-form .dropdown-menu .input-group>input {
    width: 32%;
    text-align: center;
    background-color: transparent;
    font-size: 1em;
    height: 32px;
    border: none
}

#hh-custom-booking-form .dropdown-menu .input-group>.input-group-append {
    width: 18%
}
#hh-custom-booking-form .dropdown-menu .input-group>.input-group-prepend>button,
#hh-custom-booking-form .dropdown-menu .input-group>.input-group-append>button {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: .75em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color:transparent;
    border:none;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center
}




/*@media only screen and (max-width: 767px) {
    #hh-custom-booking-form * {
        font-size: 1em
    }
}*/




/* Datepicker Customisation */


#hh-custom-booking-form .daterangepicker-button{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 65px;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}


.daterangepicker {
    border-radius: var(--hh-custom-booking-form-border-radius);
    color:var(--hh-custom-booking-form-text-color);
}
.daterangepicker table td {
    padding: 0
}
.daterangepicker td.hide {
    color: #fff !important
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td{
  height:31px;
  line-height:31px;
}
.daterangepicker table tr:nth-child(even),
.daterangepicker table thead {
    background:#fff;
}
.daterangepicker td.start-date {
    border-radius: 16px 0 0 16px;
}
.daterangepicker td.end-date {
    border-radius: 0 16px 16px 0;
}
.daterangepicker td.start-date.end-date{
    border-radius: var(--hh-custom-booking-form-border-radius);
}
.daterangepicker td.in-range {
  background-color: var(--hh-custom-booking-form-light-accent-color);
  color: #fff;
}
.daterangepicker td.available:hover, .daterangepicker th.available:hover {
background-color: var(--hh-custom-booking-form-accent-color);
  color: #fff;
border-radius: var(--hh-custom-booking-form-border-radius);
}
.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: var(--hh-custom-booking-form-accent-color);
  color: #fff;
}
.daterangepicker.opensright:before{
    left: 40%;
}
.daterangepicker.opensright:after{
    left: calc(40% + 1px);
}

.daterangepicker .drp-calendar.left .calendar-table {
    border-right: 1px solid #dadada !important;
}

.daterangepicker .month {
    font-weight: 200;
    text-transform: uppercase;
    color:var(--hh-custom-booking-form-text-color);
}


#hh-custom-booking-form .too-soon {
    border: 2px solid #ff7575;
    padding:1rem;
    display:block;
    background-color: #ffeeee;
    border-radius: var(--hh-custom-booking-form-border-radius);
}

#hh-custom-booking-form .too-soon a {
    font-weight: 700;
    color: var(--hh-custom-booking-form-accent-color);
}
#hh-custom-booking-form .hh-custom-calendar-hr{
   position: relative;
   margin: 0.5em 0;
   display: block;
   background-color: var(--hh-custom-booking-form-border-color);
   height: var(--hh-custom-booking-form-border);
   width: 100%;
}


#hh-custom-booking-form #hh-custom-calender-guest-style[data-guest-style="dropdown"] .input-group-wrapper-block{
    display: flex;
    align-items: center;
    width:100%;
    margin-bottom: 1rem;
    justify-content: space-between;
    gap: 1rem;
}
#hh-custom-booking-form #hh-custom-calender-guest-style[data-guest-style="dropdown"] .input-group-wrapper-block div.input-group-wrapper {
    flex-grow: 1;
}
#hh-custom-booking-form #hh-custom-calender-guest-style[data-guest-style="dropdown"] .input-group-wrapper-block select{
    background-color: transparent;
    border: none;
    width: 100%;
    border-bottom: var(--hh-custom-booking-form-border) solid var(--hh-custom-booking-form-border-color);
    font-size: var(--hh-custom-booking-form-input-size);
    padding: 1rem;
    border-radius: 0;
    color: var(--hh-custom-booking-form-text-color);
    text-align: left;
    font-weight: 500;
    background-size: 0px;
    position: relative;
}




/* Remove native arrow */
#hh-custom-booking-form 
#hh-custom-calender-guest-style[data-guest-style="dropdown"] 
.input-group-wrapper-block select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#hh-custom-booking-form 
#hh-custom-calender-guest-style[data-guest-style="dropdown"] 
.input-group-wrapper-block .input-group-wrapper{
    position: relative;
}
#hh-custom-booking-form 
#hh-custom-calender-guest-style[data-guest-style="dropdown"] 
.input-group-wrapper-block .input-group-wrapper::after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f078";
    color: var(--hh-custom-booking-form-border-color);
    position: absolute;
    right: 1rem;
    bottom: 0%;
    transform: translateY(-50%);
    pointer-events: none; /* allow click-through */
    font-size: 14px;
    transition: 0.5s ease all;
}

#hh-custom-booking-form 
#hh-custom-calender-guest-style[data-guest-style="dropdown"] 
.input-group-wrapper-block .input-group-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

span.flex-dates-trigger,
span.flexible-dates-trigger{
    padding: 1rem 0;
    display: block;
    font-size: 1.5rem;
    text-decoration: none;
    cursor:pointer;
    text-align: center;
}
span.flexible-dates-trigger{
    text-align: left;
    padding:  10px 15px;
    background: #eaeaea8c;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom:1rem;
    display: flex;
    gap: 15px;
    align-items: center;
}

span.flexible-dates-trigger i{
    font-size:2rem;
    color:var(--hh-custom-booking-form-accent-color)
}



.flex-grid {
    display: grid;
    grid-template-columns: 160px repeat(5, 1fr);
    grid-template-rows: 80px repeat(5, 80px);
    border: 1px solid #ddd;
}

.flex-cell {
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

.flex-header {
    background: #f8f9fa;
    font-weight: 600;
}

.flex-corner {
    font-size: 12px;
    line-height: 1.3;
}

.price {
    cursor: pointer;
}

.price:hover {
    background: #e9f3ff;
}
.flex-cell.price.cheapest {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.flex-cell.price.cheapest:hover {
    color: #155724;
    background-color: #1557247a ;
    border-color: #c3e6cb;
}
.flex-cell.price.unavailable {
    cursor:not-allowed;
}

.flex-cell.price.unavailable:hover {
    cursor:not-allowed;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.hover-highlight{
 background-color:var(--theme--primary-color);   
 color:white;
}
.header-checkin-checkout {
    position: relative;
}
.header-checkin {
    position: absolute;
    bottom:10px;
    text-align:center;
    left: 10px;
    font-size:1.5rem;
    word-break:break-word;

}

.header-checkout {
    position: absolute;
    top:10px;
    text-align:center;
    right: 10px;
    font-size:1.5rem;
    word-break:break-word;
     max-width: 50px;
}

.flexible-dates-wrapper .d-flex{
  gap:10px;  
}
.flexible-date-fields-nights {
    display: flex;
}
#hh-custom-booking-form .flexible-date-fields-nights button{
    background-color:white;
    color:var(--theme--primary-color);
    margin-bottom: 0;
}
#hh-custom-booking-form .flexible-date-fields-nights input{
    text-align:center;
}

.field-border.flexible-dates-checkin {
    position: relative;
}
#hh-custom-booking-form .flexible-daterangepicker-button{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 65px;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}
.flexible-daterangepicker-button-wrapper {
    position: relative;
    width: 100%;
    height: 1px;
}
.flexible-daterangepicker-button-wrapper .daterangepicker{
    width:100%;
}
.flexible-daterangepicker-button-wrapper .daterangepicker .drp-calendar{
   max-width: 100%;
}

.flexible-daterangepicker-button-wrapper .daterangepicker .drp-calendar.left .calendar-table{
   border-right: 0px solid #dadada !important;
}/*
/*.flexible-daterangepicker-button-wrapper .daterangepicker .calendar-table th, .flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td{
    width:100%;
}*/
.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td{
    height: 50px;
    line-height: 50px;

}

.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td,
.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table th
{
    padding:8px;
    width: 100px;
}

.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td.available{
    position:relative;
/*    padding: 5px 1.8em;*/
}
.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td.available span.los-date-price{
    display: inline;
    position:absolute;
    bottom: 35px;
    max-height: 0px;
    /* width: 0; */
    left:50%;
    transform: translateX(-50%);
    font-size: 12px;
    color:var(
    --hh-custom-booking-form-accent-color);
    z-index: 0;
}

.flexible-daterangepicker-button-wrapper .daterangepicker td.active.available span.los-date-price, 
.flexible-daterangepicker-button-wrapper .daterangepicker td.available:hover span.los-date-price{
    color:white;
}

.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td.available.lowest-rate span.los-date-price{
    color:purple;;
}

/*@media screen and  (min-width:768px) and (max-width:1400px){
    .flexible-daterangepicker-button-wrapper .daterangepicker .calendar-table th, .flexible-daterangepicker-button-wrapper .daterangepicker .calendar-table td{
        width: 20px;
    }
}*/


/* Skeleton container */

.flexible-daterangepicker-button-wrapper  .daterangepicker .calendar-table td.available.lowest-rate span.los-date-price.loading{
   color: transparent;
}

.flexible-daterangepicker-button-wrapper 
.daterangepicker td.available span.los-date-price.loading {
    position: absolute;
    display: inline-block;
    width: 80%;              /* Adjust based on your layout */
    height: 40%;
    max-height: unset;
    border-radius: var(--hh-custom-booking-form-border-radius);
    background-color: #e0e0e0;
    overflow: hidden;
    color: transparent;
    bottom: 0;
    z-index:2;
}

/* Shimmer animation */
.flexible-daterangepicker-button-wrapper 
.daterangepicker td.available span.los-date-price.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: skeleton-shimmer 1.4s infinite;
}

/* Animation keyframes */
@keyframes skeleton-shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.flexible-daterangepicker-button-wrapper-text {
    padding: 15px 0px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    justify-content: space-evenly;
}
.flexible-loader {
    display: flex;
    padding: 15px;
    align-items: center;
    justify-content: center;
}

.daterangepicker td{
    position:relative;
}

.daterangepicker td::before {
    font-family: 'font awesome 5 pro';
    font-weight: 800;
    position: absolute;
    right: 0px;
    top:-10px;
    font-size:12px;
    height: 0;
    transition: 0.3s all;
}


.daterangepicker td.lead-time-block::before {
    content: '\f06a';
    color: rgb(24,117,255);
    font-weight: 500;
}

.daterangepicker td.closed-to-arrival::before,
.daterangepicker td.closed-to-departure::before{
    content: '\f06a';
    color: coral;
}

.daterangepicker td.min-night-block::before {
    content: '\f06a';
    color: #8000ff;
}
   


.flexible-daterangepicker-button-wrapper td::before {
    right: 5px;
    font-size:15px;
}

.flexible-daterangepicker-button-wrapper td.lead-time-block:hover,
.flexible-daterangepicker-button-wrapper td.closed-to-arrival:hover ,
.flexible-daterangepicker-button-wrapper td.closed-to-departure:hover ,
.flexible-daterangepicker-button-wrapper td.min-night-block:hover {
    color: white;
}

.daterangepicker td.lead-time-block:hover{
    color:transparent;
}

.daterangepicker td:hover::before,
.daterangepicker td:hover::before{
    font-size: 20px;
    top: 0px;
    right: 5px;
    transition:0.3s all;
}

.flexible-daterangepicker-button-wrapper td:hover::before {
    font-size:30px;
    top: 10px;
    right: 14px;
    transition:0.3s all;
}

.daterangepicker td.min-night-block:not(.flexible-daterangepicker-button-wrapper td.min-night-block){
     background-color: var(--theme--primary-color-60);
}

.daterangepicker td.off.in-range.closed-to-arrival{
     background-color:  var(--hh-custom-booking-form-accent-color);
     color:#fff;
}

