/* Smoobu Direct Booking - Public CSS */
.smoobu-booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
}

.smoobu-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.smoobu-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 0 5px;
    position: relative;
}

.smoobu-step.active {
    background: #4a90e2;
    color: white;
}

.smoobu-step.completed {
    background: #4caf50;
    color: white;
}

.smoobu-form-step {
    display: none;
}

.smoobu-form-step.active {
    display: block;
}

.smoobu-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.smoobu-form-field {
    flex: 1;
}

.smoobu-form-field.full-width {
    flex: 0 0 100%;
}

.smoobu-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.smoobu-form-field input[type="text"],
.smoobu-form-field input[type="email"],
.smoobu-form-field input[type="tel"],
.smoobu-form-field input[type="date"],
.smoobu-form-field select,
.smoobu-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.smoobu-form-field input[type="checkbox"] {
    margin-right: 10px;
}

.smoobu-form-field input.error,
.smoobu-form-field select.error,
.smoobu-form-field textarea.error {
    border-color: #d32f2f;
}

.smoobu-validation-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
}

.smoobu-check-availability,
.smoobu-prev-step,
.smoobu-next-step,
.smoobu-complete-booking {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
}

.smoobu-prev-step {
    background: #9e9e9e;
}

.smoobu-complete-booking {
    background: #4caf50;
}

.smoobu-messages {
    margin-bottom: 20px;
}

.smoobu-error {
    background: #ffebee;
    color: #d32f2f;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.smoobu-success {
    background: #e8f5e9;
    color: #388e3c;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.smoobu-availability-results {
    margin: 15px 0;
}

.smoobu-availability-success {
    background: #e8f5e9;
    color: #388e3c;
    padding: 15px;
    border-radius: 4px;
}

.smoobu-availability-error {
    background: #ffebee;
    color: #d32f2f;
    padding: 15px;
    border-radius: 4px;
}

.smoobu-booking-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.smoobu-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.smoobu-summary-label {
    font-weight: 500;
}

.button-row {
    justify-content: space-between;
}

@media (max-width: 768px) {
    .smoobu-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-row {
        flex-direction: row;
    }
}

/* Extra styling for date pickers */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}