/**
 * Custom styles for Simple Booking Plugin
 */

/* Main container styling */
.sbp-booking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(142, 69, 133, 0.4);
}

/* Form header */
.sbp-booking-container h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8E4585;
}

/* Single event title */
.sbp-single-event-title h3 {
    margin: 0 0 15px 0;
    color: #8E4585;
	font-weight: bold;
    font-size: 1.5em;
}

/* Event details section */
.sbp-event-details {
    margin-bottom: 20px;
}

.sbp-event-info {
    background-color: #f0f0f0;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #8E4585;
}

/* Form inputs */
#sbp-booking-form input[type="text"],
#sbp-booking-form input[type="email"],
#sbp-booking-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#sbp-booking-form select {
    height: 42px;
}

/* Attendees field styling */
.sbp-attendees-field {
    margin-bottom: 15px;
}

.sbp-attendees-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.sbp-attendees-field input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.sbp-max-attendees-note {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #666;
}

/* Submit button */
#sbp-booking-form button[type="submit"] {
    background-color: #8E4585;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
}

#sbp-booking-form button[type="submit"]:hover {
    background-color: #6E3D6F;
}

/* Response messages */
#sbp-message .success {
    background-color: #F7E6CA;
    color: #8E4585;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
}

#sbp-message .error {
    background-color: red;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sbp-booking-container {
        padding: 15px;
    }
    
    .sbp-attendees-field {
        display: flex;
        flex-direction: column;
    }
    
    .sbp-attendees-field input[type="number"] {
        width: 100%;
    }
}