/* Booking Calendar */

#voodux-booking-calendar body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

#voodux-booking-calendar .calendar {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#voodux-booking-calendar header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#voodux-booking-calendar button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

#voodux-booking-calendar h2 {
    margin: 0;
}

#voodux-booking-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

#voodux-booking-calendar .day-name {
    text-align: center;
    background-color: #f2f2f2;
    padding: 8px 0;
    font-weight: bold;
    color: #333;
}

#voodux-booking-calendar .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

#voodux-booking-calendar .calendar-day {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

#voodux-booking-calendar .calendar-day:hover {
    background-color: #e0e0e0;
}

#voodux-booking-calendar .empty {
    background-color: #f9f9f9;
}

#voodux-booking-calendar h2 {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

#voodux-booking-calendar h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

#voodux-booking-calendar .form-field {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20px;
}

#voodux-booking-calendar .time-picker {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#voodux-booking-calendar .time-block {
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

#voodux-booking-calendar .time-block a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
}

#voodux-booking-calendar .time-block:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    color: #0073aa;
}

#voodux-booking-calendar .btn-book-now {
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

#voodux-booking-calendar .btn-book-now:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

#voodux-booking-calendar .btn-book-now:focus {
    outline: 2px solid #005a87;
    outline-offset: 2px;
}

#voodux-booking-calendar .btn-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0px 0px 40px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-end;
    border-bottom: 2px solid #ddd;
}

#voodux-booking-calendar .calendar-day.selected {
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
}

#voodux-booking-calendar .time-block.selected {
    background-color: #0073aa;
}

#voodux-booking-calendar .time-block.selected a {
    color: #fff;
}

#voodux-booking-calendar .time-block a:focus {
    outline: none;
    border: none;
}

#voodux-booking-calendar .error-message, 
#voodux-booking-calendar .booking-form-fields-message {
    float: left;
    color: red;
    font-size: 0.9em;
    display: none;
    align-items: center;
    height: 55px;
}

#voodux-booking-calendar .booking-form-fields-message {
    display: flex;
}

#voodux-booking-calendar .booking-form-fields-message i {
    color: black;
}

#voodux-booking-calendar .btn-now-wrapper {
    float: right;
}

#voodux-booking-calendar .calendar-day.past-day,
#voodux-booking-calendar .calendar-day.unavailable-day {
    color: #b0b0b0;
    pointer-events: none;
    background-color: #f0f0f0;
}

#voodux-booking-calendar .calendar-day.today {
    border: 2px solid blue;
    border-radius: 4px;
}

#voodux-booking-calendar .booking-confirmation {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #0073aa;
    border-radius: 10px;
    background: #d4edda;
    color: #155724;
    text-align: center;
    display: block;
}

#voodux-booking-calendar .time-block.booked {
    background-color: #ffdddd;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

#voodux-booking-calendar .time-block.booked a {
    color: #999;
    pointer-events: none;
    text-decoration: line-through;
}

#voodux-booking-calendar .total-price-container {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #333333;
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 2px solid #e0e0e0;
    padding-top: 10px;
    display: none;
}

#voodux-booking-calendar .total-price-label {
    margin-right: 10px;
    color: #555555;
    font-weight: bold;
}

#voodux-booking-calendar .total-price-amount {
    color: #000000;
    font-size: 18px;
}

#voodux-booking-calendar .total-price-currency {
    font-size: 18px;
}


/* ------------------------------------------------------- */

/* Booking Details Popup Window */

#bookingPopup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

#bookingPopup .popup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

#bookingPopup .popup-content h2 {
    margin-top: 0;
}

#bookingPopup .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#bookingPopup .close:hover,
#bookingPopup .close:focus {
    color: #000;
    text-decoration: none;
}

#bookingPopup .booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

#bookingPopup .booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#bookingPopup #bookingDetails {
    font-size: 1.0em;
    color: #333;
    background-color: #f4f4f4;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#bookingPopup #bookingDetails .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

#bookingPopup #bookingDetails .detail-row:last-child {
    border-bottom: none;
}

#bookingPopup #bookingDetails .label {
    font-weight: 600;
    font-size: 1em;
    color: #666;
    flex-basis: 30%;
}

#bookingPopup #bookingDetails .value {
    font-weight: 700;
    font-size: 1.1em;
    color: #333;
    text-align: right;
    flex-basis: 70%;
}

#bookingPopup #bookingDetails .value.price {
    color: #0073aa;
    font-size: 1.3em;
}

#bookingPopup .booking-form input[type="text"],
#bookingPopup .booking-form input[type="number"],
#bookingPopup .booking-form input[type="email"],
#bookingPopup .booking-form input[type="tel"],
#bookingPopup .booking-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#bookingPopup .booking-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#bookingPopup .booking-form input[type="submit"]:hover {
    background-color: #005f8d;
}