body {
    width: 100%;
    height: 100svh;
}

form#search_form label {
    font-size: 18px;
}

form#search_form {
    display: inline-table;
    font-size: 12px;
    position: sticky;
    line-height: var(--bs-body-line-height) !important;
}

form#search_form select {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    padding: 0px !important;
}

form#search_form select option {
    color: #000000;
}

form#search_form input[type=radio] {
    background-color: transparent !important;
    height: 25px !important;
    width: 25px !important;
}

form#search_form[data-bg-color="bg-dark"] .form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%23DD183B'/></svg>") !important;
}

form#search_form[data-bg-color="bg-white"] .form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%23DD183B'/></svg>") !important;
}

form#search_form[data-bg-color="bg-dark"] ::placeholder {
    color: var(--bs-white) !important;
    opacity: 1; /* Firefox */
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    margin-left: 10px !important;
}

form#search_form[data-bg-color="bg-white"] ::placeholder {
    color: var(--bs-dark) !important;
    opacity: 1; /* Firefox */
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    margin-left: 10px !important;
}

form#search_form[data-bg-color="bg-dark"] ::-ms-input-placeholder { /* Edge 12-18 */
    color: var(--bs-white) !important;
    font-size: 12px;
    font-weight: 800;
}

form#search_form[data-bg-color="bg-white"] ::-ms-input-placeholder { /* Edge 12-18 */
    color: var(--bs-dark) !important;
    font-size: 12px;
    font-weight: 800;
}

form#search_form[data-bg-color="bg-dark"] .select2-container--default .select2-selection--single .select2-selection__rendered,
form#search_form[data-bg-color="bg-dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--bs-white) !important;
    opacity: 1; /* Firefox */
    font-size: 14px;
    font-weight: 800;
}

form#search_form[data-bg-color="bg-white"] .select2-container--default .select2-selection--single .select2-selection__rendered,
form#search_form[data-bg-color="bg-white"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--bs-dark) !important;
    opacity: 1; /* Firefox */
    font-size: 14px;
    font-weight: 600;
}

form#search_form .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px !important;
}

form#search_form .select2-container--default .select2-selection--single {
    background-color: transparent;
    border: none;
    border-radius: 0px;
    text-align: center;
}

form#search_form .select2-container--default .select2-selection--single .select2-selection__rendered {
    position: absolute;
    width: 98%;
}

form#search_form .input-align-left .select2-container--default .select2-selection--single .select2-selection__rendered {
    text-align: left;
}

form#search_form .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

form#search_form .select2-selection:focus-visible,
form#search_form .select2-selection__rendered:focus-visible {
    outline: none;
}

form#search_form .input-pasajeros {
    position: relative;
}


form#search_form .input-pasajeros::before {
    position: absolute;
    content: '';
    top: 18%;
    height: 66%;
}

form#search_form[data-bg-color="bg-white"] .input-pasajeros::before{
    border: .5px solid var(--bs-dark);
}

form#search_form[data-bg-color="bg-dark"] .input-pasajeros::before{
    border: .5px solid var(--bs-white);
}

form#search_form input[type="text"],
form#search_form input[type="number"],
form#search_form input[type="email"],
form#search_form input[type="url"],
form#search_form input[type="password"],
form#search_form input[type="search"],
form#search_form input[type=reset],
form#search_form input[type=tel],
form#search_form input[type=date],
form#search_form select,
form#search_form textarea {
  font-size: 14px !important;
}

.dropDownClass, .dropDownClass-2 {
    z-index: 30 !important;
}

.select2-container .dropDownClass .select2-search__field,
.select2-container .dropDownClass-2 .select2-search__field {
    color: var(--bs-bg-body) !important;
    font-weight: bold;
}

.select2-dropdown.dropDownClass,
.select2-dropdown.dropDownClass-2 {
    border: none !important;
    border-radius: 0px !important;
    box-sizing: unset !important;
}

.dropDownClass > .select2-results,
.dropDownClass-2 > .select2-results {
    box-shadow: var(--bs-box-shadow) !important;
}

.dropDownClass > .select2-results .select2-results__option--highlighted .title,
.dropDownClass-2 > .select2-results .select2-results__option--highlighted .title {
    color: var(--bs-white) !important;
}

.dropDownClass .select2-results > ul > li {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    line-height: 1.5;
}

.select2.select2-container.select2-container--default {
    /* padding: .375rem 0; */
    padding-block: .375rem;
}

.dropDownClass .select2-search--dropdown,
.dropDownClass-2 .select2-search--dropdown {
    padding: 0px !important;
}

.dropDownClass .select2-search__field,
.dropDownClass-2 .select2-search__field {
    height: 40px;
}

img.img-flag {
    margin: 0 !important;
    display: inherit !important;
    margin-left: auto;
    margin-right: auto;
    width: 38%;
}

.ast-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}

.lightpick__previous-action, .lightpick__next-action {
    padding: 15px;
}

.popover-container {
    position: absolute;
    left: 0px;
    box-shadow: 1px 1px 6px black;
    border-radius: var(--bs-border-radius) !important;
    z-index: 32;
}

.popover-container .body-popover {
    min-height: 150px !important;
    max-height: 360px !important;
    -webkit-overflow-scrolling: touch;
}

.item-controls .remove:hover,
.item-controls .add:hover {
    background-color: rgba(var(--bs-info-rgb), .025);
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-blocked {
    cursor: not-allowed !important; /* Cambia a un cursor que indique que está bloqueado */
    pointer-events: none; /* Deshabilita los eventos del puntero */
}

.cursor-progress {
    cursor: progress !important;
}

.fs-7 {
    font-size: 0.8rem!important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.vertical-divider {
    border: 1px solid;
    height: 76%;
}

.mobil-container {
    display: block !important;
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    width: 100vw;
    height: 100vh;
    z-index: 1055;
    background-color: var(--bs-white);
    overflow: hidden;
    outline: 0;
}

body:has(.mobil-container) {
/* body:has(.container) { */
    overflow: hidden;
    /* position: fixed; */
}

.results-mobile {
    max-height: 80vh !important;
    padding-bottom: 5vh !important;
}

@media (min-width: 576px) {
    .popover-container {
        position: absolute;
        left: initial;
        bottom: initial;
        width: 300px;
        /* height: auto; */
        border-radius: var(--bs-border-radius) !important;
    }

    .popover-container::before,
    .popover-container::after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 19px;
        border: 11px solid transparent;
        border-bottom-color: #dddddd;
    }

    .popover-container::after {
        left: 20px;
        border: 10px solid transparent;
        border-bottom-color: #ffffff;
    }
}

@media (min-width: 768px) {
    .dropDownClass, .dropDownClass-2 {
        margin-top: 8px;
    }
}

@media (min-width: 992px) {
    .dropDownClass {
        min-width: 250px !important;
        background-color: transparent !important;
    }

    .dropDownClass .select2-results {
        margin-top: 5px;
        padding: 3px;
        /* border-radius: 10px; */
        border-radius: var(--bs-border-radius) !important;
        background-color: var(--bs-white);
    }

    .dropDownClass > .select2-results > .select2-results__options {
        background-color: var(--bs-white);
        max-height: 400px !important;
    }
}

@media (min-width: 1200px) {
    
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	.dropDownClass .select2-results__options::-webkit-scrollbar {
		-webkit-appearance: none;
		width: 3px; /* Ancho del scrollbar vertical */
		height: 6px; /* Altura del scrollbar horizontal */
	}

	.dropDownClass .select2-results__options::-webkit-scrollbar-track {
		background: transparent;/*#D5D8DC;*/ /* Color de fondo del track */
		border: none;/*1px solid #ccc;*/ /* Borde del track */
	}

	.dropDownClass .select2-results__options::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.2); /* Color del thumb */
		border: none;/*1px solid #eee;*/ /* Borde del thumb */
		border-radius: 5px; /* Bordes redondeados */
	}

	.dropDownClass .select2-results__options::-webkit-scrollbar-thumb:hover {
		background: #424949; /* Color del thumb en hover */
	}
}

/* Personalización del scrollbar para Firefox */
@-moz-document url-prefix() {
	.dropDownClass {
		scrollbar-width: thin; /* Grosor del scrollbar: thin o auto */
		scrollbar-color: rgba(0, 0, 0, 0.2) transparent; /* Color del thumb y del track */
	}

	/* Opcional: Estilos adicionales para scrollbar en Firefox en modo hover */
	.dropDownClass:hover {
		scrollbar-color: #424949 transparent; /* Color del thumb y del track en hover */
	}
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    border-radius: 3px;
    --bs-bg-opacity: 0.75;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
    background-image: var(--bs-gradient) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 0px 4px 4px 0px;
    border: 0px !important;
    border-left: 1px solid #aaa !important;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-danger) !important;
    --bs-tooltip-color: var(--bs-white) !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    opacity: 1 !important;
}

.custom-tooltip > .tooltip-inner {
    text-align: left !important;
}

.custom-tooltip > .tooltip-arrow::before {
    border-width: 10px !important;
}

.img-loader {
    background-image: url('/wp-content/plugins/search-form/images/Loading-OVLoading.webp');
    background-size: cover; /* o contain, según el caso */
    background-position: center;
    width: 300px;
    height: 300px;
}

.btn-plan {
    box-shadow: 0 1px 1px rgba(25, 32, 36, 0.16), 0 -1px 4px rgba(25, 32, 36, 0.04);
    height: 60px;
    display: flex;
    gap: 3px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-form-tooltip {
    opacity: .95 !important;
}