.dropdown-menu-country {
    opacity: 0;
    position: absolute;
    width: 300px;
    background: #FFF;
    z-index: 200000;
    border: 2px solid #000;
    transition: all 0.3s ease;
    visibility: hidden;
}

.country_selector {
    margin: 1rem;
}

.country_selector .expand-more{
    cursor: pointer;
}

.country_selector .expand-more::selection{
    background: none;
}

.dropdown-menu-country.show {
    opacity: 1;
}

.dropdown-menu-country ul {
    display: flex;
    flex-wrap: wrap;
}

.dropdown-menu-country li {
    width: 50%;
}

#index .header-top .country-selector a.expand-more:not(.btn):not(.nav-link),
#index .header-top .language-selector-new a.expand-more:not(.btn):not(.nav-link),
#index .country-tag,
#index .language-tag
{
    color:#ffffff;    
}

.header-top .country-selector a.expand-more:not(.btn):not(.nav-link){
    padding-right: 1rem;
}

.form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.2rem;
}

#address_select, #language_select, #country_select {
    /* width: 150px; */
    background-image: none;
}
.select-container-for-after {
    position: relative;
}

.select-container-for-after::after {
    content: "\f107";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    pointer-events: none;
}

.modal-footer {
    justify-content: center;
}

.modal-sm {
    max-width: 500px;
}

.modal-lg {
    max-width: 500px;
}

.modal-instruction {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    flex: 1;
}

.selector-container {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
}

.selector-item {
    flex: 1;
    width: 100%;
}

.selector-item label {
    margin-bottom: 19px;
    font-size: 14px;
    font-weight: 600;

}

.btn-save-country {
    background-color: black;
    color: white;
}

#loadingSpinner {
    display: none;
    margin-left: 10px; /* Ajustar el margen según sea necesario */
    vertical-align: middle;
}

.button-spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Ajustar el espacio entre el botón y el spinner según sea necesario */
    margin-top: 63px;
}

#saveCountry {
    background-color: black;
    color: white;
    width: 100%;
    text-transform: uppercase;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.language-selector-new {
    text-transform: none; /* Evitar que se aplique el uppercase */
}

.tooltip {
    z-index: 9999999999 !important;
}

.tooltip-inner {
    max-width: 200px; /* Ajustar el ancho máximo del tooltip */
    white-space: normal; /* Permitir que el texto del tooltip se ajuste en varias líneas */
}

@media (max-width: 575.98px) {
    #countryModal .modal-content {
        min-height: unset;
        bottom: 0px !important;
        transform: unset !important;
        margin-top: auto;
        top: unset !important;
        position: absolute;

    }
    #countryModal .modal-dialog {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
        max-width: inherit;
    }

    div.modal#countryModal .modal-content .modal-body {
        padding: 39px 20px 20px 20px !important;
    }
}

#mobile-sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 200000;
    transition: left 0.3s ease;
}

/*  */
div.modal#countryModal {
    overflow: hidden;
}

.modal.fade .modal-dialog {
    width: calc(100% - 20px);
    max-width: 800px;
    height: 100%;
    margin-top: 0px;
}

div.modal#countryModal .modal-content {
    top: 50%;
    transform: translateY(-50%);
}

div.modal#countryModal .modal-content .modal-body {
    padding: 55px 44px;
}