/* ================================
   Field Booking Plugin - Frontend
   ================================ */

/* Booking Form Wrapper */
#booking-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#booking-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

#booking-form select,
#booking-form input[type="date"],
#booking-form input[type="text"],
#booking-form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

#booking-form select:focus,
#booking-form input[type="date"]:focus {
    border-color: #0073aa;
    outline: none;
}

/* Time Slots Table */
#time-slots-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
}

#time-slots-table thead {
    background: #0073aa;
    color: white;
}

#time-slots-table th,
#time-slots-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

#time-slots-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Disabled time slots */
#time-slots-table input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Total Price */
#total-price {
    font-weight: bold;
    color: #0073aa;
    font-size: 18px;
}

/* Submit Button */
#booking-form input[type="submit"] {
    background: #0073aa;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

#booking-form input[type="submit"]:hover {
    background: #005f8d;
}

/* Success & Error Messages */
.fb-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    display: none;
}

.fb-message.success {
    background: #e6f9ed;
    color: #2d7a46;
    border: 1px solid #b7e0c3;
}

.fb-message.error {
    background: #fbeaea;
    color: #a94442;
    border: 1px solid #f2c2c2;
}
