/**
 * Juliana Bookings - Frontend Styles
 */

.jb-booking-form {
    margin-bottom: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #eee;
}

.jb-booking-form h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #C9A86C;
    font-size: 1.2em;
    font-weight: 600;
}

.jb-booking-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    display: inline-block;
}

.jb-date-select,
.jb-time-select {
    margin-bottom: 20px;
}

.jb-date-select label,
.jb-time-select label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.jb-date-select select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.jb-date-select select:hover,
.jb-date-select select:focus {
    border-color: #C9A86C;
    outline: none;
}

#jb_time_slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jb-time-slot {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
}

.jb-time-slot:hover {
    border-color: #C9A86C;
    background: #faf7f2;
}

.jb-time-slot.selected {
    border-color: #C9A86C;
    background: #C9A86C;
    color: #fff;
}

.jb-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.jb-loading .spinner {
    margin-right: 10px;
}

.jb-no-slots {
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    text-align: center;
}

/* Cart and checkout booking display */
.jb-cart-booking-info {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 13px;
}

.jb-cart-booking-info strong {
    color: #C9A86C;
}

/* Responsive */
@media (max-width: 600px) {
    .jb-booking-form {
        padding: 15px;
    }

    .jb-time-slot {
        flex: 1 1 calc(50% - 5px);
        min-width: auto;
    }
}
