/* Enhanced Booking Form Styles */

/* Form Group Enhancements */
.booking-section .booking-form .form-group {
    position: relative;
    transition: all 0.3s ease;
}

.booking-section .booking-form .form-group:hover {
    transform: translateY(-2px);
}

/* Input Icons */
.booking-section .booking-form .form-group .input-icon {
    color: #4141a5;
    font-size: 18px;
    transition: color 0.3s ease;
}

.booking-section .booking-form .form-group:focus-within .input-icon {
    color: #fd5056;
}

/* Form Controls */
.booking-section .booking-form .form-control {
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 15px;
    padding: 12px 0;
}

.booking-section .booking-form .form-control:focus {
    outline: none;
    border-bottom-color: #fd5056;
    background-color: #fafafa;
}

.booking-section .booking-form .form-control::placeholder {
    color: #999;
    font-size: 14px;
}

/* Validation States */
.booking-section .booking-form .form-control.is-valid {
    border-bottom-color: #28a745;
    background-color: #f0fff4;
}

.booking-section .booking-form .form-control.is-invalid {
    border-bottom-color: #dc3545;
    background-color: #fff5f5;
}

/* Number Inputs */
.booking-section .booking-form input[type="number"] {
    -moz-appearance: textfield;
}

.booking-section .booking-form input[type="number"]::-webkit-inner-spin-button,
.booking-section .booking-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Date Input */
.booking-section .booking-form .date-select {
    cursor: pointer;
}

/* Textarea */
.booking-section .booking-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
    padding-top: 12px;
}

/* Submit Button Enhancements */
.booking-section .booking-form .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(253, 80, 86, 0.3);
}

.booking-section .booking-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 80, 86, 0.4);
}

.booking-section .booking-form .btn-primary:active {
    transform: translateY(0);
}

.booking-section .booking-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.booking-section .booking-form .btn-primary i {
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bx-spin {
    animation: spin 1s linear infinite;
}

/* Error Messages */
.booking-section .booking-form .text-danger {
    font-size: 12px;
    padding-left: 16px;
    margin-top: 4px;
    display: block;
}

/* Success Message Enhancement */
#booking-success-message {
    border-radius: 8px;
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#booking-success-message i {
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Alert Enhancements */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Form Title */
.booking-section .booking-form .content h3 {
    font-weight: 700;
    color: #090031;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.booking-section .booking-form .content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #fd5056, #4141a5);
    border-radius: 2px;
}

/* Responsive Adjustments */
@media only screen and (max-width: 767px) {
    .booking-section .booking-form .form-group {
        margin-bottom: 15px;
    }
    
    .booking-section .booking-form .btn-primary {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    #booking-success-message {
        font-size: 14px;
        padding: 15px;
    }
}

/* Smooth Transitions */
.booking-section .booking-form * {
    transition: all 0.3s ease;
}

/* Focus Glow Effect */
.booking-section .booking-form .form-group:focus-within {
    background-color: #fafafa;
    border-radius: 5px;
}

/* Datepicker Icon */
.booking-section .booking-form .form-group .input-icon.bx-calendar {
    cursor: pointer;
}

/* Placeholder Animation */
@keyframes placeholderShimmer {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.booking-section .booking-form .form-control:focus::placeholder {
    animation: placeholderShimmer 2s ease-in-out infinite;
}
