/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


 /* Style for disabled time slots */
.time-disabled {
    background: #f5c6cb !important;
    color: #666 !important;
    font-weight: bold !important;
    cursor: not-allowed !important;
}


.woocommerce-notices-wrapper{
    display:none !important;
}

.show_if_simple{
	display:none !important;
}


.ct-product-add-to-cart .ba-field-group .ba-hourly-date{
margin-bottom:0px !important;
}
.ct-product-add-to-cart .ba-field-group {
margin-bottom:20px;
}
.ct-product-add-to-cart .ba-field-group:nth-child(3){
width:48%;
display:inline-block;
}
.ct-product-add-to-cart .ba-field-group:nth-child(4){
width:48%;
display:inline-block;
margin-left:4%;
}

@media (max-width:370px){
.ct-product-add-to-cart .ba-field-group:nth-child(3),
.ct-product-add-to-cart .ba-field-group:nth-child(4){
width:100%; 
}
.ct-product-add-to-cart .ba-field-group:nth-child(4){
margin-left:0
}
}

/* FullCalendar Event Colors */
.fc-event {
    border: none !important;
    background-color: inherit !important;
    border-radius: 0 !important;
}

.fc-event-main {
    background-color: inherit !important;
    border-radius: 0 !important;
}

.fc-event-title {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    padding: 4px 2px !important;
}

.fc-daygrid-event {
    margin-bottom: 2px !important;
    border-radius: 0 !important;
    background-color: inherit !important;
}

.fc-col-day-frame {
    background-color: #FAFAFA;
}

/* Ensure event backgrounds stay visible */
.fc-daygrid-event.fc-daygrid-block-event {
    background-color: inherit !important;
    border-color: inherit !important;
    border-radius: 0 !important;
}

.fc-daygrid-event.fc-daygrid-block-event .fc-event-main {
    background-color: inherit !important;
    border-radius: 0 !important;
}

/* Override FullCalendar default blue color */
.fc .fc-daygrid-event.fc-event {
    background-color: inherit !important;
    border-color: inherit !important;
    border-radius: 0 !important;
}

.fc .fc-event .fc-event-main {
    background-color: inherit !important;
    border-radius: 0 !important;
}

.fc .fc-event .fc-event-title {
    color: #FFFFFF !important;
}

/* Remove any theme colors */
.fc-theme-standard .fc-daygrid-event {
    background-color: inherit !important;
    border-radius: 0 !important;
}



.woocommerce-bacs-bank-details {
    background: #f8f9fb;
    border: 1px solid #e3e6ec;
    padding: 25px 30px;
    border-radius: 10px;
    margin: 40px 0; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
 

.woocommerce-bacs-bank-details h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
    font-weight: 600;
}
 
 /*Account name */
.woocommerce-bacs-bank-details h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #444;
    font-weight: 500;
}
 
 /*List styling */
.woocommerce-bacs-bank-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
 /*List items */
.woocommerce-bacs-bank-details li {
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #e4e4e4;
}
 
 /*Last item no border */
.woocommerce-bacs-bank-details li:last-child {
    border-bottom: none;
}
 
 /*Bold value */
.woocommerce-bacs-bank-details li strong {
    color: #111;
    font-weight: 600;
}

body.woocommerce-account .woocommerce.ct-woo-account {
    margin: 50px 50px;
}

#ba-fullcalendar .fc-event {
    cursor: pointer;
}


.fc-daygrid-event-dot{
    display: none !important;
}


.fc-event-time {
    display: none !important;
}

.fc-event-title {
    cursor: pointer !important;
    color: #FFFFFF !important;  
    margin: -2px !important;
    padding: 4px 8px !important;          
    font-size: 15px !important;
    font-weight: 400 !important;
    display: inline-block !important;
    white-space: normal !important;
    line-height: 1.4 !important;
}

/* Event background color styling - inherits from event color property */
#ba-fullcalendar .fc-event {
    border-color: inherit !important;
}

/* Blood Red Box for Multi-day Events - Specific selectors */
.fc-daygrid-event.fc-event.fc-h-event {
    border: 3px solid #8B0000 !important;
    box-shadow: 0 2px 4px rgba(139, 0, 0, 0.3) !important;
    padding: 4px !important;
    margin: 2px !important;
}

.fc-daygrid-event.fc-event {
    border: 3px solid #8B0000 !important;
}

/* Arrow pointer for multi-day events - left arrow */
.fc-daygrid-event.fc-event.fc-h-event.fc-event-start::before {
    content: '◀';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B0000;
    font-size: 20px;
    z-index: 10;
}

/* Arrow pointer for multi-day events - right arrow */
.fc-daygrid-event.fc-event.fc-h-event.fc-event-end::after {
    content: '▶';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B0000;
    font-size: 20px;
    z-index: 10;
}

#ba-fullcalendar .fc-daygrid-event {
    margin-top: 2px !important;
}

/* Ensure text contrasts well on colored backgrounds */
#ba-fullcalendar .fc-event-title-container {
    padding: 0 !important;
}
/* Popup Background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Added to Cart Message Styling */
.ba-added-to-cart {
    background-color: #D4EDDA !important;
    border: 1px solid #C3E6CB !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    color: #28A745 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.ba-success-icon {
    color: #28A745 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
}

/* Go to Cart Button Styling */
.ba-added-to-cart .button.wc-forward {
    background-color: #28A745 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 8px 16px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin-left: auto !important;
    transition: background-color 0.3s ease !important;
}

.ba-added-to-cart .button.wc-forward:hover {
    background-color: #218838 !important;
}

/* Popup Overlay */
.ba-popup-overlay {
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Content Box */
.popup-content {
    background: #fff;
    padding: 20px;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Textarea */
.cancel-reason-textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Error message */
.reason-error {
    color: red;
    margin: 5px 0;
    font-size: 14px;
    display: none;
}

/* Buttons wrapper */
.popup-actions {
    margin-top: 15px;
    text-align: right;
}

/* Submit Button */
.cancel-submit-btn {
    background: #d9534f;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Close Button */
.cancel-close-btn {
    background: #666;
    color: #fff;
    padding: 7px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}

/* Cancel button inside table */
.cancel-btn {
    background: #d9534f;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ba-slot-message {
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 4px;
}

th.product-quantity {
    display: none;
}

.ba-custom-cart-msg {
    background: #e6f9ec;
    border: 1px solid #28a745;
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.ba-check {
    color: #28a745;
    font-size: 16px;
    font-weight: bold;
}

.ba-go-cart-btn {
    margin-left: auto;
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}
.fc-event-title {
    white-space: pre-line !important;
    font-size: 12px;
    line-height: 1.4;
    padding: 0 !important;
}

/* First line (time) → red box */
.fc-event-title::first-line {
    /*background-color: #ff0000;*/
    color: #fff;
    padding: 3px 6px;
    display: inline-block;
    border-radius: 2px;
}

/* Second line (event type) → normal text */
.fc-event-title {
    color: #fff !important;
}
.ba-event-type {
    color: #9ca3af; /* light gray like placeholder */
}

/* When user selects real option → make it dark */
.ba-event-type:valid {
    color: #000;
}

#baSlotMessage .ba-custom-cart-msg {
    background: #e6f9ec !important;
    border: 1px solid #28a745 !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 500 !important;
}

#baSlotMessage .ba-check {
    color: #28a745 !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

#baSlotMessage .ba-go-cart-btn {
    margin-left: auto !important;
    background: #28a745 !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}
.fc-daygrid-event {
    height: auto !important;
    align-items: flex-start !important;
}
/* Add spacing between events */
.fc-daygrid-day-events .fc-daygrid-event-harness + .fc-daygrid-event-harness {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 2px dashed #000000 !important;
}
