.wc-booking-calendar-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Remove grid layout - stack vertically */
.booking-calendar-container {
    display: block;
}

/* Calendar Styles */
.booking-calendar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide WooCommerce price amounts */
.woocommerce-Price-amount.amount {
    display: none !important;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.calendar-nav {
    background: transparent;
    border: 2px solid #1e3a8a;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e3a8a;
    font-size: 20px;
}

.calendar-nav:hover {
    background: #1e3a8a;
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.calendar-day-number {
    font-size: 0.875rem;
    font-weight: 500;
}

.calendar-day-quota {
    font-size: 0.65rem;
    color: #dc2626;
    font-weight: 600;
    margin-top: 2px;
}

.calendar-day:not(.disabled):not(.other-month):hover {
    background: #f3f4f6;
    border-color: #4ade80;
}

.calendar-day.selected {
    background: #1e3a8a;
    color: white;
}

.calendar-day.selected .calendar-day-quota {
    color: #fca5a5;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-day.disabled .calendar-day-quota {
    color: #d1d5db;
}

.calendar-day.other-month {
    color: #d1d5db;
}

.calendar-day.calendar-day-empty {
    visibility: hidden;
    pointer-events: none;
}

.calendar-day.today {
    border-color: #4ade80;
}

/* Quantity Selector Styles */
.booking-quantity-selector {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quantity-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
}

/* Selected Date and Quota Info */
.booking-date-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.selected-date-quota {
    margin: 0;
    color: #0c4a6e;
    font-size: 0.95rem;
    line-height: 1.6;
}

.selected-date-quota strong {
    color: #0369a1;
}

.selected-date-value,
.selected-quota-value {
    color: #0c4a6e;
    font-weight: 600;
}

.quantity-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.quantity-row:last-of-type {
    margin-bottom: 1rem;
    border-bottom: none;
}

.quantity-label {
    display: flex;
    flex-direction: column;
}

.quantity-type {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.95rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-btn:disabled:hover {
    transform: none;
}

.quantity-controls input[type="number"] {
    width: 60px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.quantity-controls input[type="number"]::-webkit-inner-spin-button,
.quantity-controls input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide subtotal and total sections */
.quantity-subtotal,
.quantity-total {
    display: none !important;
}

/* Hide codevz-product-live element */
.codevz-product-live {
    display: none !important;
}

/* WooCommerce Checkout - Hide subtotal and total rows */
.woocommerce-checkout .cart-subtotal,
.woocommerce-checkout .order-total {
    display: none !important;
}

/* Button Styles */
.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.booking-next-btn,
.booking-back-btn,
.single_add_to_cart_button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.booking-next-btn {
    background: #1e3a8a;
    color: white;
}

.booking-next-btn:hover:not(:disabled) {
    background: #1e40af;
}

.booking-next-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.booking-back-btn {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.booking-back-btn:hover {
    background: #f3f4f6;
}

.single_add_to_cart_button {
    background: #1e3a8a;
    color: white;
}

.single_add_to_cart_button:hover {
    background: #1e40af;
}

/* Loading State */
.booking-calendar.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error Message */
.booking-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Success Message */
.booking-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}