/* CRITICAL FORM ALIGNMENT OVERRIDES */

/* Force form rows to 2-column grid */
.contact-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

/* Ensure form groups don't add extra margin in rows */
.contact-form .form-row .form-group {
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* Full width form groups (not in form-row) */
.contact-form > .form-group {
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* Form content container */
.form-content {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Contact form styling */
.contact-form {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

/* Form group base styling */
.form-group {
    display: flex !important;
    flex-direction: column !important;
}

.form-group label {
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #212529 !important;
    display: block !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-family: 'Inter', sans-serif !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #007bff !important;
}

/* Field note styling */
.field-note {
    display: block !important;
    font-size: 0.75rem !important;
    color: #6c757d !important;
    margin-top: 4px !important;
    font-style: italic !important;
}

/* Error message styling */
.error-message {
    display: none !important;
    color: #dc3545 !important;
    font-size: 0.875rem !important;
    margin-top: 4px !important;
}

.error-message.show {
    display: block !important;
}

/* Error and success states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545 !important;
}

.form-group input.success {
    border-color: #28a745 !important;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .contact-form .form-row .form-group {
        margin-bottom: 20px !important;
    }
}

/* Hide tab styles */
.booking-tabs {
    display: none !important;
}

.tab-content {
    display: block !important;
}
