/* Theme Name: Tripgo Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of tripgo
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: tripgo
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  tripgo-child
*/

/* Override Select2 styling within the login popup */
body .xoo-el-popup .xoo-aff-group .select2-container--default .select2-selection--single,
body .xoo-el-popup .xoo-ml-phone-cc+.select2 .select2-selection.select2-selection--single {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    height: auto !important;
    /* Allow height to adjust to content */
    box-shadow: none !important;
}

body .xoo-el-popup .xoo-aff-group .select2-container--default .select2-selection--single .select2-selection__rendered,
body .xoo-el-popup .xoo-ml-phone-cc+.select2 .select2-selection.select2-selection--single .select2-selection__rendered {
    color: inherit !important;
    /* Use parent text color */
    line-height: inherit !important;
    /* Use parent line height */
    padding: 0 !important;
}

body .xoo-el-popup .xoo-aff-group .select2-container--default .select2-selection--single .select2-selection__arrow,
body .xoo-el-popup .xoo-ml-phone-cc+.select2 .select2-selection.select2-selection--single .select2-selection__arrow {
    display: none !important;
    /* Hide the Select2 arrow */
}

body .xoo-el-popup .select2-dropdown {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Specific override for the select2-selection__rendered element */
body .xoo-el-popup .xoo-aff-group .select2.select2-container .select2-selection .select2-selection__rendered {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    line-height: inherit !important;
}

/* Remove Select2 focus and hover blue styling within the login popup - Highly Specific */
html body .xoo-el-popup .select2-container--default .select2-selection--single:focus,
html body .xoo-el-popup .select2-container--default .select2-selection--single:hover {
    border: none !important;
    box-shadow: none !important;
}

/* Modernize Destination Select2 Dropdown */
.ovabrw-search .search_in_destination .select2-container--default .select2-selection--single {
    border-color: #ccc;
    /* Example: Light gray border */
    height: 40px;
    /* Example: Increase height */
    border-radius: 5px;
    /* Example: Rounded corners */
}

.ovabrw-search .search_in_destination .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    /* Vertically align text */
    padding-left: 15px;
    /* Add some left padding */
}

.ovabrw-search .search_in_destination .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    /* Vertically align arrow */
    right: 10px;
    /* Adjust arrow position */
}

.ovabrw-search .search_in_destination .select2-dropdown {
    border-color: #ccc;
    /* Match dropdown border color */
    border-radius: 5px;
    /* Match dropdown border radius */
}

.ovabrw-search .search_in_destination .select2-results__option {
    padding: 10px 15px;
    /* Adjust option padding */
}