/* 
 * Complete Modern UI Redesign - Chauffeur Booking System
 * Production-Ready Styling for All Booking Steps
 * Version: 2.0
 * Date: 2025-10-01
 */

/******************************************************************************/
/* CRITICAL: Base Overrides with Maximum Specificity                         */
/******************************************************************************/

/* Reset and normalize form fields */
.chbs-main .chbs-form-field,
.chbs-main.chbs-main .chbs-form-field,
html .chbs-main .chbs-form-field {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

/* Hover and focus states */
.chbs-main .chbs-form-field:hover,
.chbs-main.chbs-main .chbs-form-field:hover,
html .chbs-main .chbs-form-field:hover {
    border-color: #5a9f6e !important;
    box-shadow: 0 4px 20px rgba(90, 159, 110, 0.15) !important;
    transform: translateY(-2px) !important;
}

.chbs-main .chbs-form-field:focus-within,
.chbs-main.chbs-main .chbs-form-field:focus-within,
html .chbs-main .chbs-form-field:focus-within {
    border-color: #5a9f6e !important;
    box-shadow: 0 6px 24px rgba(90, 159, 110, 0.2), 0 0 0 3px rgba(90, 159, 110, 0.1) !important;
    transform: translateY(-2px) !important;
}

/******************************************************************************/
/* Form Field Labels - Modern Typography                                     */
/******************************************************************************/

.chbs-main .chbs-form-field > label,
.chbs-main.chbs-main .chbs-form-field > label,
html .chbs-main .chbs-form-field > label {
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    display: block !important;
    line-height: 1.4 !important;
}

/******************************************************************************/
/* Form Field Inputs - Clean Modern Style                                    */
/******************************************************************************/

.chbs-main .chbs-form-field input[type="text"],
.chbs-main .chbs-form-field textarea,
.chbs-main .chbs-form-field select,
.chbs-main.chbs-main .chbs-form-field input[type="text"],
.chbs-main.chbs-main .chbs-form-field textarea,
.chbs-main.chbs-main .chbs-form-field select,
html .chbs-main .chbs-form-field input[type="text"],
html .chbs-main .chbs-form-field textarea,
html .chbs-main .chbs-form-field select {
    background: transparent !important;
    border: none !important;
    color: #1a202c !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.6 !important;
    width: 100% !important;
    outline: none !important;
}

.chbs-main .chbs-form-field input::placeholder,
.chbs-main.chbs-main .chbs-form-field input::placeholder,
html .chbs-main .chbs-form-field input::placeholder {
    color: #a0aec0 !important;
    font-weight: 400 !important;
}

/******************************************************************************/
/* Form Field Width Classes                                                  */
/******************************************************************************/

.chbs-main .chbs-form-field.chbs-form-field-width-50,
.chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-50,
html .chbs-main .chbs-form-field.chbs-form-field-width-50 {
    width: calc(50% - 8px) !important;
    float: left !important;
}

.chbs-main .chbs-form-field.chbs-form-field-width-50:nth-child(odd),
.chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-50:nth-child(odd) {
    margin-right: 16px !important;
}

.chbs-main .chbs-form-field.chbs-form-field-width-33,
.chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-33,
html .chbs-main .chbs-form-field.chbs-form-field-width-33 {
    width: calc(33.333333% - 11px) !important;
    float: left !important;
    margin-right: 16px !important;
}

.chbs-main .chbs-form-field.chbs-form-field-width-33:nth-child(3n),
.chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-33:nth-child(3n) {
    margin-right: 0 !important;
}

.chbs-main .chbs-form-field.chbs-form-field-width-100,
.chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-100,
html .chbs-main .chbs-form-field.chbs-form-field-width-100 {
    width: 100% !important;
    clear: both !important;
}

/******************************************************************************/
/* Tab Navigation - Ultra Modern Design                                      */
/******************************************************************************/

.chbs-main .chbs-tab.ui-tabs,
.chbs-main.chbs-main .chbs-tab.ui-tabs,
html .chbs-main .chbs-tab.ui-tabs {
    background: #ffffff !important;
    border-radius: 18px !important;
    overflow: visible !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%) !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 18px 20px 0 20px !important;
    margin: 0 !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li {
    background: transparent !important;
    border: none !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li:hover,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li:hover {
    background: rgba(90, 159, 110, 0.08) !important;
    transform: translateY(-2px) !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active {
    background: linear-gradient(135deg, #5a9f6e 0%, #4a8f5e 100%) !important;
    box-shadow: 0 4px 12px rgba(90, 159, 110, 0.25) !important;
    transform: translateY(-2px) !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li > a,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li > a {
    color: #4a5568 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 14px 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    text-decoration: none !important;
    display: block !important;
    border: none !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a {
    color: #ffffff !important;
}

.chbs-main .chbs-tab.ui-tabs .ui-tabs-panel,
.chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-panel,
html .chbs-main .chbs-tab.ui-tabs .ui-tabs-panel {
    background: #ffffff !important;
    border: none !important;
    padding: 32px !important;
    border-top: none !important;
}

/******************************************************************************/
/* Buttons - Premium Design                                                  */
/******************************************************************************/

.chbs-main .chbs-button.chbs-button-style-1,
.chbs-main .chbs-button.chbs-button-style-2,
.chbs-main.chbs-main .chbs-button.chbs-button-style-1,
.chbs-main.chbs-main .chbs-button.chbs-button-style-2 {
    background: linear-gradient(135deg, #5a9f6e 0%, #4a8f5e 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 20px rgba(90, 159, 110, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.chbs-main .chbs-button.chbs-button-style-1:hover,
.chbs-main .chbs-button.chbs-button-style-2:hover,
.chbs-main.chbs-main .chbs-button.chbs-button-style-1:hover,
.chbs-main.chbs-main .chbs-button.chbs-button-style-2:hover {
    background: linear-gradient(135deg, #4a8f5e 0%, #3a7f4e 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(90, 159, 110, 0.45) !important;
}

.chbs-main .chbs-button.chbs-button-style-1:active,
.chbs-main .chbs-button.chbs-button-style-2:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(90, 159, 110, 0.3) !important;
}

/******************************************************************************/
/* Date and Time Picker Icons                                                */
/******************************************************************************/

.chbs-main .chbs-form-field input.chbs-datepicker,
.chbs-main.chbs-main .chbs-form-field input.chbs-datepicker {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%235a9f6e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 45px !important;
}

.chbs-main .chbs-form-field input.chbs-timepicker,
.chbs-main.chbs-main .chbs-form-field input.chbs-timepicker {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%235a9f6e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 45px !important;
}

/******************************************************************************/
/* Location Fields with Icons                                                */
/******************************************************************************/

.chbs-main .chbs-form-field-pickup-location input[type="text"],
.chbs-main .chbs-form-field-dropoff-location input[type="text"],
.chbs-main.chbs-main .chbs-form-field-pickup-location input[type="text"],
.chbs-main.chbs-main .chbs-form-field-dropoff-location input[type="text"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%235a9f6e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 45px !important;
}

/******************************************************************************/
/* Vehicle List - Modern Card Design                                         */
/******************************************************************************/

.chbs-main .chbs-vehicle-list > ul > li,
.chbs-main.chbs-main .chbs-vehicle-list > ul > li {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

.chbs-main .chbs-vehicle-list > ul > li:hover,
.chbs-main.chbs-main .chbs-vehicle-list > ul > li:hover {
    border-color: #5a9f6e !important;
    box-shadow: 0 12px 40px rgba(90, 159, 110, 0.18) !important;
    transform: translateY(-6px) !important;
}

.chbs-main .chbs-vehicle .chbs-vehicle-image,
.chbs-main.chbs-main .chbs-vehicle .chbs-vehicle-image {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

.chbs-main .chbs-vehicle .chbs-vehicle-content-header > span,
.chbs-main.chbs-main .chbs-vehicle .chbs-vehicle-content-header > span {
    color: #1a202c !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.chbs-main .chbs-vehicle .chbs-vehicle-content-price > span > span,
.chbs-main.chbs-main .chbs-vehicle .chbs-vehicle-content-price > span > span {
    color: #5a9f6e !important;
    font-size: 38px !important;
    font-weight: 800 !important;
}

/******************************************************************************/
/* Summary Section - Premium Design                                          */
/******************************************************************************/

.chbs-main .chbs-summary,
.chbs-main.chbs-main .chbs-summary {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 28px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
}

.chbs-main .chbs-summary-field > span:first-child,
.chbs-main.chbs-main .chbs-summary-field > span:first-child {
    color: #718096 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.chbs-main .chbs-summary-field > span:last-child,
.chbs-main.chbs-main .chbs-summary-field > span:last-child {
    color: #1a202c !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.chbs-main .chbs-summary-price-element-total,
.chbs-main.chbs-main .chbs-summary-price-element-total {
    background: linear-gradient(135deg, #5a9f6e 0%, #4a8f5e 100%) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin-top: 20px !important;
    box-shadow: 0 6px 20px rgba(90, 159, 110, 0.3) !important;
}

.chbs-main .chbs-summary-price-element-total > span,
.chbs-main.chbs-main .chbs-summary-price-element-total > span {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/******************************************************************************/
/* Notice Messages - Modern Alerts                                           */
/******************************************************************************/

.chbs-main .chbs-notice,
.chbs-main.chbs-main .chbs-notice {
    border-radius: 14px !important;
    padding: 18px 24px !important;
    margin-bottom: 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid !important;
}

.chbs-main .chbs-notice.chbs-notice-error,
.chbs-main.chbs-main .chbs-notice.chbs-notice-error {
    background: #fff5f5 !important;
    border-color: #fc8181 !important;
    color: #c53030 !important;
}

.chbs-main .chbs-notice.chbs-notice-success,
.chbs-main.chbs-main .chbs-notice.chbs-notice-success {
    background: #f0fff4 !important;
    border-color: #68d391 !important;
    color: #22543d !important;
}

.chbs-main .chbs-notice.chbs-notice-info,
.chbs-main.chbs-main .chbs-notice.chbs-notice-info {
    background: #ebf8ff !important;
    border-color: #63b3ed !important;
    color: #2c5282 !important;
}

/******************************************************************************/
/* Widget Specific Styling                                                   */
/******************************************************************************/

.chbs-main.chbs-widget,
.chbs-main.chbs-widget.chbs-main {
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 22px !important;
    padding: 32px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

.chbs-main.chbs-widget .chbs-form-field,
.chbs-main.chbs-widget.chbs-main .chbs-form-field {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
}

.chbs-main.chbs-widget .chbs-form-field:hover,
.chbs-main.chbs-widget.chbs-main .chbs-form-field:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px) !important;
}

.chbs-main.chbs-widget .chbs-form-field label,
.chbs-main.chbs-widget.chbs-main .chbs-form-field label {
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.chbs-main.chbs-widget .chbs-form-field input[type="text"],
.chbs-main.chbs-widget .chbs-form-field select,
.chbs-main.chbs-widget.chbs-main .chbs-form-field input[type="text"],
.chbs-main.chbs-widget.chbs-main .chbs-form-field select {
    background: transparent !important;
    border: none !important;
    color: #1a202c !important;
    font-size: 16px !important;
    width: 100% !important;
    padding: 8px 0 !important;
    outline: none !important;
}

.chbs-main.chbs-widget .chbs-tab.ui-tabs .ui-tabs-nav > li,
.chbs-main.chbs-widget.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li {
    background: rgba(90, 159, 110, 0.9) !important;
}

.chbs-main.chbs-widget .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active,
.chbs-main.chbs-widget.chbs-main .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active {
    background: linear-gradient(135deg, #5a9f6e 0%, #4a8f5e 100%) !important;
}

/******************************************************************************/
/* Form Label Groups                                                         */
/******************************************************************************/

.chbs-main .chbs-form-label-group,
.chbs-main.chbs-main .chbs-form-label-group,
html .chbs-main .chbs-form-label-group {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 16px 0 18px 0 !important;
    margin-bottom: 12px !important;
    color: #2d3748 !important;
    border-bottom: 3px solid #e2e8f0 !important;
    letter-spacing: 0.6px !important;
}

/******************************************************************************/
/* Clear Fix and Layout Utilities                                            */
/******************************************************************************/

.chbs-main .chbs-clear-fix:after,
.chbs-main.chbs-main .chbs-clear-fix:after,
html .chbs-main .chbs-clear-fix:after {
    content: " " !important;
    display: block !important;
    clear: both !important;
    height: 0 !important;
    visibility: hidden !important;
}

.chbs-main .chbs-form-field-pickup-date-time,
.chbs-main.chbs-main .chbs-form-field-pickup-date-time,
html .chbs-main .chbs-form-field-pickup-date-time {
    display: block !important;
    margin-bottom: 0 !important;
}

.chbs-main .chbs-form-field-pickup-date-time:after,
.chbs-main.chbs-main .chbs-form-field-pickup-date-time:after {
    content: " " !important;
    display: block !important;
    clear: both !important;
}

/******************************************************************************/
/* Box Sizing - Universal                                                    */
/******************************************************************************/

.chbs-main *,
.chbs-main.chbs-main *,
html .chbs-main * {
    box-sizing: border-box !important;
}

/******************************************************************************/
/* Main Navigation - Modern Steps                                            */
/******************************************************************************/

.chbs-main .chbs-main-navigation-default > ul > li > a > span:first-child,
.chbs-main.chbs-main .chbs-main-navigation-default > ul > li > a > span:first-child {
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%) !important;
    border: 3px solid #cbd5e0 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.chbs-main .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:first-child,
.chbs-main .chbs-main-navigation-default > ul > li.chbs-state-completed > a > span:first-child,
.chbs-main.chbs-main .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:first-child,
.chbs-main.chbs-main .chbs-main-navigation-default > ul > li.chbs-state-completed > a > span:first-child {
    background: linear-gradient(135deg, #5a9f6e 0%, #4a8f5e 100%) !important;
    border-color: #5a9f6e !important;
    box-shadow: 0 8px 24px rgba(90, 159, 110, 0.35) !important;
}

/******************************************************************************/
/* Responsive Design - Mobile First                                          */
/******************************************************************************/

@media screen and (max-width: 1024px) {
    .chbs-main .chbs-form-field,
    .chbs-main.chbs-main .chbs-form-field {
        padding: 16px 18px !important;
    }
    
    .chbs-main .chbs-tab.ui-tabs .ui-tabs-panel,
    .chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-panel {
        padding: 26px !important;
    }
}

@media screen and (max-width: 767px) {
    .chbs-main .chbs-form-field,
    .chbs-main.chbs-main .chbs-form-field {
        padding: 14px 16px !important;
        margin-bottom: 14px !important;
    }
    
    .chbs-main .chbs-form-field.chbs-form-field-width-50,
    .chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-50 {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .chbs-main .chbs-form-field.chbs-form-field-width-33,
    .chbs-main.chbs-main .chbs-form-field.chbs-form-field-width-33 {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .chbs-main .chbs-tab.ui-tabs .ui-tabs-panel,
    .chbs-main.chbs-main .chbs-tab.ui-tabs .ui-tabs-panel {
        padding: 20px !important;
    }
    
    .chbs-main .chbs-button.chbs-button-style-1,
    .chbs-main .chbs-button.chbs-button-style-2,
    .chbs-main.chbs-main .chbs-button.chbs-button-style-1,
    .chbs-main.chbs-main .chbs-button.chbs-button-style-2 {
        padding: 14px 28px !important;
        font-size: 15px !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .chbs-main .chbs-form-field,
    .chbs-main.chbs-main .chbs-form-field {
        padding: 12px 14px !important;
    }
    
    .chbs-main.chbs-widget,
    .chbs-main.chbs-widget.chbs-main {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    
    .chbs-main .chbs-vehicle .chbs-vehicle-content-header > span,
    .chbs-main.chbs-main .chbs-vehicle .chbs-vehicle-content-header > span {
        font-size: 20px !important;
    }
    
    .chbs-main .chbs-vehicle .chbs-vehicle-content-price > span > span,
    .chbs-main.chbs-main .chbs-vehicle .chbs-vehicle-content-price > span > span {
        font-size: 30px !important;
    }
}

/******************************************************************************/
/* Animation Enhancements                                                    */
/******************************************************************************/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chbs-main .chbs-form-field,
.chbs-main .chbs-vehicle-list > ul > li {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/******************************************************************************/
/* Focus States for Accessibility                                            */
/******************************************************************************/

.chbs-main .chbs-form-field input:focus,
.chbs-main .chbs-form-field select:focus,
.chbs-main .chbs-form-field textarea:focus {
    outline: 3px solid rgba(90, 159, 110, 0.3) !important;
    outline-offset: 2px !important;
}

.chbs-main .chbs-button:focus {
    outline: 4px solid rgba(90, 159, 110, 0.4) !important;
    outline-offset: 2px !important;
}

/******************************************************************************/
/* Loading State                                                             */
/******************************************************************************/

.chbs-main.chbs-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.chbs-main.chbs-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5a9f6e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

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

/******************************************************************************/
/* Print Styles                                                              */
/******************************************************************************/

@media print {
    .chbs-main .chbs-form-field {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .chbs-main .chbs-button {
        display: none !important;
    }
}
