/*body {*/
/*    font-family: "Lexend", sans-serif;*/
/*}*/

/* Input */
.select-wrapper,
.input-wrapper {
    position: relative;
    margin-top: 7px;
}

.select-field,
.input-field {
    border: 1px solid #79747E;
    border-radius: 4px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
    height: 56px;
    background: white;
}

.select-field,
select.input-field {
    appearance: none;
}

.input-field:focus {
    border:2px solid #64558F;
    outline: none;
}

.select-label {
    position: absolute;
    transform: translateY(-140%) scale(01);
    color: #8d8d8d;
    font-weight: 300;
    font-size: 12px;
    padding: 0 4px;
    left: 12px;
    top: 16px;
    background: white;
    text-wrap: nowrap;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 14px;
    color: #8d8d8d;
    background: white;
    transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
    transform-origin: left top;
    transform: translateY(0) scale(1);
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
    transform: translateY(-140%) scale(01);
    color: #8d8d8d;
    font-weight: 300;
    font-size: 12px;
    padding: 0 4px;
    left: 12px;
}

/* Tab home */
.g-nav--home .nav-link {
    border: 0;
    background: transparent;
    padding: 0 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid transparent;
    color: #49454F;
    transition: none;
}

.g-nav--home .nav-link.active,
.g-nav--home .nav-link:hover,
.g-nav--home .nav-link:focus {
    border: 0;
    border-bottom: 2px solid #0079C1;
    background-color: white;
    border-radius: 0;
}

.g-nav--home .nav-item {
    border-radius: 24px 24px 0 0;
    background: transparent;
}

.g-nav--home .nav-item:first-child .nav-link:hover,
.g-nav--home .nav-item:first-child .nav-link:focus,
.g-nav--home .nav-item:first-child .nav-link.active {
    border-radius: 24px 0 0 0;
}

.g-nav--home .nav-item:last-child .nav-link:hover,
.g-nav--home .nav-item:last-child .nav-link:focus,
.g-nav--home .nav-item:last-child .nav-link.active {
    border-radius: 0 24px 0 0;
}

/* Dropdown */
.dropdown-menu {
    --bs-dropdown-link-active-color: #212529;
    --bs-dropdown-link-active-bg: #f8f9fa;
}

.dropdown-menu.show {
    padding: 8px 0;
    border: 0;
    box-shadow: 0px 3px 14px 2px rgba(0, 0, 0, 0.12), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 5px 5px -3px rgba(0, 0, 0, 0.20);
}

.collapse {
    visibility: initial !important;
}

/* Checkbox */
.box-check.box-check--form .box-check-label::before,
.box-check.box-check--form .box-check-label::after {
    position: absolute;
}
.box-check.box-check--form .box-check-label {
    padding-left: 30px;
    display: block;
}
.box-check.box-check--form .box-check-label::after {
    top: 5px;
}
.box-check.box-check--form input[type="checkbox"] {
    opacity: 0;
    width: 20px;
    height: 20px;
    z-index: 1;
    margin: 7px 0;
    clip: auto;
    cursor: pointer;
}
.box-check input[type="checkbox"] {
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    position: absolute;
}

.box-check-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    color: #142973;
    font-size: 14px;
}

.box-check-label:before {
    content: "";
    display: block;
    border: 1px solid #142973;
    border-radius: 2px;
    top: 0;
    left: 0;
    width: 15px;
    min-width: 15px;
    height: 15px;
    margin-right: 12px;
}

.box-check-label::after {
    content: "";
    background-image: url("../img/check.svg");
    background-repeat: no-repeat;
    opacity: 0;
    position: absolute;
    left: 2px;
    background-color: #142973;
    width: 11px;
    height: 11px;
    transition: 300ms all ease-in;
    border-radius: 1px;
}

.box-check-input:checked + .box-check-label::after {
    opacity: 1;
}

.box-check.box-check--white .box-check-label {
    color: #ffffff;
}
.box-check.box-check--white .box-check-label:before {
    background-color: #ffffff;
}


/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    font-size: 14px !important;
    max-height: 50vh;
    overflow-y: scroll;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.range_container {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.sliders_control {
    position: relative;
    min-height: 25px;
}


input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #007E32;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    pointer-events: auto;
    -moz-appearance: none;
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}


.numbers-control {
    position: relative;
    display: flex;
    justify-content: space-between;
    color: #172948;
}

.numbers-control input[type="number"] {
    color: #172948;
    width: 55px;
    height: 30px;
    border: none;
    background: transparent;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
}
#fromSlider {
    height: 0;
    z-index: 1;
    margin-top: 3px;
}

button.dropdown-toggle {
    font-size: 16px !important;
}

.alerta {
    padding: 15px !important;
    border: 1px dashed #007E32 !important;
    border-radius: 8px;
    margin: 15px 0 !important;
}

.btnAbrirPayment {
    background: #F39200;
    border-radius: 8px;
    color: #fff!important;
    padding: 5px 15px;
    text-decoration: none;
}

.puntos-verde {
    font-size: 18px;
}

.verde {
    font-size: 18px;
}

label.error {
    color: red;
    font-size: 12px;
}


/*MODAL ACTUALIZACION DE PRECIOS*/
.modal-prices {
    border-radius: 8px;
    background: rgb(241 241 241 / var(--tw-bg-opacity, 1));
    padding: 12px 14px;
    margin: 15px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.label {
    font-size: 0.9rem;
    color: #666;
}

.old-price {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    color: rgb(245 147 0 / var(--tw-text-opacity, 1));
}
