/* General container for the booking form */
/* .vbp-booking-form-wrapper{
    width: 100%;
    max-width: 1280px;
    margin: 20px auto;
    border-radius: 20px;
    padding: 20px;
    background-color: rgb(220, 241, 231);
} */
.vbp-booking-form-wrapper {
    
    /* font-family: 'DM Sans', sans-serif; */
    color: #000;
    font-size: 16px;
    width: 100%;
    font-family: inherit;
}
.vbp-booking-form-wrapper *{
    margin: 0;
    padding: 0;
}
.ui-dialog.ui-widget{
    background: #ffffff;
    border-radius: 16px;
    border: none;
    padding: 24px;
    position: fixed !important;
    width: 370px !important;
    top: 35% !important;
    left: calc(50% - 185px) !important;
}

.ui-dialog .ui-dialog-titlebar.ui-widget-header{
    display: none;
    background: transparent;
    border: none;
    font-size: 19px;
    color: #000;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}
.ui-dialog .ui-dialog-titlebar.ui-widget-header .ui-dialog-titlebar-close{
    display: none;
}
.ui-dialog .ui-widget-content.ui-dialog-content{
    padding: 0;
    text-align: center;
}
.ui-dialog .ui-widget-content.ui-dialog-buttonpane{
    padding: 0;
    margin-top: 12px;
    border-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.ui-dialog .ui-dialog-buttonpane button.ui-button.ui-corner-all.ui-widget{
    margin: 0;
    border: none;
    outline: none;
    box-shadow: 0px 12px 32px 0px rgba(44, 195, 116, 0.50);
    border-radius: 99px;
    padding: 10px 20px;
    font-weight: 700;
    line-height: 18px;
    font-size: 16px;
    text-transform: capitalize;
    width: 100%;
    background: #2CC374;
    color: #fff;
    transition: all 300ms ease;
}
.ui-dialog .ui-dialog-buttonpane button.ui-button.ui-corner-all.ui-widget:hover{
    background: #1BA25B;
    transform: translateY(-3px);
    
}
/* Calendar Styling (using jQuery UI Datepicker base for example) */
.ui-datepicker.ui-widget.ui-widget-content {
    width: 100%;
    border: none;
    font-size: 1em;
}

.ui-datepicker .ui-datepicker-header {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    border-radius: 0;
    transition: background-color 0.3s ease;
    transform-origin: center;
}

.ui-datepicker .ui-datepicker-prev{
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform:  translateY(-50%) rotate(-45deg);
}
.ui-datepicker .ui-datepicker-next{
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform:  translateY(-50%) rotate(45deg);
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover{
    background: none;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.ui-datepicker .ui-datepicker-next.ui-state-hover{
    background: none;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.ui-datepicker .ui-datepicker-prev span.ui-icon,
.ui-datepicker .ui-datepicker-next span.ui-icon{
    display: none;
    
}

.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    background-color: rgba(255,255,255,0.2);
}

.ui-datepicker .ui-datepicker-title{
    margin: 0;
    font-size: 24px;
    color: #000;
    font-weight: bold;
}

.ui-datepicker-calendar {
    width: 100%;
    margin: 15px 0 0 0;
    border-collapse: collapse;
}

.ui-datepicker-calendar thead th {
    padding: 10px 8px;
    text-align: center;
    font-weight: 500;
    line-height: 1;
    font-size: 18px;
    color: #1f1f1f;
    background-color: transparent;
}

table.ui-datepicker-calendar td {
    --theme-color-alter_bg_color: transparent;
    padding: 5px;
    text-align: center;
    background-color: transparent;
}

.ui-datepicker-calendar tbody td span.ui-state-default,
.ui-datepicker-calendar tbody td a.ui-state-default {
    display: block;
    padding: 10px 8px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    border: 1px solid #ececec;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ui-datepicker-calendar tbody td a.ui-state-default{
    background-color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.ui-datepicker-calendar tbody td a.ui-state-default:hover {
    background-color: #28a7463d;
    color: #28a745;
}

.ui-state-highlight, .ui-state-active { /* Selected date */
    background-color: #28a745 !important;
    color: #fff !important;
    font-weight: bold;
}

.ui-datepicker-calendar tbody td.ui-datepicker-today a.ui-state-default{
    background-color: #fff !important;
    color: #000 !important;
}
.ui-datepicker-calendar tbody td.ui-datepicker-today a.ui-state-default.ui-state-highlight.ui-state-active{
    background-color: #28a745 !important;
    color: #fff !important;
    font-weight: bold;
}

.ui-datepicker-calendar tbody td.ui-datepicker-today{
    position: relative;
}
.ui-datepicker-calendar tbody td.ui-datepicker-today::after{
    content: '';
    position: absolute;
    z-index: 10;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #28a745;
    border-radius: 50%;

}

.ui-datepicker-calendar tbody td.ui-state-disabled {
    cursor: not-allowed !important;
    background-color: #fcfcfc;
    opacity: 1;
}

.ui-datepicker-calendar tbody td.ui-state-disabled span.ui-state-default{
    color: #ccc;
    border: 1px solid transparent;
}

.ui-state-disabled {
    color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.vbp-calendar-section{
    padding: 32px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.1);
}

.vbp-your-selection{
    padding: 32px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.1);
}
h2.text-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}
h3.text-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}
h4.text-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.vbp-selected-slots-list {
    list-style: none;
    padding: 0;
    margin: 27px 0;
}

.vbp-selected-slots-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: 12px;
    margin-bottom: 0;
}

.vbp-selected-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    background: #F9FAFB;
}

.vbp-selected-slot-item:last-child {
    border-bottom: none;
}

.vbp-slot-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vbp-slot-details strong {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.vbp-slot-details span {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.vbp-slot-details span.vbp-slot-venue-name{
    color: #000;
}

.vbp-selected-slot-item span.vbp-slot-price{
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.vbp-total-price{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    padding: 27px 0;
    border-top: 1px solid #EDEDED;
}

.vbp-login-to-book-btn{
    appearance: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 16px 32px;
    background-color: #2CC374;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    border-radius: 99px;
    box-shadow: 0 12px 32px 0 #2CC37480;
}
.vbp-login-to-book-btn:hover{
    transition: all 200ms ease-in-out;
    transform: translateY(-4px);
    background-color: #23A455;
    color: #fff;
}
.vbp-login-to-book-btn:focus{
    outline: none;
}
.vbp-booking-notes{
    margin-top: 27px;
    font-size: 16px;
    color: #00000099;
}

.vbp-remove-slot-btn {
    appearance: none;
    color: #dc3545;
    cursor: pointer;
    margin-top: 4px;
    margin-left: 5px;
    padding: 0;
    border: none;
    background-color: transparent;
}

.vbp-remove-slot-btn svg {
    width: 16px;
    height: 16px;
}
.vbp-booking-form-container{
    display: grid;
    align-items: flex-start;
    grid-template-columns: 400px 1fr;
    grid-template-rows: repeat(3, minmax(0, auto));
    gap: 40px;
}

/* Right Column: Venue and Time Slot Selection */
.vbp-right-column {
    grid-column: 2;
    grid-row: 1 / span 3;
}
.vbp-right-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vbp-right-header ul.vbp-labels{
    display: flex;
    align-items: center;
}
.vbp-right-header li.vbp-label-item{
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    color: #000;
}
.vbp-right-header li.vbp-label-item .vbp-label-icon{
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 4px;
}
.vbp-time-slots-section{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    margin-top: 40px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}
.all-venue-time-slots-wrap{
    width: 100%;
    overflow: hidden;
}
.all-venue-time-slots{
    position: relative;
    overflow-x: scroll;
}

.vbp-venue-select-container {
    margin-bottom: 20px;
}

.vbp-venue-select-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.vbp-venue-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    background-color: #f9f9f9;
}

.vbp-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust column width as needed */
    gap: 10px;
    margin-top: 20px;
}

.vbp-time-slot-item {
    background-color: #e9ecef; /* Default for available */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.vbp-time-slot-item.selected {
    background-color: #28a745; /* Green for selected */
    color: #fff;
    border-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.vbp-time-slot-item.unavailable {
    background-color: #f8d7da; /* Light red for unavailable */
    color: #721c24;
    border-color: #f5c6cb;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;
}

.vbp-time-slot-item:not(.unavailable):hover {
    background-color: #d4edda;
    border-color: #28a745;
}

.vbp-time-slot-item strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.vbp-time-slot-item span {
    font-size: 0.9em;
    color: #6c757d; /* Default color */
}

.vbp-time-slot-item.selected span {
    color: #fff;
}

.vbp-time-slot-item.unavailable span {
    color: #721c24;
}

/* Loading spinner */
.vbp-loading-overlay {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
}

.vbp-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #28a745;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* User Bookings Table Styles */
.vbp-user-bookings-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vbp-user-bookings-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8em;
}

.vbp-user-bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.vbp-user-bookings-table th,
.vbp-user-bookings-table td {
    border: 1px solid #eee;
    padding: 12px 15px;
    text-align: left;
}

.vbp-user-bookings-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
    font-size: 0.9em;
}

.vbp-user-bookings-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.vbp-user-bookings-table tbody tr:hover {
    background-color: #f0f0f0;
}


/* ---------------------- */
.vbp-time-slots-table{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.vbp-time-slots-table > :not([hidden]) ~ :not([hidden]) {
    border-left: 1px solid #EFEFEF;
}

.vbp-time-slots-table-fix-col{
    border-right: 1px solid #EFEFEF;
    appearance: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vbp-time-slots-table-fix-col > :not([hidden]) ~ :not([hidden]) {
    border-top: 1px solid #EFEFEF;
}

.vbp-time-slots-table-fix-col-th{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    background-color: #2CC374;
}

.vbp-time-slots-table-fix-col-td{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background-color: #fff;
    color: #000000;
}

.vbp-time-slots-table-col{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 33.3333%;
    min-width: min-content;
    max-width: 100%;
    appearance: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vbp-time-slots-table-col > :not([hidden]) ~ :not([hidden]) {
    border-top: 1px solid #EFEFEF;
}

.vbp-time-slots-table-col-th{
    width: 100%;
    min-width: min-content;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    text-wrap: nowrap;
    box-sizing: border-box;
    padding: 0 10px;
    background-color: #2CC374;
    color: #FFF;
    font-weight: 700;
}

.vbp-time-slots-table-col-td{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background-color: #FFFFFF;
    cursor: pointer;
}
.vbp-time-slots-table-col-td.unavailable{
    background-color: #D9D9D9;
}
.vbp-time-slots-table-col-td.selected{
    background-color: #2CC374;
}

.vbp-cancellation-policy{
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #E9E9E9;
}
@media screen and (max-width: 1000px) {

    .vbp-booking-form-container{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }
    .vbp-your-selection{
        order: 3;
        margin-top: 0;
    }
    .vbp-right-column {
        order: 2;
    }
    .vbp-right-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .vbp-right-header h2.text-title{
        margin-bottom: 10px;
    }
}


#auth-ajax-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

#auth-ajax-modal a:focus{
    outline: none;
}
.auth-ajax-modal-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 80%;
    max-width: 920px;
    position: relative;
}

.auth-ajax-close { cursor: pointer; position: absolute; top: 20px; right: 40px; font-size: 28px; }
@media screen and (max-width: 768px) {
    .auth-ajax-modal-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        width: 90%;
        max-width: 450px;
    }
    .auth-ajax-close {top: 10px; right: 20px;}
}
.auth-ajax-modal-left{
    background-color: #FAFAFA;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.auth-ajax-modal-left .auth-ajax-logo{
    width: 80%;
    max-width: 268px;
    height: auto;
}

.auth-ajax-modal-right{
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.auth-ajax-modal-right .auth-ajax-login-content,
.auth-ajax-modal-right .auth-ajax-register-content{
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}


.auth-ajax-modal-right h2.auth-ajax-text-title{
    color: #010101;
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 48px;
}
.auth-ajax-modal-right .auth-ajax-form-group{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
}
.auth-ajax-modal-right .auth-ajax-form-group label{
    color: #010101;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 2px;
}

/* input */
.auth-ajax-modal-right .auth-ajax-form-group input{
    padding: 18px 16px;
    border: 1px solid #B0B0B0;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1;
    background: #FFF;
}

.auth-ajax-modal-right .auth-ajax-form-group input:focus{
    outline: none;
    border-color: #2CC374;
}

.auth-ajax-modal-right .auth-ajax-form-group button.auth-ajax-submit-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: none;
    border-radius: 99px;
    color: #787878;
    background-color: #C4C4C4;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}
.auth-ajax-modal-right .auth-ajax-form-group button.auth-ajax-submit-btn.active{
    cursor: pointer;
    color: #ffffff;
    background-color: #2CC374;
    box-shadow: 0 8px 24px 0 rgba(44, 195, 116, 0.50);
}

.auth-ajax-modal-right .auth-ajax-form-group button.auth-ajax-submit-btn.active:hover{
    transform: translateY(-4px);
    transition-duration: 300ms;
    box-shadow: 0 12px 32px 0 rgba(44, 195, 116, 0.50);
}


.auth-ajax-modal-right .auth-ajax-forgot-password{
    display: flex;
    align-items: center;
    gap: 6px;
    color: #787878;
    font-size: 12px;
    line-height: 16px;
    margin-top: 4px;
}

.auth-ajax-modal-right .auth-ajax-forgot-password a{
    color: #010101;
    font-size: 13.3px;
    text-decoration: none;
}

.auth-ajax-modal-right .auth-ajax-jump-tips{
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    color: #787878;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 20px;
}
.auth-ajax-modal-right .auth-ajax-jump-tips a{
    color: #010101;
    font-size: 13.3px;
    text-decoration: none;
}


.auth-ajax-powered-by{
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #010101;
}
.auth-ajax-powered-by-link{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    font-weight: 500;
    text-decoration: none;
}
.auth-ajax-powered-by-link .auth-ajax-powered-by-logo{
    width: 14px;
    height: auto;
    margin-right: 2px;
}

@media(max-width: 767px) {
	h2.text-title {
		font-size: 24px;
	}
	.ui-datepicker .ui-datepicker-title {
		font-size: 20px;
	}
	h3.text-title{
		font-size:20px;
	}
}