/* Booking Form Styles - Unique classes to avoid conflicts with CRM */

.booking-widget {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
}

.booking-widget-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    border-bottom: 2px solid #e5e7eb !important;
    padding-bottom: 1rem !important;
}

.booking-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.booking-form-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem;
}

.booking-form-group input,
.booking-form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.booking-form-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

.booking-phone-row {
    grid-template-columns: 80px 1fr !important;
}

.booking-datetime-row {
    grid-template-columns: 1fr 1fr !important;
}

.booking-quantity-row {
    grid-template-columns: 1fr 1fr !important;
}

.booking-form-row input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.booking-quantity-field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.booking-quantity-field > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.booking-quantity-btn {
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.booking-quantity-field input[type="number"] {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure all form elements respect container width */
.booking-form * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent overflow on grid items */
.booking-form-row > * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
