@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: visible !important;
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    background-color: #f1f1f1 !important;
    color: #717171 !important;
    height: 100%;
}

html, body, .mdc-dialog .mdc-dialog__content, .mat-tooltip {
    font-family: 'PT Sans', sans-serif !important;
}

.mat-tooltip {
    margin-right: 0 !important;    
}

.mat-toast-container>div {
    border-radius: 15px !important;
    width: 320px !important;
}

.mat-toast {
    padding: 16px 40px 16px 12px !important;
}

.mat-toast-close-button {
    margin: 4px 7px;
}

.row {
    padding: 0 !important;
    margin: 0 !important;
}

.content {
    background-image: url(../img/img-fondo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    width: 100%;
    /*opacity: 1.0;
    filter: blur();*/
}

.contenido {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #e5e5e5;
    height: 100vh;
    width: 100%;
    /*filter: blur();*/
}

button:focus-visible {
    outline: none !important;
}

#mediaBody {
    height: 100vh !important;
    background-color: #f1f1f1 !important;
}

.main {
    top: 60px;
    position: absolute !important;
    background-color: #f1f1f1 !important;
    width: 100%;
}

.titulo {
    margin: 50px 0 25px 0 !important;
    text-align: center;
    padding: 0 30px 20px 30px !important;
    letter-spacing: 2px;
}

.tituloNav {
    transition: 0.2s ease-in-out !important;
    font-size: 17px !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    color: gainsboro !important;
    display: flex;
    align-items: center;
}

.tituloNav:hover, .tituloNav:active, #dropMenu:hover {
    color: white !important;
}

.dropdown-toggle.show:empty::after {
    transform: rotate(-180deg);
}




/* ---------------------------------------------------------- mdc-select ---------------------------------------------------------- */


.mdc-select:not(.mdc-select--disabled) .mdc-select__anchor {
    color: #5b7287 !important;
    background-color: #c2dbf2 !important;
    height: 50px !important;
    border: 0 !important;
    border-radius: 24px !important;
    font-size: 15px !important;
    padding: 0 5px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.mdc-menu-surface {
    background-color: #e8f0f7 !important;
    min-width: 205px !important;
}

.mdc-menu {
    max-height: 265px !important;
}

.mdc-menu .mdc-list {
    color: #59646f !important;
    padding: 0 !important;
}

.mdc-menu .mdc-list li {
    height: 36px !important;
}

.selectForm {
    min-width: 240px !important;
}

.mdc-select__anchor .mdc-ripple-upgraded .mdc-ripple-upgraded--background-focused {
    background-color: #59646f !important;
}

.mdc-linear-progress {
    display: none !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-line-ripple::before {
    border-bottom-color: #5b7287 !important;
}

.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple::after {
    border-bottom-color: #5b7287 !important;
}

span.mdc-line-ripple {
    display: none;
}

.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon {
    fill: #59646f !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text {
    color: #59646f !important;
    padding: 0 16px !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-floating-label:not(.filtroMes div span.mdc-floating-label, .btnFecha div span.mdc-floating-label) {
    color: #59646f !important;
    font-size: 15px !important;
}

.mdc-select__menu .mdc-list .mdc-list-item--selected {
    color: #59646f !important;
}


/* ---------------------------------------------------------- Tablas ---------------------------------------------------------- */


.table {
    color: #767171 !important;
}

.tablaTiendas td button:hover, .tablaTiendas td button:active, .tablaTiendas td button:focus, .btnActivo {
    background-color: #e1f0ff !important;
    color: #3b5e7d !important;
}

.table>:not(caption)>*>* {
    padding: 8px !important;
}

.tablaCod {
    border: 1px solid #b3c3d1 !important;
}

.tablaCod td {
    background-color: #cfdce7 !important;
}


/* ---------------------------------------------------------- Modal inicio Paises ---------------------------------------------------------- */


.fade:not(.show) {
    height: 0 !important;
    background-color: transparent !important;
}

.modal {
    /*transition: 0.2s ease-in-out !important;*/
    z-index: 4000 !important;
    background-color: #00000070;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.modal-dialog {
    width: 475px !important;
}

.modal-content {
    border-radius: 15px !important;
    background-color: #e5e5e5 !important;
}

#paisesInicio .dropdown-menu {
    transform: translate3d(0px, 41px, 0px) !important;
}

#paisesInicio .divUruguay, #paisesInicio .divMexico, #paisesInicio .divChile {
    right: -14px !important;
    top: 33px !important;
    width: 24px;
}


/* ---------------------------------------------------------- Boton hamburguesa menu / Navbar ---------------------------------------------------------- */


#menuInput[type="checkbox"] {
    display: none;
}

/*#menuInput[type="checkbox"]:checked + .menuIcon span {
    margin-left: 246px;
    transition: 0.2s ease-in-out;
}*/

/*#menuInput[type="checkbox"]:not(:checked) + .menuIcon span {
    transition: 0.2s ease-in-out;
}*/

#menuInput[type="checkbox"]:checked + .menuIcon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menuInput[type="checkbox"]:checked + .menuIcon span:nth-child(2) {
    opacity: 0;
}

#menuInput[type="checkbox"]:checked + .menuIcon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.menuIcon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 2000;
    margin: 20px;
    top: 0;
}

.menuIcon span {
    width: 100%;
    height: 2.2px;
    background-color: #aaaaaa;
    transition: transform 0.3s ease-in-out;
    border-radius: 20px;
}

.btnHome {
    width: auto !important;
    border: 0;
    background-color: transparent; 
    color: #bebebe;
    padding: 0 !important;
}

.navMenu {
    width: 100% !important;
    position: fixed !important;
    z-index: 2000 !important;
    background-color: rgb(83 83 83 / 78%) !important;
    padding: 0 !important;
    backdrop-filter: blur(2px);
}

.menuIcon:hover span, .menuIcon:active span {
    background-color: #d5d5d5 !important;
}

.btnHome:hover, .btnHome:active {
    color: #e0e0e0 !important;
}

.dropdownUser li:hover {
    background-color: transparent !important;
}


/* ---------------------------------------------------------- Sidebar body ---------------------------------------------------------- */


.offcanvas-backdrop {
    background-color: #0000009e !important;
}

.offcanvas {
    background-color: transparent !important;
    border: 0 !important;
    width: 315px !important;
}

.offcanvas-body {
    top: 60px !important;
    position: relative !important;
    background-color: rgb(83 83 83 / 78%) !important;
    padding: 0 !important;
    backdrop-filter: blur(2px);
}

.navbar-nav li a button {
    border: 0 !important;
    background-color: transparent !important;
    color: #bebebe !important;
    width: 100%;
    height: 100%;
    text-align: start;
    padding: 25px 20px !important;
}

.linkMenu  {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    color: black;
    padding: 0 !important;
}

.linkMenu::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s;
    border-left: 4px solid #bfbfbf;
}

.linkMenu:hover::before {
    transform: scaleX(1);
}

.linkMenu:hover button {
    color: #efefef !important;
    position: relative;
}


/* ---------------------------------------------------------- Select paises menu ---------------------------------------------------------- */


.selectPaises .dropdown-toggle.show input {
    border-radius: 22px 22px 0 0 !important;
}

.selectPaises .dropdown-toggle.show + .dropdown-menu {
    border-radius: 0 0 22px 22px !important;
}

.selectPaises .dropdown-toggle input {
    padding: 9px 0 9px 45px !important; /* Ajustar padding para alinear con la bandera */
    cursor: pointer;
    color: gainsboro !important;
    border: 0 !important;
    border-radius: 22px;
    background-color: #363636 !important;
    box-shadow: none !important;
}

.selectPaises .dropdown-toggle.show .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='gainsboro' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 11l6-6 6 6'/%3e%3c/svg%3e") !important;
    transition: ease-in-out;
}

.selectPaises .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='gainsboro' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    -webkit-user-select: none !important; /* Para navegadores basados en WebKit */
    -moz-user-select: none !important; /* Para navegadores basados en Gecko (Firefox) */
    -ms-user-select: none !important; /* Para Internet Explorer y Microsoft Edge */
    user-select: none !important; /* Estándar */
}

.selectPaises .dropdown-menu {
    border: 0 !important;
    background-color: #363636 !important;
    min-width: 145px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.selectPaises .dropdown-item {
    border-radius: 0;
    cursor: pointer;
    color: gainsboro !important;
    padding: 9px 0 9px 45px !important; /* Ajustar padding para dar espacio a la bandera */
    background-color: transparent !important;
    position: relative;
    z-index: 1; /* Asegurar que el texto esté por encima del círculo */
}

.selectPaises .dropdown-menu div:nth-child(2) {
    border-radius: 0 0 22px 22px !important;
}

/*.selectPaises .dropdown-item:hover, .selectPaises .active {
    background-color: #303030 !important;
}*/

.selectPaises .active {
    display: none !important;    
}

.selectPaises .dropdown-toggle::after {
    display: none !important;
}

/* Países comentados - Solo España habilitada */
/*
.divChile {
    right: -40px;
    top: 0;
    position: relative;
    background-image: url(../img/chile.png);
    width: 39px;
    height: 24px;
    background-size: auto 65px;
    border-radius: 50%;
    background-position: -45.5px;
    background-repeat: no-repeat;
    background-color: white;
    z-index: 1;
}

.divMexico {
    right: -40px;
    top: 0;
    position: relative;
    background-image: url('../img/mexico.png');
    width: 39px;
    height: 24px;
    background-size: auto 64px;
    border-radius: 50%;
    background-position: -45px;
    background-repeat: no-repeat;
    background-color: white;
    z-index: 1;
}

.divUruguay {
    right: -40px;
    top: 0;
    position: relative;
    background-image: url(../img/uruguay.png);
    width: 39px;
    height: 24px;
    background-size: auto 64px;
    border-radius: 50%;
    background-position: -44px;
    background-repeat: no-repeat;
    background-color: white;
    z-index: 1;
}
*/

/* Estilo para la bandera de España en el header */
.divEspana {
    right: -40px;
    top: 0;
    position: relative;
    background-image: url('../img/espana.png');
    width: 45px;
    height: 30px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: cover; /* Hacer que la imagen cubra todo el círculo */
    z-index: 1;
    border: 2px solid #ccc;
    overflow: hidden; /* Asegurar que la imagen se corte en forma circular */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Añadir una sombra sutil */
}

/* Estilos comentados - Países deshabilitados */
/* 
.selectPaises .dropdown-menu div:nth-child(1) {
    background-image: url('../img/chile.png');
    width: auto;
    background-size: auto 64px;
    background-position: -29px;
    background-repeat: no-repeat;
}

.selectPaises .dropdown-menu div:nth-child(2) {
    background-image: url('../img/uruguay.png');
    width: auto;
    background-size: auto 61px;
    background-position: -26px;
    background-repeat: no-repeat;
}

.selectPaises .dropdown-menu div:nth-child(3) {
    background-image: url('../img/mexico.png');
    width: auto;
    background-size: auto 64px;
    background-position: -29px;
    background-repeat: no-repeat;
}
*/

/* Estilo para la imagen de España en el dropdown - ACTIVO */
.selectPaises .dropdown-menu div:nth-child(1) {
    position: relative;
}

/* Crear un círculo con la bandera de España en el dropdown */
.selectPaises .dropdown-menu div:nth-child(1)::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('../img/espana.png');
    background-size: cover; /* Cubrir todo el círculo */
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #ccc;
    overflow: hidden; /* Asegurar que la imagen se corte en forma circular */
    z-index: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Añadir una sombra sutil consistente */
}

#selectAuto .dropdown-menu {
    overflow-y: scroll !important;
    max-height: 200px !important;
    background-color: white !important;
    transform: translate3d(0px, 43px, 0px) !important;
    width: 100% !important;
}

#selectAuto .dropdown-toggle input {
    color: black !important;
    background-color: white !important;
    border: 1px solid #ced4da !important;
}

#selectAuto .dropdown-menu .dropdown-item {
    color: black !important;
    padding: 9px 22px !important;
    background-image: none !important;
}

#selectAuto .dropdown-toggle.show + .dropdown-menu {
    border-radius: 0 0 12px 12px !important;
    border: 1px solid #ced4da !important;
}

#selectAuto .dropdown-toggle input, #selectAuto .dropdown-toggle.show input {
    padding: 9px 22px 9px 22px !important;
}

#selectAuto .dropdown-toggle input {
    border-radius: 12px !important;
}

#selectAuto .dropdown-toggle.show input {
    border-radius: 12px 12px 0 0 !important;
}

#selectAuto .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

#selectAuto .dropdown-toggle.show .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 11l6-6 6 6'/%3e%3c/svg%3e") !important;
}

#selectAuto .dropdown-item:focus, #selectAuto .dropdown-item:hover {
    background-color: #e9ecef !important;
}

#selectAuto .dropdown-menu .dropdown-item.active, #selectAuto .dropdown-menu .dropdown-item:active {
    background-color: #d1d7dd !important;
}

#selectAuto .dropdown-menu div:nth-child(2) {
    border-radius: 0 !important;
}


/* ---------------------------------------------------------- dropdown / dropdown-item ---------------------------------------------------------- */


.dropFiltro {
    border: 0 !important;
    background-color: #e0e9f1 !important;
    padding: 0 !important;
}

.dropFiltro .dropdown-item {
    cursor: pointer;
    padding: 10px 15px !important;
    color: #394753;
}

.dropFiltro .dropdown-item:focus, .dropFiltro .dropdown-item:hover {
    color: #2c3843 !important;
    background-color: #e5f3ff !important;
}

.dropFiltro .dropdown-item.active, .dropFiltro .dropdown-item:active {
    color: #2c3843 !important;
    background-color: #c1daf1 !important;
}

#estados::before {
    margin-top: 2px;
}


/* ---------------------------------------------------------- Select ---------------------------------------------------------- */


.custom-select {
    width: 100%;
    position: relative;
    display: inline-block;
}

select:disabled {
    opacity: 0.7 !important;
    background-color: #e8e8e8 !important;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ced4da;
    border-radius: 12px;
    padding: 6px 12px !important;
    width: 100%;
}

.custom-select select:focus-visible {
    outline: none;
    border: 1px solid #c5c5c5 !important;
    box-shadow: 0 3px 12px 0 rgb(220 220 220) !important;
}

.custom-select select:focus-visible + .select-arrow {
    transform: rotate(-180deg);
    top: 15px;
}

.custom-select .select-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #717171;
    cursor: pointer;
}


/* ---------------------------------------------------------- Cards ---------------------------------------------------------- */


.colCard {
    padding: 0 !important;
    margin: 30px !important;
    background-color: transparent !important;
    border: 0 !important;
    /*width: 270px !important;*/
}

.card-item {
    background-color: #f8f8f8;
    outline: 1px solid #f8f8f8;
    border-bottom: 2.5px solid #f8f8f8;
    border-right: 2.5px solid #f8f8f8;
    padding: 56px 15px !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    box-shadow: 4px 4px 22px #dadada !important;
}

.card-item:hover {
    outline: 1px solid #d6e3ef;
    border-bottom: 2.5px solid #c0cfe5;
    border-right: 2.5px solid #c0cfe5;
    /*background-color: #eef2f6;*/
    scale: 1.03 !important;
}

.card-item:hover i {
    color: #7faef4 !important;
}

.card-title {
    letter-spacing: 2px;
    color: #717171 !important;
}

.card-img {
    font-size: 28px !important;
    width: auto !important;
    padding: 40px 47px 40px 47px !important;
    border-radius: 50% !important;
    color: #717171 !important;
    box-shadow: 0 10px 31px -15px #717171;
    margin-bottom: 10px;
}

.card-body {
    height: 190px !important;
    display: inline-grid !important;
    align-items: center !important;
}

.card-body ul {
    margin-top: 12px;
    margin-bottom: 0 !important;
    list-style: none !important;
    font-style: italic;
    padding: 0 !important;
    font-size: 13px;
    color: #adadad;
}

.divNuevoVendedor .form-control, .divResven .form-control {
    border-radius: 12px !important;
}

.divNuevoVendedor .bi-exclamation-lg {
    transition: 0.2s ease-in-out;
    padding: 4px;
    background-color: #f4abb6;
    border-radius: 50%;
    color: #b00020;
    position: absolute;
}

.divNuevoVendedor .form-control:focus, #datoInput:focus, .inputControl:focus {
    border: 1px solid #c5c5c5 !important;
    box-shadow: 0 3px 12px 0 rgb(202 202 202) !important;
    /*padding: 13px 43px 14px 20px !important;*/
}

.divResven .form-control:focus {
    border: 1px solid #c5c5c5 !important;
    box-shadow: 0 3px 12px 0 rgb(202 202 202) !important;
}

.badge:empty {
    display: block !important;
}

.inputControl {
    border-radius: 12px !important;
}


/* ---------------------------------------------------------- Animación correcto ---------------------------------------------------------- */


.divIconCheck {
    color: #1c955d;
    background-color: transparent;
    width: auto;
    font-size: 69px;
    text-align: center;
}

.iconoActual::before {
    animation: moverIcono 1s cubic-bezier(0.3, 0, 0.1, 1) forwards;
}

#iconCheck::before {
    box-shadow: 0 0 24px -8px #769486;
    border-radius: 50%;
    background-color: #d6deda;
    transform: rotate(0deg);
}

@keyframes moverIcono {
    from {
        transform: rotate(-62deg);
    }
    to {
        transform: rotate(-360deg);
    }
}


/* ---------------------------------------------------------- Botones ---------------------------------------------------------- */


.salida {
    color: #d8d8d8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    margin-left: 10px !important;
    font-style: normal !important;
}

.salida:hover {
    color: white !important;
}

.form-check-input:checked {
    background-color: #71a4ef !important;
    border-color: #71a4ef !important;
}

.form-check-input:focus {
    border-color: rgb(195 211 233) !important;
    box-shadow: 0 0 5px 3px rgb(195 211 233) !important;
}

.infoChecks .form-check {
    background-color: #e9e9e9;
    padding: 15px 35px;
    margin: 5px !important;
    border-radius: 20px;
    width: 45%;
}

button:disabled:hover, button[disabled]:hover, button:hover[disabled], .btn:disabled, button:disabled {
    cursor: not-allowed !important;
    pointer-events: visible !important;
    opacity: 0.6;
}

.btnAceptar {
    transition-duration: 0.3s;
    background-color: #bdbdbd;
    border: 1px solid #bdbdbd;
    color: #525252;
    padding: 8px 45px;
    border-radius: 25px;
}

.btnAceptar:not(button:disabled):hover {
    background-color: #d3d3d3 !important;
    border: 1px solid #d3d3d3 !important;
    color: #717171 !important;
    box-shadow: 0 4px 8px 5px rgb(220 220 220) !important;
}

.btnCorrecto {
    transition-duration: 0.3s;
    border-radius: 30px !important;
    background-color: #a0d1bb;
    color: #116b41;
    font-size: 16px !important; 
    padding: 6px 10px !important;
    border: 0;
    width: auto !important;
}

.btnCorrecto:not(button:disabled):hover {
    background-color: #ace2c9 !important;
    color: #006a38 !important;
    box-shadow: 0 5px 10px 0 #8dae9f;
}

.btnAcciones {
    transition-duration: 0.3s;
    color: #5b7287 !important;
    background-color: #c2dbf2;
    font-size: 22px;
    border: 0;
    width: auto !important;
    margin: 0 10px !important;
    padding: 9px 0 !important;
    border-radius: 50%;
}

.btnAcciones:not(button:disabled):hover {
    color: #466079 !important;
    background-color: #d0e9ff !important;
    box-shadow: 0 5px 8px 1px #94a9bc;
}

.btnAcciones span {
    padding: 10px 15px !important;
    border-radius: 50%;
}

.btnSoporte {
    z-index: 2;
    transition-duration: 0.3s;
    color: #0f8244 !important;
    background-color: #b2cfc8 !important;
    font-size: 20px;
    border: 0;
    width: auto !important;
    margin: 0 !important;
    border-radius: 50%;
    bottom: 18px;
    right: 18px;
    position: fixed;
    padding: 8px 0 !important;
}

.btnSoporte:hover {
    color: #1d6a40 !important;
    background-color: #c1ddd6 !important;
    box-shadow: 0 5px 8px 1px #586a6087;
}

.btnIngresar:hover, .divExcel label:hover, .btnExcel:hover {
    box-shadow: 0 3px 10px 1px #bdbdbd;
}

#btnVolver:hover {
    box-shadow: 0 3px 10px 1px #bdbdbd;
}

.btnDialog {
    transition-duration: 0.3s;
    padding: 8px 30px !important;
    width: auto !important;
    border: 0;
    background-color: #adbece !important;
    color: #525a60 !important;
    border-radius: 15px;
}

.btnDialog:not(:disabled):hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

#edicionMasiva .bi-people-fill::before {
    position: relative !important;
    right: 5px !important;
}

.btnExcel, .divExcel label {
    border: 0 !important;
    margin: 0 5px 6px 5px;
    cursor: pointer !important;
    text-align: center;
    border-radius: 30px;
    color: #525a60 !important;
    background-color: #adbece !important;
    width: 235px !important;
    padding: 17px !important;
}

.btnDetalle {
    background-color: transparent !important; 
    border: 0 !important;
    padding: 0 !important;
    font-size: 21px; 
    color: #86b7fe;
}

.btnDetalle:hover:not(button:disabled) {
    color: #0067ff !important;
}

.btnError {
    background-color: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: 21px;
    color: #c84545;
}

.btnError:hover:not(button:disabled) span::before {
    color: #ff0000 !important;
}

.cardDetalle .list-group-flush>.list-group-item {
    height: 54px !important;
}

.infoChecks .form-check .form-check-input {
    margin-left: -0.5em !important;
    cursor: pointer;
}

.btnSecciones:not(button:disabled):hover {
    box-shadow: 0 1px 9px 0 #c7c7c7;
}


/*  ------------------------------------------  Inputs buscar tienda / Input buscar usuario  ------------------------------------------  */


.accordion-item {
    position: relative;
}

#collapseOne {
    right: 56px !important;
}

.accordion-collapse {
    padding: 0 12px !important;
    position: absolute;
    top: 0;
    right: 50px; 
    width: 200px !important;
    max-width: 200px !important;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s ease-in-out;
}

.accordion-collapse.show {
    transform-origin: right;
    transform: scaleX(1);
}

.accordion-header {
    transition: transform 0.4s ease-in-out;
}

.accordion-item {
    transition: transform 0.4s ease-in-out;
}

#collapseTwo.show + div.row.accordion-item {
    transform: translateX(-177px);
}

.accordion-body {
    background-color: transparent;
    padding: 0 !important;
    border: 0;
}

.inputUsuario:focus-visible {
    outline: 3px double #bbd0e4 !important;
    background-color: #f0f8ff !important;
}

.inputText {
    border-radius: 31px !important;
    background-color: #c2dbf2;
    color: #46608f !important;
    border: 0;
    padding: 14px 44px 15px 20px !important;
    width: 227px;
}

.inputText:focus {
    border-color: #85a2bd !important;
    outline: 1px solid #b1cde5 !important;
    background-color: #dfedf9 !important;
}

.inputText:hover, .inputText:focus, .input-icon:hover .inputText {
    box-shadow: 0 5px 8px 1px #94a9bc;
    background-color: #d8e6f2;
    color: #46608f !important;
}

.inputText::placeholder {
    color: #989fa6;
}


/*  ------------------------------------------  Loader  ------------------------------------------  */


.loader {
    animation: rotate 2s infinite;
    height: 50px;
    width: 50px;
}

.loader:before,
.loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 2s infinite;
    background-color: #8ea8be;
    box-shadow: 30px 0 0 #8ea8be;
    margin-bottom: 10px;
}

.loader:after {
    animation: ball2 2s infinite;
    background-color: #68839c;
    box-shadow: 30px 0 0 #68839c;
}

@keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #68839c;
    }
    50% {
        box-shadow: 0 0 0 #68839c;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #68839c;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #8ea8be;
    }
    50% {
        box-shadow: 0 0 0 #8ea8be;
        margin-top: -20px;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #8ea8be;
        margin-top: 0;
    }
}


/*  ------------------------------------------  ListGroup  ------------------------------------------  */


.listAcciones .list-group-item {
    margin: 12px 0 !important;
    border-radius: 80px !important;
    transition: 0.2s ease-in-out;
    align-items: center;
    background-color: #e3e7ea !important;
    color: #5b7287 !important;
    border: 0 !important;
    padding: 45px 20px !important;
    cursor: pointer;
}

.list-group-item:hover .icons {
    background-color: #203c52 !important;
}

.listAcciones .list-group-item:hover {
    box-shadow: 0 5px 15px 0 #cecdcd;
    background-color: #cfddea !important;
    color: #203c52 !important;
}


/*  ------------------------------------------  MatDialog  ------------------------------------------  */


.mdc-dialog {
    z-index: 2000 !important;
}

.mdc-dialog .mdc-dialog__surface {
    padding: 0 12px !important;
    border-radius: 25px !important;
    background-color: #d8dce0 !important;
}

.mdc-dialog .mdc-dialog__content {
    color: #525a60 !important;
}

.card-header {
    background-color: #cde0ef !important;
    border: 0 !important;
    border-radius: 12px 12px 0 0 !important;
}

.list-group {
    border: 0 !important;
    border-radius: 0 0 12px 12px !important;
}

.list-group-item {
    margin: 0 !important;
    background-color: #bbc9d4 !important;
    justify-content: center !important;
    display: flex !important;
    padding: 15px !important;
}

.list-group-item input {
    background-color: #f1f7fb;
    outline: 0 !important;
    border: 0 !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    width: 250px !important;
}

.list-group-item input:focus-visible {
    background-color: white !important;
    outline: 2px solid #628eb1 !important;
}

.btnX {
    padding: 0 0 15px 0;
    color: #525a77 !important;
    border: 0 !important;
    background-color: transparent !important;
}

.btnX.bi-x-lg::before {
    font-weight: bolder !important;
}

.dialogSelect .mdc-dialog__surface {
    height: 290px !important;
}

.dialogSelectAsociar .mdc-dialog__surface {
    height: 300px !important;
}

.dialogEditar .mdc-dialog__content {
    margin: 25px 0 !important;
}

#dialogDetalle .mdc-dialog__surface, #dialogDetalleWms .mdc-dialog__surface {
    padding: 0 !important;
}


/*  ------------------------------------------  Select personalizado  ------------------------------------------  */


.activeSelect .auto-complete ul li {
    background-color: transparent !important;
    color: white !important;
}

.selectListVendedores .auto-complete {
    width: 290px !important;
}

.selectListVendedores .auto-complete input {
    font-size: 15px;
    width: 266px;
    border-radius: 30px;
    padding: 10px 20px;
    background-color: #b9c7d4 !important;
    color: white !important;
    border: 0;
}

.selectListVendedores .auto-complete input::placeholder {
    color: #ededed !important;
}

.selectListVendedores .auto-complete input:focus {
    border-radius: 23px 23px 0 0 !important;
    box-shadow: 0 10px 15px 0 rgb(163 168 174) !important;
}

.form-control:focus ~ ul.dropdown-menu {
    display: block !important;
}

.selectListVendedores .auto-complete ul {
    padding: 0 !important;
    width: 266px !important;
    max-height: 102px !important;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #b9c7d4 !important;
    color: #ffffff !important;
    font-size: 14px;
    border-radius: 0 0 10px 10px !important;
    border: 0;
    margin-top: 0.5px;
    box-shadow: 0 10px 15px 0 rgb(163 168 174) !important;
}

.selectListVendedores .auto-complete ul li {
    cursor: pointer !important;
    padding: 5px 20px !important;
    color: white !important;
}

.selectListVendedores .auto-complete ul li:focus, .selectListVendedores .auto-complete ul li:hover, .selectListResven .auto-complete ul li:focus, .selectListResven .auto-complete ul li:hover {
    color: white !important;
    background-color: #a1afbd !important;
}

.selectListVendedores .auto-complete ul li.active, .selectListVendedores .auto-complete ul li:active {
    background-color: #8696a5;
}

.selectListResven .auto-complete ul li.active, .selectListResven .auto-complete ul li:active {
    background-color: #8696a5;
    color: white !important;
}

#noDataAuto .auto-complete ul li {
    cursor: default !important;
    font-style: italic;
    color: #e7e7e7 !important;
    background-color: #a1afbd !important;
}

.selectListResven .auto-complete input {
    border: 1px solid #c5c5c5 !important;
    font-size: 15px;
    width: 325px;
    padding: 7px 20px;
    background-color: white !important;
    color: black !important;
}

.selectListResven .auto-complete input::placeholder {
    color: #a8a8a8 !important;
}

.selectListResven .auto-complete {
    padding: 0 !important;
    width: 325px !important;
}

.selectListResven .auto-complete input:focus {
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 10px 15px 0 rgb(163 168 174) !important;
}

.selectListResven .auto-complete ul {
    border: 1px solid #c5c5c5 !important;
    padding: 0 !important;
    width: 325px !important;
    max-height: 93px !important;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 14px;
    border-radius: 0 0 10px 10px !important;
    margin-top: -1.5px;
    box-shadow: 0 10px 15px 0 rgb(163 168 174) !important;
}

.selectListResven .auto-complete ul li {
    cursor: pointer !important;
    padding: 5px 20px !important;
    color: black !important;
}


/*  ------------------------------------------  Boton excel carga  ------------------------------------------  */


.divInputExcel input, .divExcel input {
    display: none !important;
}

.divInputExcel label {
    margin: 6px 5px;
    cursor: pointer !important;
    text-align: center;
    border-radius: 24px;
    background-color: #adbece;
    color: #525a60 !important;
    width: auto;
    padding: 12px 42px;
}

.divInputExcel label:hover, #btnDescarga:not(button:disabled):hover{
    box-shadow: 0 7px 9px 1px #9da5ac !important;
}


/*  ------------------------------------------  Scroll  ------------------------------------------  */


::-webkit-scrollbar {
    width: 9px;
    height: 7px;
    background-color: #d0d0d0;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: #b0b0b0;
    border-radius: 15px;
    height: 35% !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #979797;
    border-radius: 15px;
}


/*  ------------------------------------------  Paginacion  ------------------------------------------  */


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    color: #707070 !important;
    font-size: 14px;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
}

.prev-btn:not(:disabled):hover, .prev-btn:not([disabled]):hover, .next-btn:not(:disabled):hover, .next-btn:not([disabled]):hover {
    color: #494949 !important;
    box-shadow: none !important;
}

.page-btn {
    padding: 5px 12px !important;
    border-radius: 7px !important;
    margin: 4px !important;
    color: #707070;
    background-color: #d9e4ef !important;
    border: 0 !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
}

.page-btn:hover {
    color: #454545 !important;
    background-color: #bed4ea !important;
    border-color: #bed4ea !important;
    border-radius: 7px !important;
    box-shadow: 0 4px 8px 3px #e1e1e1 !important;
}

.page-item .current-page {
    color: #454545 !important;
    background-color: #bed4ea !important;
    border-color: #bed4ea !important;
    box-shadow: 0 4px 8px 3px #e1e1e1 !important;
    padding: 7px 12px !important;
    border-radius: 7px !important;
    margin: 4px !important;
    z-index: 2;
    position: relative;
}

.pag nav ul {
    margin: 0 !important;
}


/*  ------------------------------------------  Media  ------------------------------------------  */


@media (max-width: 560px) {
    .dialogMod .mdc-dialog__actions .btnDialog {
        width: 228px !important;
    }
    
    .divFotos {
        justify-content: center !important;
    }
    
    .divFotos div {
        width: 100% !important;
    }
    
    .botonesTcr div {
        width: 100% !important;
    }
    
    .botonesTcr div .btnAcciones {
        width: 200px !important;
    }
    
    .divFotos div:last-child {
        justify-content: center !important;
    }
}

@media (max-width: 767.20px) {
    .main {
        top: 108px;
    }
}

@media (max-width: 600px) {
    .infoChecks .form-check {
        width: 60% !important;
    }
}

@media (max-width: 693px) {
    .divArticulosError div {
        width: 100% !important;
        justify-content: space-between;
    }
}

@media (min-width: 752px) {
    .infoChecks .form-check {
        width: 35% !important;
    }
}

@media (min-width: 765px) {
    .dialogEditar .mdc-dialog__surface {
        min-width: 730px !important;
    }

    .dialogEditar .mdc-dialog__content {
        margin: 0 !important;
    }
}

@media (min-width: 940px) {
    .infoChecks .form-check {
        width: 28% !important;
    }
}