:root {
    --sidebar-width: 300px;
    --sidebar-width-collapsed: 80px;
    --sidebar-width-hidden: 0px;
}

body {
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif !important;
    background-color: #F8F8F8;
}

/* li{
    font-size: 10px;
} */

body a {
    text-decoration: none;
}

.form-select {
    border-radius: 2px;
    font-size: 11px !important;
    /* height: 41px; */
    background: #fbfbfb;
}

.select2-results__option {
    font-size: 11px;
}

.wrapper h1{
    font-size: 18px;
    margin: 0;
    color: #4e4e4e;
}

.content-wrapper {
    padding: 56px 0 0 80px;
    background-color: #f1f2f5b0;
    font-size: 13px;
    min-height: 100vh;
}

@media (max-width: 576px) {
    .content-wrapper {
        margin-left: 0;
        padding: 10px 0 0 0;
    }
}

.content-wrapper .btn {
    border-radius: 2px;
    border: none;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 9px;
    margin-left: 0px;
    min-height: 32px;
}

.content-wrapper td .btn {
    min-height: auto;
}

.logo {
    margin-left: 35px;
    margin-right: 20px;
}

@media (max-width: 576px) {
    .logo {
        width: auto;
        margin: 0 10px 0 0;
    }
}


.logo img {
    width: 40px;
    height: auto;
}

@media (max-width: 576px) {
    .logo img {
        width: 40px;
        height: auto;
    }
}


.main-header {
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px;
}

.pull-left{
    font-size: 20px;
    margin: 0;
    color: #4e4e4e;
}

.navbar{
    border-bottom: solid #e2e2e2 1px;
    width: 100%;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* Estilo base para el sidebar */
.sidebar {
    width: 250px;
    transition: all 0.3s ease;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: #f1f2f5;
    transition: all 0.3s ease;
    margin-top: 56px;
    padding-bottom: 56px;
    top: 0;
}

@media (max-width: 576px) {
    .sidebar {
        width: var(--sidebar-width-hidden);
        padding: 50px 0 0 0;
        margin: 0;
    }

    .main-header .navbar-toggler-icon {
        width: 1.1em;
    }
}

/* Estilo cuando el sidebar está colapsado */
.sidebar.collapsed {
    width: 70px; /* O el ancho que prefieras para el estado colapsado */
}

.sidebar .nav {
    overflow-x: hidden;
    overflow-y: auto;
    flex-wrap: nowrap;
    background: #f1f2f5;
}

@media (max-width: 576px) {
    nav .navbar-nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
}

.sidebar.collapsed .nav {
    overflow-x: hidden;
    overflow-y: auto;
    flex-wrap: nowrap;
    background: #f1f2f5;
}

/* Ocultar elementos con sidebar-collapse-only cuando está colapsado */
.sidebar.collapsed .sidebar-collapse-only {
    display: none;
}

@media (max-width: 576px) {
    .sidebar.collapsed .sidebar-collapse-only {
        display: block;
    }
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #0d6efd !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
    padding: 12px 25px;
    border-top: solid 1px #e2e2e2;
    font-size: 12px;
    font-weight: bold;
    align-items: center;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.sidebar-link:hover i{
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.collapsed .sidebar-link.active {
    background: #f5f2f5;
    background: radial-gradient(circle, rgb(255 255 255) 0%, #f1f2f5 100%);
}

.sidebar-link.active {
    background: #f5f2f5;
    background: linear-gradient(-185deg, #ffffff 0%, #f1f2f5 100%);
}

.sidebar-link.active i, .sidebar-link.active span {
    color: #ffa927;
}

.sidebar-link i {
}

header .nav-link{
    font-size: 13px;
    font-weight: bold;
}

header .nav-item .dropdown-item{
    font-size: 13px;
}

header .nav-item .dropdown-menu{
    border-radius: 2px;
}

.submenu .sidebar-link {
    border-top: solid 1px #e0ecf1;
    font-size: 10.5px;
    background: #f9f9f9;
    color: #616161 !important;
    font-weight: 500;
}

.submenu .sidebar-link:hover {
    border-top: solid 1px #eaeaea;
    font-size: 10.5px;
    transform: translateX(1px);

}



/* Estilos para el menú móvil */
@media (max-width: 576px) {
    /* Estado inicial del sidebar en móvil (oculto) */
    .sidebar {
        transform: translateX(-100%);
        z-index: 1050;
        transition: transform 0.3s ease;
        width: 90% !important; /* Ancho fijo en móvil */
        position: fixed;
        top: 6px; /* Posición debajo del navbar */
        left: 0;
        height: 100vh;
        margin-top: 0 !important;
    }

    /* Estado cuando el sidebar está activo en móvil */
    .sidebar.mobile-active {
        transform: translateX(0);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }

    /* Asegurarse de que los elementos del menú sean visibles */
    .sidebar.mobile-active .sidebar-collapse-only {
        display: block !important;
    }

    /* Ajustar el overlay para cuando el menú está abierto */
    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 0; /* Justo debajo del sidebar */
    }

    .sidebar-backdrop.show {
        display: block;
    }

    /* Asegurar que los elementos del menú tengan el formato correcto */
    .sidebar .nav {
        display: flex;
        flex-direction: column;
        padding: 0;
        height: calc(100vh - 50px);
        overflow-y: auto;
    }

    /* Mostrar siempre los textos en móvil */
    .sidebar .sidebar-collapse-only {
        display: block !important;
    }
}

.box-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top: 1px solid #f4f4f4;
    padding: 10px 0;
    background-color: #fff;
}

.logo-text {
    background: linear-gradient(45deg, #f1f4ff, #8b9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}

.email-text{
    background: #bec9ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
    margin-top: 5px;
    font-weight: normal;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.logo-section {
    padding: 0 1.2rem;
}

nav .profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #f1f2f5;
    display: flex !important;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
}

.sidebar-user-link {
    background: #0d6efd !important;
    width: 50%;
    height: 40px;
    text-decoration: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.main-content {
    margin-left: var(--sidebar-width);
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
}

.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
    position: absolute;
    right: -15px;
    top: 18px;
    background: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    padding: 15px 25px;
}

@media (max-width: 576px) {
  .sidebar-link {
    display: flex !important;
    align-items: center;
    width: 100% !important;
  }

  .sidebar-link > i[class*="fa-"]:first-child {
    margin-right: 1rem !important;
  }

  .sidebar-link > i.fas:first-child,
  .sidebar-link > i.fa-brands:first-child {
    margin-right: 1rem !important;
  }

  .sidebar-link[data-bs-toggle="collapse"] {
    justify-content: flex-start !important;
  }

  .sidebar-link[data-bs-toggle="collapse"] .fa-chevron-down,
  .sidebar-link[data-bs-toggle="collapse"] .sidebar-collapse-only:last-child {
    margin-left: auto !important;
    margin-inline-start: auto !important;
  }

  .sidebar-link:not([data-bs-toggle="collapse"]) {
    justify-content: flex-start !important;
  }
}


.collapsed .sidebar-link i {
    margin: 0 !important;
}

@media (max-width: 576px) {
    .collapsed .sidebar-link i {
    margin: auto 0 !important;
}
}

.collapsed .nav {
    overflow: hidden;
}

.profile-info {
    transition: opacity 0.2s ease;
}

footer {
    font-size: 13px;
    border-top: solid #e2e2e2 1px;
    padding: 66px 0px 0px 80px;
    
}

@media (max-width: 576px) {
    footer {
        font-size: 12px;
        padding: 0;
    }
}

.footer-link {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0d6efd;
}

.social-icon {
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    display: inline-block;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}


.wrapper-login{
     font-family: 'Montserrat', sans-serif;   
}

/*Setting Fonts----------------------------------------------------------------*/

body {
    font-family: 'Montserrat', sans-serif;
    border-radius: 0 !important;
    font-size: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

td h6 {
    font-size: 10px;
    padding: 3px 0 0;
    margin: 0;
    font-weight: 500;
}

a {
    text-decoration: none;
}

.hidden {
    display: none;
}

.content-header {
    background: transparent !important;
}

@media (max-width: 767px) {
    .content-header {
        background: transparent !important;
        padding-top: 70px;
    }
}



.content {
    background: white;
    min-height: auto;
}

.content-wrapper,
.right-side {
    /* background-color: #F8F8F8; */
}

.change-ui-cms .skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side {
    background-color: #EAEDF3 !important;
}

@media (max-width: 767px) {

    .change-ui-cms .skin-blue .wrapper,
    .skin-blue .main-sidebar,
    .skin-blue .left-side {
        margin-top: 50px !important;
        border-radius: 0px !important;
    }
}

.skin-blue .sidebar-menu>li {
    font-weight: 500;
}

.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a {
    background: #3a6bf2;
    color: white !important;
    border-left: 6px solid #3a6bf2;
    padding-left: 11px !important;
}

/* PRODUCTOS */
.skin-blue .sidebar-menu>li.products:hover>a,
.skin-blue .sidebar-menu>li.products.active>a {
    border-left-color: #F27C3A;
}

/* CLIENTES */
.skin-blue .sidebar-menu>li.clients:hover>a,
.skin-blue .sidebar-menu>li.clients.active>a {
    border-left-color: #3A8FF2;
}

/* PEDIDOS */
.skin-blue .sidebar-menu>li.orders:hover>a,
.skin-blue .sidebar-menu>li.orders.active>a {
    border-left-color: #16C15A;
}

/* COMPAÑÍAS */
.skin-blue .sidebar-menu>li.companies:hover>a,
.skin-blue .sidebar-menu>li.companies.active>a {
    border-left-color: #DF4137;
}

/* DISTRIBUIDORES */
.skin-blue .sidebar-menu>li.distributor:hover>a,
.skin-blue .sidebar-menu>li.distributor.active>a {
    border-left-color: #1CC4CF;
}

/* VENDEDORES */
.skin-blue .sidebar-menu>li.sellers:hover>a,
.skin-blue .sidebar-menu>li.sellers.active>a {
    border-left-color: #A64DEB;
}

/* TRANSPORTADORES */
.skin-blue .sidebar-menu>li.delivery:hover>a,
.skin-blue .sidebar-menu>li.delivery.active>a {
    border-left-color: #BBD41C;
}

/* ACTUALIZACIONES */
.skin-blue .sidebar-menu>li.refresh:hover>a,
.skin-blue .sidebar-menu>li.refresh.active>a {
    border-left-color: #DD427A;
}

/* COMUNICACIONES */
.skin-blue .sidebar-menu>li.communications:hover>a,
.skin-blue .sidebar-menu>li.communications.active>a {
    border-left-color: #DFC122;
}

/* CENTRO DE AYUDA */
.skin-blue .sidebar-menu>li.help:hover>a,
.skin-blue .sidebar-menu>li.help.active>a {
    border-left-color: #28D697;
}

/* REPORTES */
.skin-blue .sidebar-menu>li.report:hover>a,
.skin-blue .sidebar-menu>li.report.active>a {
    border-left-color: #F2BE3A;
}

/* CRM */
.skin-blue .sidebar-menu>li.crm:hover>a,
.skin-blue .sidebar-menu>li.crm.active>a {
    border-left-color: #EC6A61;
}

/* SERVICIOS */
.skin-blue .sidebar-menu>li.services:hover>a,
.skin-blue .sidebar-menu>li.services.active>a {
    border-left-color: #27AFDA;
}

/* CLUB TIENDAPP */
.skin-blue .sidebar-menu>li.club:hover>a,
.skin-blue .sidebar-menu>li.club.active>a {
    border-left-color: #D831A9;
}



/* Alert ----------------------------------------------------------------*/
.alerts-wrapper {
    display: flex;
}

.alert-orders {
    margin: 0 8px;
    display: flex;
    background-color: #2b2b2b;
    padding: 8px 18px;
    color: white;
    height: 30px;
    font-weight: 500;
    font-size: 13px;
    border-radius: 2px;
    display: flex;
    align-items: center;
}

/* .alert-orders i {
    margin-right: 10px;
} */
.alert-orders b {
    margin-left: 5px;
    margin-right: 5px;
}

.alert-orders a {
    margin-left: 5px;
    color: #FF9500;
}

.test-environment {
    background-color: #f23a3a;
    padding: 8px 18px;
    color: white;
    height: 30px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 2px;
}

.alerts-wrapper.mobile {
    display: none;
}

@media (max-width: 767px) {
    .main-header {
        height: 57px;
        /* max-height: 100% !important; ---Si se descomenta esta linea, se daña el menú en Safari*/ 
        display: flex;
    }

    .dropdown {
        position: absolute !important;
        right: 10px;
        top: 10px;
        text-align: right;
    }

    /* .alert-orders a {
        display: block;
        margin-left: 0;
        line-height: 1.5;
    } */
    .test-environment {
        height: auto;
        padding: 6px 18px !important;
    }

    .sidebar-mini .main-sidebar,
    .sidebar-mini.sidebar-open .main-sidebar {
        top: 0px !important;
    }

    .sidebar-mini .content-wrapper,
    .sidebar-mini.sidebar-open .content-wrapper {
        padding-top: 0 !important;
    }
}

@media (max-width: 1055px) {
    .alerts-wrapper {
        display: none;
        margin-left: -12px;
        margin-right: -12px;
    }

    .alerts-wrapper.mobile {
        display: block;
    }

    .alert-orders,
    .test-environment {
        margin: 0;
        border-radius: 0;
    }

    .alert-orders {
        display: block;
        height: auto;
    }

    .test-environment {
        height: auto;
        padding: 6px 18px !important;
        display: table-caption;
    }

    .sidebar-mini .main-sidebar,
    .sidebar-mini.sidebar-open .main-sidebar {
        top: 150px;
    }

    .sidebar-mini .content-wrapper,
    .sidebar-mini.sidebar-open .content-wrapper {
        padding-top: 58px;
    }
}

/* Footer ---------------------------------------------------------------- */
.sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 0 !important;
}

.main-footer {
    border-top: 0;
    background: #eaeaea;
    color: #444;
    font-size: 12px;
}


/* Buttons ----------------------------------------------------------------*/
.btn-primary {
    background-color: #3a6bf2;
}

.btn {
    border-radius: 2px;
    border: none;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 9px;
}

.nav-item .btn {
 font-size: 12px;
}

.btn.colors{
    width:200px;
    height:32px;
}


@media (max-width: 480px) {
    .btn.colors{
        width: 100%;
        height:32px;
    }
}

.btn i {
    margin-right: 8px;
}

.btn-default {
    background-color: #e4e4e4;
}

.btn-danger {
    background-color: #f23a39;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-danger-rounded {
    background-color: #f23a39;
    border-radius: 2px;
    color: #fff
}


.input-group .input-group-btn .btn-danger {
    background-color: #f23a39;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.form-group .input-group .input-group-btn {
    width: 100%;
}

.form-group .input-group .input-group-btn .btn {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

/* Box ----------------------------------------------------------------*/
.box {
    border-radius: 2px;
    border: none;

}

.box.box-primary {
    border-top: 1px #ededed solid;
    background: #8080800d;
    padding: 1px;
}

.box-body {
    padding: 1px;
}

/* Filters ----------------------------------------------------------------*/
.no-padding {
    padding: 0;
}

.filters {
    /* border-top: 1px solid #CCCFD5;
    padding-top: 24px; */
    margin-bottom: 16px;
    width: 100%;
    display: inline-block;
    background: white;
}

.box.box-primary {
    padding: 0 1px 1px;
}

.box-body {
    padding: 0;
}

.filters .btn {
    margin-left: 0px;
    height: 32px;
}

@media (max-width: 768px) {
    .filters .btn {
        margin-left: 0px;
    }
}

.align-bottom {
    display: flex;
    align-items: flex-end;
}

.align-bottom .btn {
    margin-bottom: 0px;
    height: 32px;
    border-radius: 2px;
    border: none;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 9px;
}

.align-bottom a.btn {
    margin-bottom: 0px;
    height: 32px;
    padding-top: 9px;
}

.buscadorIndicadoreSupervisor {
    display: flex;
    gap: 10;
}

.buscadorIndicadoreSupervisorSelect {
    margin-right: 25px;
}

@media (max-width: 767px) {

    .buscadorIndicadoreSupervisor {
        display: block;
        gap: 10;
    }

    .buscadorIndicadoreSupervisorSelect {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .align-bottom {
        display: inherit;
    }
}

/* Form Inputs ----------------------------------------------------------------*/
label {
    color: #212121;
    font-size: 12px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0 !important;
    padding-left: 0 !important;
    line-height: 1;
}

.subtitle-form {
    margin: 32px 0px;
}

.divider {
    margin-top: -5px;
    margin-bottom: 30px;
    border: 0;
    border-top: 1px dotted #c7c7c7;
}

.help-block,
.control-label {
    color: #212121;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 5px !important;
    padding-top: 0 !important;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 800px;
        width: 600px;
    }
}

.modal-title{
    font-size: 18px;
}

body .form-control{
    font-size: 13px;
}

.content .form-control {
    height: 32px;
    box-shadow: none;
    border-color: #bdbdbd;
    background: #F6F6F6;
    font-size: 11px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    min-height: fit-content !important;
    border-radius: 2px;
}

.login-box-body .form-control {
    height: 32px;
    box-shadow: none;
    border-color: #bdbdbd;
    background: #F6F6F6;
    font-size: 13px;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.select2-container--default .select2-selection--multiple {
    padding-left: 2px;
    z-index: 1 !important;
    box-shadow: none;
    background: #f6f6f6;
    min-height: 32px;
}

.keywords {
    padding-top: 10px;
    padding-bottom: 15px;
    border-bottom: solid #d2d6de 1px;
}

.keywords .select2-container--default .select2-selection--multiple {
    min-height: 120px;
}

.keywords .form-control {
    min-height: 120px !important;
}

@media (max-width: 767px) {

    .keywords .select2-container--default .select2-selection--multiple {
        min-height: 80px;
    }
    
    .keywords .form-control {
        min-height: 80px !important;
    }

}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='orange' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 98.5% !important;
    background-position-y: 4px !important;
    min-height: 32px !important;
    border-radius: 0px !important;
    margin-bottom: 1px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 6px;
    z-index: 1 !important;
}


.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-selection .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container {
    z-index: 15 !important;
    height: auto;
}


@media (max-width: 767px) {
    .select2-container {
        z-index: 15 !important;
        height: auto;
        width: 100%;
    }
}


.select2-container.select2-container--open {
    z-index: 19 !important;
}

select.form-control {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='orange' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 98.5% !important;
    background-position-y: 4px !important;
    height: 32px;
    line-height: 18px;
    font-size: 13px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3a6bf2 !important;
    padding: 3px 5px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    border-radius: 2px !important;
    border: none !important;
    display: flex;
    align-items: center !important;
    height: 20px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    font-size: 25px;
    margin-right: 7px !important;
    color: #bfd0ff !important;
    font-weight: 500 !important;
}

.form-group {
    margin-bottom: 0;
    position: relative;
}

.filters .cke_editor_texto,
.filters .cke_editor_descripcion {
    margin-bottom: 20px;
}

#resultado {
    font-weight: 500;
    margin-bottom: 16px;
    border-radius: 2px;
    font-size: 14px;
}

code,
kbd,
pre,
samp {
    font-family: 'Montserrat', sans-serif;
}

.form-control.datepicker {
    min-width: 100%;
    border-radius: 2px;
    padding-left: 12px;
}

.daily-report-header {
    padding-top: 16px;
}

.button-uploadfile input[type="file"] {
    position: relative;
    z-index: 0;
    top: 0;
    left: 0;
    font-size: 11px;
    color: #999;
    /* padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px; */
    outline: none;
    cursor: pointer;
}

.button-uploadfile input[type="file"]:after {
    /* content: ""; */
    width: 32px;
    height: 100%;
    background-color: #f8f8f8;
    position: absolute;
    top: 0;
    left: 136px;
}

.button-uploadfile input[type="file"]::-webkit-file-upload-button {
    border-radius: 2px;
    border: none;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    background-color: #444;
    width: 143px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.button-uploadfile input[type="file"]::file-selector-button {
    border-radius: 2px;
    border: none;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    background-color: #444;
    width: 143px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.button-uploadfile {
    position: relative;
    display: flex;
}

.button-uploadfile>div {
    float: right;
}

@media (max-width: 767px) {
    .button-uploadfile>div {
        display: block;
        width: 100%;
        text-align: right;
    }
}

.button-uploadfile .new-button {
    display: none;
    border-radius: 2px;
    border: none;
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    background-color: #444;
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 153px;
    height: 31px;
    align-items: center;
    justify-content: center;
    top: 5px;
    pointer-events: none;
    margin: 0;
}

.toggle-type .input-group {
    width: 97%;
}

.toggle-type .input-group .group-span-filestyle {
    float: right;
}

.toggle-type .input-group .group-span-filestyle .btn.btn-default {
    border-radius: 2px;
    border: none;
    padding: 9px 18px !important;
    font-weight: 600;
    font-size: 12px;
    float: right;
    margin-top: 10px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr .2fr;
}

.input-group .input-group-addon {
    width: 100%;
    height: 35px;
    padding-top: 10px;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.input-group .form-control {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}


/* Datepicker -----------
.daterangepicker {
    max-width: 661px !important;
    width: auto !important;
}
.daterangepicker {
    border-radius: 0 !important;
}
.daterangepicker thead th, .daterangepicker thead td {
    border-radius: 0 !important;
}
.daterangepicker .ranges {
    width: 100% !important;
    text-align: right;
    padding:10px 16px;
}
.daterangepicker .ranges .btn {
    margin-left: 16px;
}
.daterangepicker .calendar {
    max-width: 48% !important;
}
.daterangepicker .calendar.right {
    margin-left: 6px !important;
    margin-right: 0px !important;
}
.daterangepicker .calendar tbody {
    border-top: 6px solid white;
}
.daterangepicker .calendar-table {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.daterangepicker_input {
    padding: 0 !important;
}
.calendar {
    margin-right: 10px !important;
}
.daterangepicker {
}
.daterangepicker th.month{
    color: white;
}
.daterangepicker .calendar i{
    color: #bcbcbc;
}
.daterangepicker .calendar thead th{
    color: white;
    font-size: 10px;
    padding: 7px 7px !important;
}
.daterangepicker td, .daterangepicker th {
    font-size: 10px;
}
.daterangepicker .calendar th{
    min-width: 10px !important;
}
table.dataTable, table.dataTable th, table.dataTable td {
    padding-bottom: 15px;
}
*/

td.today.active.start-date.available, td.weekend.active.start-date.available {
    border-radius: 0px !important;
}

td.active.day {
    background-color: #357ebd !important;
    background-image: none !important;
    border-radius: 0px !important;
}


.datepicker.dropdown-menu td {
    padding: 8px 8px !important;
    font-size: 12px;
    height: 25px;
    width: auto;
}

.datepicker thead tr th {
    background: white;
    /* color: white; */
    font-size: 12px;
}

.datepicker-switch {
    text-transform: capitalize;
}

/* .datepicker table tr td.active:active, .datepicker table tr td.active:hover:active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:hover.active, .open .dropdown-toggle.datepicker table tr td.active, .open .dropdown-toggle.datepicker table tr td.active:hover, .open .dropdown-toggle.datepicker table tr td.active.disabled, .open .dropdown-toggle.datepicker table tr td.active.disabled:hover{
    background-color: #357ebd !important;
    border-color: transparent !important;
    color: #fff !important;
    border-radius: 4px !important;
} */

.calendar-table {
    font-family: 'Montserrat', sans-serif;
}

.daterangepicker li {
    font-family: 'Montserrat', sans-serif;
}

.calendar-table table thead th,
.calendar-table table thead td {
    padding: 0 !important;
    text-transform: none;
    font-size: inherit;
    border-bottom: none;
    background: inherit;
    color: inherit;
    vertical-align: 0;
}

/* Tables ---------------------------------------------------------------- */
.table-responsive {
    border-radius: 2px;
    overflow: auto;
}

.table-responsive .registros {
    padding-right: 8px;
}

@media (max-width: 767px) {
    .table-responsive {
        border-radius: 2px;
        overflow: auto;
    }
}

.table {
    font-size: 8.5px;
    font-weight: 500;
    margin-bottom: 0;
}

.table pre {
    border-radius: 0;
    border: none;
    background: white;
    color: gray;
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 2px;
}

.table .info-table-productos,
.table-productos-content {
    background: white;
    border: #dddddd solid 1px;
    --bs-gutter-x: 0;
    padding: 10px;
}

.table tbody {
    border: solid 1px #edf2fe;
    background: white;
}

.table .td-centered {
    text-align: center;
    vertical-align: middle;
}

.table .td-vertical-centered {
    vertical-align: middle;
}

.table .sticky {
    position: sticky;
    left: 0;
    background: #003ad8;
    color: #fff;
    font-weight: 900;
    margin: 0;
    border: 1px solid white;
}

.table .td-left {
    text-align: left;
    vertical-align: middle;
}

.table .td-inherit {
    width: inherit;
    vertical-align: middle;
}

.table ul li {
    padding: 2px 0px;
    line-height: 15px;
}

.filters table tr,
.box table tr {
    width: 1%;
    white-space: nowrap;
}

table thead th,
table thead td {
    padding: 5px !important;
    text-transform: uppercase;
    font-size: 8px;
    border-bottom: 1px solid #dbdfe4 !important;
    background: #616161;
    color: #4c4c4c;
    font-weight: 500 !important;
}

table tbody th,
table tbody td {
    padding: 2px 3px !important;
    border: 1px solid #f4f4f4 !important;
}

.table .btn {
    padding: 0 5px;
    height: auto;
    border: #fffffff7 1px solid;
    width: 100%;
    margin: 0 auto;
}

.table .btn i {
    margin-right: 0;
    padding: 2px;
}

.table .btn-group,
.table .btn-group-vertical {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
}

.table form {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

/* table#productos-table td {
    display: table-cell;
} */

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    line-height: 1.3;
}

.champions-box .table>tbody>tr>td {
    padding: 0 !important;
    margin: 0;
    text-align: center;
    border: none !important;
}

.table.whatsapp-table>tbody>tr>td {
    padding: 4px !important;
    vertical-align: middle;
}

.panel .panel-body {
    font-size: 11px;
}

.panel .panel-footer {
    font-size: 10px;
    font-weight: bold;
}

/* Btns group */
.btn-group>form:last-child:not(:first-child)>.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group *>.btn {
    /*border-radius: 0;*/
}

.btn-group *>.btn.first-button {
    border-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group *>.btn.last-button {
    border-radius: 2px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.box-body h4 {
    margin: 3px 0;
    font-size: 13px;
}

/* New Home ----------------------------------------------------------------*/
.new-home-container {
    padding: 16px;
}

.new-home-container h2 {
    margin: 16px 0;
}

.header-new-home p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-container-new-home {
    padding: 16px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    display: none;
}

.zendesk-banner {
    margin: 32px 8px 16px;
    padding-right: 16px;
    width: 75%;
    overflow: hidden;
    border-radius: 2px;
}

.zendesk-banner img {
    width: 100%;
}

@media (max-width: 1350px) {
    .card-container-new-home {
        width: 85%;
    }

    .zendesk-banner {
        width: 85%;
    }
}

@media (max-width: 1100px) {
    .card-container-new-home {
        width: 90%;
        grid-template-columns: 1fr 1fr;
    }

    .zendesk-banner {
        width: 90%;
    }
}

@media (max-width: 767px) {
    .card-container-new-home {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .zendesk-banner {
        width: 96%;
    }

    .zendesk-banner img {
        width: 140%;
        margin-left: -35%;
        margin-bottom: 0;
    }
}

.card-section {
    background-color: white;
    margin: 8px;
    border-radius: 2px;
    display: grid;
    grid-template-columns: 60px 1fr;
    overflow: hidden;
}

.card-section .icon-section {
    background-color: rgb(145, 145, 145);
    background-size: 58%;
    background-repeat: no-repeat;
    background-position: center 23px;
    position: relative;
}

.card-section .icon-section:before {
    font-family: 'icomoon';
    color: white;
    font-size: 35px;
    position: absolute;
    top: 33px;
    left: 13px;
}

/* PRODUCTOS */
.card-section.products .icon-section {
    background-color: #F27C3A;
}

.card-section.products .icon-section:before {
    content: "\e927";
}

/* CLIENTES */
.card-section.clients .icon-section {
    background-color: #3A8FF2;
}

.card-section.clients .icon-section:before {
    content: "\ea05";
}

/* PEDIDOS */
.card-section.orders .icon-section {
    background-color: #16C15A;
}

.card-section.orders .icon-section:before {
    content: "\e9d6";
}

/* COMPAÑÍAS */
.card-section.companies .icon-section {
    background-color: #DF4137;
}

.card-section.companies .icon-section:before {
    content: "\e928";
}

/* DISTRIBUIDORES */
.card-section.distributor .icon-section {
    background-color: #1CC4CF;
}

.card-section.distributor .icon-section:before {
    content: "\e9ad";
}

/* VENDEDORES */
.card-section.sellers .icon-section {
    background-color: #A64DEB;
}

.card-section.sellers .icon-section:before {
    content: "\e9de";
}

/* TRANSPORTADORES */
.card-section.delivery .icon-section {
    background-color: #BBD41C;
}

.card-section.delivery .icon-section:before {
    content: "\e9f6";
}

/* ACTUALIZACIONES */
.card-section.refresh .icon-section {
    background-color: #DD427A;
}

.card-section.refresh .icon-section:before {
    content: "\e9c5";
}

/* COMUNICACIONES */
.card-section.communications .icon-section {
    background-color: #DFC122;
}

.card-section.communications .icon-section:before {
    content: "\e99c";
}

/* CENTRO DE AYUDA */
.card-section.help .icon-section {
    background-color: #28D697;
}

.card-section.help .icon-section:before {
    content: "\e985";
}

/* REPORTES */
.card-section.report .icon-section {
    background-color: #F2BE3A;
}

.card-section.report .icon-section:before {
    content: "\e9ba";
}

/* CRM */
.card-section.crm .icon-section {
    background-color: #EC6A61;
}

.card-section.crm .icon-section:before {
    content: "\e96a";
}

/* SERVICIOS */
.card-section.services .icon-section {
    background-color: #27AFDA;
}

.card-section.services .icon-section:before {
    content: "\e96d";
}

/* CLUB TIENDAPP */
.card-section.club .icon-section {
    background-color: #D831A9;
}

.card-section.club .icon-section:before {
    content: "\e91b";
}

/* CONFIGURACIONES */
.card-section.settings .icon-section {
    background-color: #6CC90E;
}

.card-section.settings .icon-section:before {
    content: "\e9d0";
}


.card-section .content-card {
    padding: 16px;
}

.card-section .content-card p {
    line-height: 1.3;
    margin-bottom: 16px;
}

.card-section .content-card .btn {
    float: right;
}

/* Iconfont ----------------------------------------------------------------*/
@font-face {
    font-family: 'icomoon';
    src: url('../font-icon/icomoon.eot?vnqupf');
    src: url('../font-icon/icomoon.eot?vnqupf#iefix') format('embedded-opentype'),
        url('../font-icon/icomoon.ttf?vnqupf') format('truetype'),
        url('../font-icon/icomoon.woff?vnqupf') format('woff'),
        url('../font-icon/icomoon.svg?vnqupf#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.sidebar-menu i {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon';
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 18px;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-alert-circle:before {
    content: "\e904";
}

.icon-alert-triangle:before {
    content: "\e906";
}

.icon-award:before {
    content: "\e91b";
}

.icon-bookmark:before {
    content: "\e926";
}

.icon-box:before {
    content: "\e927";
}

.icon-briefcase:before {
    content: "\e928";
}

.icon-clipboard:before {
    content: "\e93a";
}

.icon-code:before {
    content: "\e942";
}

.icon-dollar-sign:before {
    content: "\e959";
}

.icon-eye:before {
    content: "\e961";
}

.icon-file-text:before {
    content: "\e96a";
}

.icon-flag:before {
    content: "\e96d";
}

.icon-help-circle:before {
    content: "\e980";
}

.icon-info:before {
    content: "\e985";
}

.icon-list:before {
    content: "\e98f";
}

.icon-mail:before {
    content: "\e994";
}

.icon-message-square:before {
    content: "\e99c";
}

.icon-package:before {
    content: "\e9ad";
}

.icon-pie-chart:before {
    content: "\e9ba";
}

.icon-plus-circle:before {
    content: "\e9be";
}

.icon-refresh-cw:before {
    content: "\e9c5";
}

.icon-settings:before {
    content: "\e9d0";
}

.icon-shopping-cart:before {
    content: "\e9d6";
}

.icon-shuffle:before {
    content: "\e9d7";
}

.icon-sliders:before {
    content: "\e9dd";
}

.icon-smile:before {
    content: "\e9de";
}

.icon-tag:before {
    content: "\e9e7";
}

.icon-terminal:before {
    content: "\e9e9";
}

.icon-tool:before {
    content: "\e9ef";
}

.icon-truck:before {
    content: "\e9f6";
}

.icon-users:before {
    content: "\ea05";
}

/* Productos ----------------------------------------------------------------*/
.categories-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width: 767px) {
    .categories-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

.categories-wrap .category-list {
    padding-left: 0;
    margin-bottom: 24px;
}

.categories-wrap .category-list li:first-child {
    font-weight: 600;
    margin-bottom: 16px;
}

.categories-wrap .category-list ul li {
    position: relative;
}

.categories-wrap .category-list ul li:before {
    content: '';
    width: 8px;
    height: 14px;
    border-left: 1px solid #ababab;
    border-bottom: 1px solid #ababab;
    position: absolute;
    top: -3px;
    left: -11px;
}

.categories-wrap .category-list .category-sub-list li {
    font-weight: normal;
    margin: 0;
}

#productos-table p img {
    margin: 0 auto;
    border-radius: 3px;
}

/* Importar Datos ----------------------------------------------*/
.import-data h3 {
    font-size: 17px;
    line-height: 1.3;
}

.import-data p {
    padding: 16px;
    line-height: 1.4;
    font-weight: 500;
    background-color: #e4e4e4;
    text-align: center;
    font-size: 15px;
    border-radius: 2px;
    margin: 16px 0;
}

#home-containter {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

@media (max-width: 767px) {
    #home-containter {
        margin-top: 60px;
    }
}

.home-cards-wrapper {
    height: auto !important;
}

/* Filtros reportes consolidados ---------------*/
/* .filtros-cont {
    width: 93% !important;
    margin-left: 90px !important;
}
@media (max-width: 1048px) and (min-width: 769px) {
    .filtros-cont {
        width: 92% !important;
    }
}
@media screen and (max-width: 768px) {
    .filtros-cont {
        width: 100% !important;
    }
} */

/* Callout Modal-------------------------------- */
.callout-modal {
    background: #f0f2f7;
    border-radius: 2px;
    margin: 0 0 20px 0;
    padding: 16px;
}

.callout-modal h4 {
    margin-bottom: 16px;
}

.callout-modal .callout-title {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.callout-modal hr {
    margin-top: 10px;
    border-top: 1px solid #cad2dd;
}

.callout-modal .label-modal-orders {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.callout-modal .label-modal-orders input {
    margin: 0;
    margin-right: 8px;
    cursor: pointer;
}

.callout-modal .label-modal-orders label {
    margin-bottom: 0 !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #656565;
    cursor: pointer;
}

.callout-modal .datepicker {
    margin-bottom: 0px !important;
    background: white;
}

.callout-modal .select2-selection--single {
    margin-bottom: 8px;
}

.callout-modal .disclaimer-text {
    color: #717171;
    line-height: 1.6;
}

.callout-modal .disclaimer-text i {
    margin-right: 10px;
}

.label-sellers {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.label-sellers input {
    margin: 0;
    margin-right: 8px;
    cursor: pointer;
}

.label-sellers label {
    margin-bottom: 0 !important;
    font-weight: 500;
    font-size: 14px;
    color: #656565;
    cursor: pointer;
}

.select-dist {
    margin-bottom: 10px;
}

.modal-header .close {
    margin-top: 0;
    font-size: 40px;
    font-weight: 400;
    opacity: 1.0;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: white;
    border: none;
}

.modal-header {
    border-bottom-color: #f4f4f4;
    border-radius: 2px;
    color: white;
}

.datepicker {
    width: auto;
}

/*Elipsis: agrega 3 puntos en los campos largos*/

.elipsis {
    width: 170px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*Elipsis para el nombre en el nav*/

/* .nav-item .elipsis-nav {
    width: 100px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
} */

/*Elipsis para el correo en el nav*/

.dropdown-menu .elipsis-nav {
    width: 220px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


/*Elipsis 2: deja los campos con un ancho fijo y baja la línea cuando llegue hasta allí*/

.elipsis-2 {
    width: 100px;
    white-space: break-spaces;
}

/*Elipsis 3: deja los campos con un ancho fijo más amplio y baja la línea cuando llegue hasta allí*/

.elipsis-3 {
    width: 430px;
    white-space: initial;
    word-break: break-word;
}

.elipsis-950px {
    width: 950px;
    white-space: initial;
    word-break: break-word;
}

.elipsis-999 {
    width: 430px;
    white-space: initial;
    word-break: break-word;
}

.elipsis-300 {
    width: 300px;
    white-space: initial;
    word-break: break-word;
}

.elipsis-max-width {
    width: 100%;
    white-space: initial;
    word-break: break-word;
}

/* Elipsis pequeño para las tablas */

.elipsis-table {
    width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    /* margin-top: 4px; */
}

/* Elipsis menu mobile */

.elipsis-table-mobile {
    display: block;
    width: 60px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    /* margin-top: 4px; */
}


/*Elipsis: 100%*/

.elipsis-100 {
    width: 95%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 500px;
}

/* Label */

.label {
    font-size: 9px;
    font-weight: 500;
    line-height: 100%;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    margin: 1px;
    padding: 1px 2px;
    vertical-align: baseline;
    border-radius: 2px;
}

.label-table {
    width: fit-content;
    margin: auto auto;
    min-width: 90px;
}

/* Precio total en Ofertas / Precios disponibles*/

.total-price {
    background-color: aliceblue;
    border-radius: 20px;
    border: solid #ffc70b 1px;
    display: grid;
    margin: 10px 5px 5px;
}

/* Sección Productos - Producto Destacado*/

.producto_destacado_section {
    background: #eeeeee7a;
    border-radius: 5px;
    padding: 10px;
    border: solid 1px #ffa5007a;
    display: inline-block;
    margin: 0px 15px;
}

@media (max-width: 480px) {
    .producto_destacado_section {
        background: #eeeeee7a;
        border-radius: 5px;
        padding: 10px;
        border: solid 1px #ffa5007a;
        margin: 0px 15px;
    }

}

.producto_destacado_section_item {
    border-radius: 2px;
    padding: 10px 0 0;
    display: flex;
    margin: 0;
}

@media (max-width: 480px) {
    .producto_destacado_section_item {
        border-radius: 2px;
        padding: 10px 0 0;
        margin: 0;
        display: block;
    }

}

/* Centra los titulos de la sección de detalle de la Tabla de Productos*/

.producto_titulo_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}


label.btn.btn-default.btn-flat.btn-block {
    width: auto;
    border-radius: 2px;
    padding: 10px !important;
    text-align: center;
    margin-top: 10px;
}

.indicadores {
    background: white;
    border-radius: 2px 10px 0 0;
    padding: 10px;
    margin: 10px 30px 0px;
}

@media (max-width: 480px) {
    .indicadores {
        background: white;
        border-radius: 2px 10px 0 0;
        padding: 0;
        margin: 0;
    }
}

.indicadores .header {
    display: flex;
    /* justify-content: space-between; */
}

@media (max-width: 480px) {
    .indicadores .header {
        display: grid;
    }
}

.info-horas {
    background: #F8F8F8;
    border-radius: 2px;
    padding: 10px;
    margin: 10px;
    /* display: inline; */
}

.info-indicadores {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    line-height: normal;
}

.detalle-indicadores {
    border-radius: 3px;
    padding: 4px;
    /* margin: 50px 0 0; */
    display: flex;
}


.info-indicadores p {
    font-size: 20px;
    margin: 0;
    color: #0A6FCB;
    font-weight: 500;
}

.tabla-indicadores {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-height: 400px;
    align-items: center;
    justify-content: center;
    padding: 10px 0 20px;
}

.indicadores-tabla {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-height: 400px;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
}


.botones-info-tabla {
    background: #274ec9;
    color: white;
    border-radius: 2px;
    padding: 2px 5px;
    display: inline-block;
    margin: 1px;
}

.botones-info-tabla:hover {
    background: #4570ff;
    color: white;
    border-radius: 2px;
    padding: 2px 5px;
    display: inline-block;
    margin-bottom: 1px;
    margin-top: 1px;
}

.datepicker table tr td,
.datepicker table tr th {
    border-radius: 0 !important;
    vertical-align: middle;
}

.tienda-bacana-elipsis {
    height: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 450px;
}



.checkbox.sn-checkbox-open-in-new-window,
.checkbox.sn-checkbox-use-protocol {
    padding-left: 20px
}

.note-btn-group.btn-group.note-color,
.note-btn-group.btn-group.note-view {
    display: none
}

.custom-text-edit button.note-btn.btn.btn-default.btn-sm {
    border: none;
    background: 0 0;
    padding: 5px 10px
}

.texto-desactivar-concurso {
    color: red;
    text-align: justify;
    background: #fff3f3;
    padding: 10px;
    border-radius: 2px
}

/* Champions  */

.champions-tabs {
    border: solid #e9e9e9 1px;
    padding: 12px;
    font-size: 14px;
    background: #fbfbfb;
    width: 100%;
    text-align: left
}


.champions-box {
    border-radius: 0;
    /* padding: 10px 20px; */
}

.accordion-body {
    padding: 0;
}

@media (max-width: 480px) {
    .champions-box {
        padding: 0;
    }
}


.champions-box .select2-container {
    width: 100% !important;
    border-radius: 2px;
}

.champions-box .select2-container input.select2-search__field {
    border: none;
}

.champions-box .select2-selection {
    padding: 6px 10px;
    font-size: 10px;
}

.table-flex {
    position: relative;
    border: #f1f1f1 solid 1px;
}

.table-flex .form-control,
.table-flex2 .form-control {
    box-shadow: none;
    border-color: #ffffff;
    border-bottom: 1px #edf2fe solid;
    background: #F6F6F6;
    font-size: 10px;
}

.table-flex:nth-child(1) {
    transform: translate(10%, 30%);
    text-align: left;
    font-size: 12px;
    background: inherit;
}

.table-flex span,
.table-flex2 span {
    padding: 0;
    margin-bottom: 0 !important;
}

.table-flex2 {
    position: relative;
    border: #f1f1f1 solid 1px;
}

.table-flex2:nth-child(2) {
    transform: translate(10%, 20%);
    text-align: left;
    font-size: 11px;
    background: inherit;
}

.table>tbody+tbody {
    border-top: none !important;
}

.table-flex3 {
    position: relative;
    border: #f1f1f1 solid 1px;
}

.table-flex3:nth-child(1) {
    transform: translate(10%, 30%);
    text-align: left;
    font-size: 12px;
    background: inherit;
}

.table-flex-marca {
    background-color: #959595 !important;
    text-align: center;
    color: white !important;
    font-size: 9px;
    padding: 7px !important;
}


.table>thead:first-child>tr:first-child>th {
    background: #616161;
    color: white;
    text-align: center;
    font-weight: bold !important;
    font-size: 8.5px;
}

.table>thead:first-child>tr:first-child>th:last-child {
    width: inherit;
}

.tabla-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .tabla-responsive {
        display: block;
        gap: 10px;
    }
}

/* Nueva sección productos */

.product-special {
    border-top: 1px solid #d6d6d6;
    margin-top: 20px;
}

.product-title {
    padding-top: 10px;
    margin-bottom: 20px;
    color: #3a6bf2;
    font-size: 17px;
}

.product-special-title {
    padding: 10px 0 0;
    color: #3a6bf2;
}


.icon-login {
    position: absolute;
}

/* Ocultar los tabs en productos */
ul.nav.nav-tabs {
    /* display: none; */
}

.tabla-productos-pre {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

.tabla-productos-pre p {
    padding: 5px;
    border: #dddddd solid 1px;
    margin: 0 !important;
    margin-bottom: 0 !important;
    color: black;
    background: #f4f4f4;
}

.table-productos-content .tabla-productos-content {
    padding: 0;
    margin: 0;
}

.info-table-productos p {
    margin-bottom: 3px !important;
}

.boton-editar-productos {
    background: #FF9800;
    color: white;
    padding: 5px 25px;
}

.boton-editar-productos:hover {
    background: #f39100;
    color: white;
    padding: 5px 25px;
}

.accordion {
    border: 1px solid #e9e9e9;
    border-radius: 2px;
}

.accordion-item,
.accordion-header,
.accordion-button {
    border-radius: 2px !important;
}

.accordion-header .accordion-button {
    border-radius: 2px !important;
    font-size: 14px !important;
    background-color: #f5f6f899;
}

.accordion-body {
    padding: 20px;
}

.accordion-body .form-group.producto {
    margin-bottom: 5px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-thumbnail.producto-imagen{
    width: 230px;
}

@media (max-width: 430px) {
    .accordion-body .form-group.producto {
        margin-bottom: 15px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .content .product-title {
        padding: 0;
    }

    .img-responsive .img-thumbnail {
        width: 250px !important;
        text-align: center;
        display: block;
    }

    .form-group{
        padding: 0 !important;
    }

    .form-group.producto .select2-container {
        width: 100%;
    }

    .accordion-body {
        padding: 0;
    }

   .nav .tab-content {
        padding: 0;
    }

    .accordion-body .row {
        padding: 0;
        margin: 0;
    }

    .accordion-body {
        padding: 10px;
    }
}


.form-group.descuento .select2-container{
    width: 100% !important;
}

.accordion-body hr{
    padding-bottom: 20px;
    margin: 0
}

.form-descuento hr{
    padding-bottom: 20px;
    margin-top: 20px;
}


.accordion-body .form-group input,
.accordion-body .form-group select {
    max-width: 100%;
}

#form_producto .accordion-body .form-group input,
#form_producto .accordion-body .form-group select {
    max-width: 240px;
    width: 100%;
}

@media (max-width: 425px) {
    #form_producto .accordion-body .form-group input,
    #form_producto .accordion-body .form-group select {
        max-width: 100%;
        width: 100%;
    }
}


.seccion-descuento .accordion-button {
    background: transparent !important;
    padding: 0;
    box-shadow: none;
    font-size: 17px;
    font-weight: 500;
}

.seccion-descuento .accordion-item {
    border: none;
}


.clients-body .form-group.producto {
    margin-bottom: 5px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 425px) {
    .clients-body .form-group.producto {
        margin-bottom: 7px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: start;
    }
}

.clients-body .form-group input,
.clients-body .form-group select,
.clients-body .form-group textarea {
    max-width: 400px;
}

@media (max-width: 425px) {

    .clients-body .form-group input,
    .clients-body .form-group select,
    .clients-body .form-group textarea {
        max-width: 100%;
    }
}


span a:hover,
span a:active,
span a:focus {
    color: inherit !important;
}

.importar {
    width: 143px;
    height: 30px;
    font-size: 11px;
}



/* Switch Acordeón */

.accordion .btn-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-left: 20px;
}

.accordion .btn-container i {
    display: inline-block;
    position: relative;
    top: -9px;
}


.accordion .form-group.producto label {
    max-width: 100px;
}

/* .accordion label {
    font-size: 13px;
    color: inherit;
    font-weight: 500;
} */


@media (max-width: 430px) {
    .accordion label {
        font-size: 13px;
        color: inherit;
        font-weight: 500;
        margin-bottom: 5px;
    }
}



.accordion .btn-color-mode-switch {
    display: inline-block;
    margin: 0px;
    position: relative;
    margin-bottom: 0px !important;
}

.accordion .btn-color-mode-switch>label.btn-color-mode-switch-inner {
    margin: 0px;
    width: 132px;
    height: 27px;
    background: #7c0000;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
    margin-bottom: 0px !important;
    color: white;
}

.accordion .btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
    content: attr(data-on);
    position: absolute;
    font-weight: 500;
    top: 7px;
    right: 10px;
}

.accordion .btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
    content: attr(data-off);
    width: 70px;
    background: red;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 7px 0px;
}

.accordion .btn-color-mode-switch>.alert {
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}

.accordion .btn-color-mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.accordion .btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    color: green;
    background: transparent;
    margin-bottom: 0px !important;
    border: 2px solid green;
    border-radius: 2px;

}

.accordion .btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
    content: attr(data-on);
    left: 68px;
    background: rgb(0, 73, 0);
}

.accordion .btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
    content: attr(data-off);
    right: auto;
    left: 7px;
}

.accordion .btn-color-mode-switch input[type="checkbox"]:checked~.alert {
    display: block;
}

.accordion .dark-preview {
    background: #0d0d0d;
}

.accordion .white-preview {
    background: #fff;
}


/* Switch estado usuarios*/
.btn-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-left: 20px;
}

.btn-container i {
    display: inline-block;
    position: relative;
    top: -9px;
}

label {
    font-size: 13px;
    color: black;
    font-weight: 500;
}

.btn-color-mode-switch {
    display: inline-block;
    margin: 0px;
    position: relative;
    margin-bottom: 0px !important;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner {
    margin: 0px;
    width: 140px;
    height: 27px;
    background: rgb(124, 0, 0);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
    margin-bottom: 0px !important;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
    content: attr(data-on);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    top: 7px;
    right: 20px;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
    content: attr(data-off);
    background: red;
    color: white;
    position: absolute;
    left: 2px;
    top: 2px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 7px 0px;
}

.btn-color-mode-switch>.alert {
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}

.btn-color-mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    background: green;
    color: #fff;
    margin-bottom: 0px !important;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
    content: attr(data-on);
    left: 66px;
    width: 70px;
    background: rgb(0, 73, 0);
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
    content: attr(data-off);
    right: auto;
    left: 10px;
}

.btn-color-mode-switch input[type="checkbox"]:checked~.alert {
    display: block;
}

.dark-preview {
    background: #0d0d0d;
}

.white-preview {
    background: #fff;
}

.btn-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-left: 20px;
}

.btn-container i {
    display: inline-block;
    position: relative;
    top: -9px;
}

.label-switch {
    font-size: 13px;
    color: white;
    font-weight:  500;
}

.btn-color-mode-switch {
    display: inline-block;
    margin: 0px;
    position: relative;
    margin-bottom: 0px !important;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner {
    margin: 0px;
    height: 25px;
    background: transparent;
    color: #7c0000;
    border: solid 2px #7c0000;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
    margin-bottom: 0px !important;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
    content: attr(data-on);
    position: absolute;
    font-size: 10px;
    font-weight: 500;
    top: 6px;
    right: 15px;
}

.btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
    content: attr(data-off);
    font-size: 10px;
    width: 70px;
    background: red;
    color: white;
    position: absolute;
    left: 0;
    top: -1px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 7px 0px;
}

.btn-color-mode-switch>.alert {
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}

.btn-color-mode-switch input[type="checkbox"] {
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner {
    color: green;
    background: transparent;
    margin-bottom: 0px !important;
    border: 2px solid green;
    border-radius: 2px;
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
    content: attr(data-on);
    right: 0;
    background: rgb(0, 73, 0);
}

.btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
    content: attr(data-off);
    right: auto;
    left: 11px;
}

.btn-color-mode-switch input[type="checkbox"]:checked~.alert {
    display: block;
}

.dark-preview {
    background: #0d0d0d;
}

.white-preview {
    background: #fff;
}


.agregar-vendedor {
    display: flex;
    justify-content: space-between;
    align-items: end;
    --bs-gutter-x: 1.5rem;
    margin: 0;
    padding: 0;
}

.vendedores-agregados {
    display: flex;
    justify-content: space-between;
    align-items: end;
    --bs-gutter-x: 1.5rem;
    margin: 0;
    padding: 0;
}

.agregar-vendedor .btn,
.vendedores-agregados .btn {
    height: 32px;
}

.form-control:disabled {
    background-color: white;
    opacity: 0.8;
}

#canvas-recortar-imagen {
    border-radius: 5px;
    background: #e6e6e6;
    width: auto;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.hover {
    background-color: #2B5AD4;
}

.vendedores-agregados a.btn {
    line-height: 2;
}

/* Importar */

.icons-importar {
    display: flex;
    gap: 10px;
    /* cursor: pointer; */
    padding: 0 10px 20px;
    overflow-x: auto;
}

@media (max-width: 767px) {
    .icons-importar {
        display: grid;
        gap: 10px;
        cursor: pointer;
        grid-template-columns: 1fr 1fr;
    }

}

.icon-importar {
    max-width: 140px;
    cursor: pointer;
}

.ui-widget-content {
    display: none;
}

.modal-footer {
    padding: 10px !important;
    gap: 5px;
}


.btn-warning,
.btn-warning:hover {
    color: white;
}

.home-table-content .red-sales {
    background-color: rgba(255, 0, 0, 5%);
    color: red;
}

.table .home-table {
    text-align: left;
}

.table .home-table a {
    color: white;
}

.home-search {
    margin-top: 10px;
    float: right;
}

@media (max-width: 767px) {
    .home-search {
        margin-top: 10px;
        float: left;
    }
}

.home-main-title {
    font-size: 20px;
    margin: 10px 0 10px;
    font-weight: bold;
    color: #198754;
}

.home-title {
    font-size: 20px;
    margin: 20px 0 7px;
    font-weight: bold;
    color: #616161;
}


@media (max-width: 767px) {

    .home-main-title,
    .home-title {
        margin: 0 0 5px;
        font-size: 18px;
    }

    .home-link {
        text-align: center;
    }
}


.tablePorcentaje {
    display: flex;
    justify-content: center;
    background-color: #fff;
    margin-bottom: 10px;
    gap: 10px;
}

@media (max-width: 767px) {
    .tablePorcentaje {
        display: block;
        justify-content: center;
        background-color: #fff;
        margin-bottom: 10px;
        gap: 10px;
    }
}

.cardPorcentaje50 {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
}

.cardPorcentaje50>.title {
    background-color: #616161;
    color: white;
    padding: 9px;
    width: 100%;
}

.cardPorcentaje50>.content {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 767px) {
    .cardPorcentaje50>.content {
        display: grid;
        justify-content: center;
        gap: 0px;
        width: 100%;
    }
}

.cardPorcentaje50>.content>.icon {
    color: #000;
    margin-right: 5px;
    font-size: 20px;
}

.cardPorcentaje50>.content>.count {
    color: #000;
    margin: 0;
}

.cardPorcentaje50 p {
    margin: 3px 0;
    line-height: 150%;
    font-size: 12px;
}

@media (max-width: 767px) {
    .cardPorcentaje50 {
        background-color: #ffffff;
        border: 1px solid #ccc;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
}

.cardPorcentaje {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 33.3%;
}

.modal-body .row{
    margin: 0;
}

.modal-body .form-control[type=file]{
    max-width: 100%;
}

@media (max-width: 767px) {
    .cardPorcentaje {
        background-color: #ffffff;
        border: 1px solid #ccc;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .modal-body .form-control[type=file]{
        max-width: 100%;
    }

    .btn-eliminar-vendedor {
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .modal-body .box-primary {
        margin: 0;
        padding: 0;
    }

    /* .modal-title {
        font-size: 15px;
    } */

    .modal-content p {
        margin: 0;
    }
}

.cardPorcentaje>.title {
    background-color: #616161;
    color: white;
    padding: 9px;
    width: 100%;
}

.cardPorcentaje>.content {
    align-items: center;
    justify-content: center;
}

.cardPorcentaje>.content>.icon {
    color: #000;
    margin-right: 5px;
    font-size: 20px;
}

.cardPorcentaje>.content>.count {
    color: #000;
    margin: 0;
}

.cardPorcentaje p {
    margin: 3px 0;
    line-height: 150%;
    font-size: 12px;
}

.home-welcome {
    font-size: 22px;
    margin: 0 0 7px;
    font-weight: bold;
    color: #0A6FCB;
}

@media (max-width: 767px) {
    .home-welcome {
        font-size: 18px;
    }
}

.promedioSKUs {
    color: white;
    padding: 8px 0;
}

.juntos .content p {
    margin: 2px 0;
    line-height: 100%;
    font-size: 12px;
}

.homeChampions td {
    white-space: nowrap;
    width: auto;
}


.titulo-table-productos {
    background: #f6f6f6;
    color: #616161;
    padding: 8px;
    text-align: center;
    font-size: 10.5px;
    margin: -10px -10px 10px;
}


.btn-envio-mensajes-whatsapp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .btn-envio-mensajes-whatsapp {
        display: block;
    }

    .btn-envio-mensajes-whatsapp a,
    .btn-envio-mensajes-whatsapp button {
        width: 200px;
        margin-right: 0 !important;
        margin-top: 2px;
        line-height: 100%;
    }
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
    height: auto;
    padding: 10px;
    text-align: center;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p {
    z-index: 5;
    color: #fff;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-top: 1rem;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tabs a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
    margin-right: -1px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.tabs a:hover,
.tabs a.active {
    background-color: #ddd;
}

.content {
    padding: 12px;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
}

textarea {
    resize: vertical;
    border: solid 1px #dee2e6;
    border-radius: 2px;
    background: #F6F6F6;
    font-size: 11px;
}

span.badge {
    background: #3a6bf2;
    font-size: 10px;
    margin-left: 5px;
}

.nav-link.active {
    background: #0A6FCB;
    border: 2px solid #0A6FCB;
    color: white;
}

.nav-link {
    border: 2px solid #f9f9f9;
}

.nav-tabs .nav-link {
    border: none;
    background: #0d6efd !important;
    color: white !important;
}

.nav-tabs .nav-link.active {
    background: white !important;
    color: #0d6efd !important;
}

.nav>li>a:hover {
    background: inherit;
}

.content .pedido-gral .border-top-blue {
    border-top: #0A6FCB solid 2px !important;
}

.btn .badge {
    position: relative;
    top: -1px;
    background: #3a6bf2;
}

/* Timeline */

.timeline {
    padding: 10px 0;
}

.timeline .card {
    width: 100%;
    max-width: 390px;
    min-width: 390px;
    border: none;
}

.timeline .card-footer {
    color: white;
    font-weight: bold;
}

.timeline .card-body {
    padding: 0 20px;
    border: 2px #3a6bf2 solid;
    border-bottom: none;
    border-top: none;
}

.timeline .card-title {
    color: #3a6bf2;
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
}

.timeline .card-subtitle {
    color: #616161;
    font-size: 13px;
}

.timeline .card-header {
    font-size: 11px;
    background: #0A6FCB;
    color: white !important;
    border: 1px #0A6FCB solid;

}

.timeline p {
    margin: 0;
    width: 390px;
    white-space: break-spaces;
    max-width: fit-content;
}

.timeline .overflow-auto {
    overflow-x: auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #3a6bf2;
    left: 31px;
    margin: 0;
    border-radius: 2px;
}

.timeline .content-cards {
    display: flex;
    gap: 15px;
}

.timeline .list-group-item {
    font-size: 10.5px;
    text-align: left;
    padding: 0 0 10px 0;
    margin-bottom: 10px;
    max-width: 300px;
}



.timeline .bi-arrow-left-right {
    background: #eeeeee;
    border-radius: 100%;
}


/* .overflow-auto::-webkit-scrollbar {
    display: none; 
} */

@media (max-width: 768px) {

    .timeline .card-body {
        padding: 0 10px;
    }

    .timeline .card {
        width: 100%;
        /* 1 card por fila en dispositivos móviles */
        max-width: 250px;
        min-width: 250px;
        border: none;
    }

    .timeline p {
        margin: 0;
        width: 250px;
        white-space: break-spaces;
    }

}

.form-group.producto span {
    font-size: 10px;
    text-transform: uppercase;
}

.page-link {
    font-size: 10px !important;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 1px;
}

.pagination-controls a,
.pagination-controls .pagination-btn {
    border: none;
    font-weight: 500;
    background-color: white;
    font-size: 14px;
    height: auto;
    border-radius: 2px;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.pagination-controls a:hover,
.pagination-controls .pagination-btn:hover {
    background-color: #e7e8e9;
    color: #274ec9;
}

.pagination-controls .active {
    background-color: #FF9500;
    color: black;
    font-weight: 600;
}

.pagination-controls .active:hover {
    background-color: black;
    color: #FF9500;
}

.pagination-controls .pagination-btn:disabled {
    background-color: #cccccc;
}

.crear-descuento {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    border: none;
    background: white;
    -moz-box-shadow: 0px 0px 11px -3px rgba(133, 133, 133, 27%);
    box-shadow: 0px 0px 11px -3px rgb(133 133 133 / 27%);
    border-radius: 5px;
}

.crear-descuento-item {
    text-align: left;
    min-width: 50px;
}

.crear-descuento-titulo {
    font-weight: bold;
}

.crear-descuento-descripcion {
    color: gray;
    margin: 0;
}

.crear-descuento-titulo-principal {
}

.crear-descuento-gif {
    width: 40px;
    margin: 20px;
    transition: transform 2s ease;
}

.crear-descuento:hover .crear-descuento-gif {
    transform: scale(1.5);
}


.form-descuento{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 767px) {
    .form-descuento{
        display: grid;
        grid-template-columns: 1fr;
    }
}

.form-descuento .form-group {
    margin-bottom: 0;
    position: relative;
    width: 100%;
}

.form-descuento .form-group.title{
    width: 350px;
}

.seccion-descuento-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
    .seccion-descuento-grid{
        display: grid;
        grid-template-columns: 1fr;
    }

    .small-box h3 {
        font-size: 22px;
    }
}

.seccion-descuento-grid2{
    display: grid;
    grid-template-columns: 2fr 1fr;
}

@media (max-width: 480px) {
    .seccion-descuento-grid2{
        display: grid;
        grid-template-columns: 1fr;
    }
}

.seccion-descuento .accordion-body{
    padding: 20px 0 10px;
    margin-top: 10px;
    border-top: 1px solid #f6f6f6;
}

.accordion-collapse{
}

.seccion-descuento .fa.pull-right {
    display: none;
}

.seccion-descuento{
    background: white;
    margin-bottom: 10px;
    padding: 0;
    margin: 15px;
    -moz-box-shadow: 0px 0px 11px -3px rgba(133, 133, 133, 27%);
    box-shadow: 0px 0px 11px -3px rgb(133 133 133 / 15%);
    border-radius: 5px;
}

@media (max-width: 480px) {
    .seccion-descuento {
        margin: 5px 10px;
    }
}

.seccion-descuento-grid .seccion-descuento{
    margin: 5px 10px;
}

.seccion-descuento h2{
    font-size: 20px;
    font-weight: 500;
}

.form-group.radio-aspect {
    display: grid;
    gap: 10px;
    background: #f6f6f6;
    padding: 10px;
    border-radius: 2px;
}

.form-group.radio-aspect div{
    display: flex;
    gap: 5px;
    align-items: center;
}

.form-group.radio-aspect div label{
    font-size: 11px;
}

.form-descuento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-descuento-grid p{
    margin-bottom: 5px;
    color: #212121;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
    padding-top: 0 !important;
}

.form-descuento-producto{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #f6f6f6;
    border-radius: 2px;
    gap: 10px;
}

.form-descuento-producto div{
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-descuento-producto div button{
    border: none;
    padding: 0;
    background: none;
 }

.form-descuento-producto p{
   margin: 0;
   font-size: 11px;
   font-weight: 500;
}

.form-descuento-producto small{
    margin: 0;
    font-size: 11px;
 }

 .form-descuento-producto div.form-descuento-producto-info{
    display: grid;
    gap: 0px;
}

@media (max-width: 480px) {
    .form-descuento-producto p{
        margin: 0;
        font-size: 11px;
    }
}

.form-descuento-producto input{
    width: 92px;
}

@media (max-width: 480px) {
    .form-descuento-producto input{
        width: 80px;
    }
}
 
.form-descuento-alert{
    text-align: center;
    position: absolute;
    top: 43%;
    right: 55%;
    color: red;
}

@media (max-width: 480px) {
    .form-descuento-alert {
        text-align: center;
        color: red;
        margin-top: 30px;
        position: relative;
        top: inherit;
        right: inherit;    
    }
}


.daterangepicker.show-calendar .ranges {
    margin-top: 1px !important;
  }
  
  .daterangepicker .ranges li {
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
    background: #dde6ff;
    color: #3a6bf2;
    border: 1px solid #9bb6ff;
  }

  .daterangepicker .ranges li:hover {
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
    background: #c3d3ff !important;
    color: #3a6bf2;
    border: 1px solid #9bb6ff;
  }

  .daterangepicker .ranges li.active {
    background-color: #3a6bf2 !important;
    color: #fff;
}

@media (max-width: 480px) {
    .select2-container--open .select2-dropdown--above {
        width: 310px;
    }
}

.form-control[type=file] {
    background: white;
    height: auto;
    font-size: 11px;
}

.custom-file-upload {
    cursor: pointer;
    color: black;
    border: 2px solid #3a6bf2;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.custom-file-upload:hover {
    background-color: #ecf1ff;
}

@media (max-width: 480px) {
    .custom-file-upload {
        font-size: 11px;
    }
}

.secciones-home{
    background: white;
    padding: 5px 15px 15px;
    margin: 15px 0;
    -moz-box-shadow: 0px 0px 11px -3px rgba(133, 133, 133, 100%);
    box-shadow: 0px 0px 11px -3px rgb(133 133 133 / 100%);
    border-radius: 5px;
}


@media (max-width: 981px) {
    .error article {
        min-width: 800px;
    }

    .error article p {
        font-size: 2.5rem;
    }

    .error article button {
        font-size: 40px;
      }
}

.modal-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.edit-imagen-planograma, .upload-imagen-planograma{
    display: grid;
    gap: 5px;
    border-top: #f5f5f5 solid 1px;
    margin-top: 15px;
}

#texto_planograma{
    height: auto;
}
.seccion-whatsapp .form-select, .seccion-whatsapp input.form-control{
    width: 270px;
}

.seleccionadosList li {
    font-size: 11px;
    color: black;
    margin-bottom: 10px;
}

.seleccionadosList li .fa span {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.resultadosVariaciones .form-check-input {
    margin-top: -1px;
}

.resultadosVariaciones label {
    font-size: 11px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.small, small {
    font-size: 10px !important;
}

.menu-item-vendedores-ia{
    display: flex !important;
    align-items: center !important;
}

.icono-whatsapp-menu {
    opacity: 0.6;
}

.settings.active .icono-whatsapp-menu {
    filter: invert(31%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(75%) contrast(85%);
    transition: filter 0.3s ease;
    opacity: 1;
}

.settings.active .icono-whatsapp-menu {
    filter: invert(100%);
    opacity: 1;
}

.settings:hover .icono-whatsapp-menu {
    filter: invert(100%);
    opacity: 1;
}

.menu-item-vendedores-ia:active img {
    filter: invert(100%);
}

.iti__country-list {
    max-height: 90px !important;
}

.botones-odoo {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-right: 30px;
}

.botones-odoo a {
    text-decoration: none;
    color: #3a6bf2 !important;
    font-weight: 500;
    font-size: 12px;
    border-radius: 2px;
    padding: 8px 18px;
    background-color: #f9f9f9 !important;
    display: flex;
    gap: 10px;
}

.botones-odoo a:hover {
    background-color: #f1f5ff;
    color: #3a6bf2;
}

@media (max-width: 480px) {
    .botones-odoo {
        display: flex;
        gap: 2px;
        justify-content: flex-end;
        margin-right: 7px;
    }
    
    .botones-odoo a {
        text-decoration: none;
        color: #3a6bf2 !important;
        font-weight: 500;
        font-size: 11px;
        border-radius: 2px;
        padding: 9px 3px;
        background-color: #f9f9f9 !important;
        display: flex;
        gap: 5px;
    }
    
    .botones-odoo a:hover {
        background-color: #f1f5ff;
        color: #3a6bf2;
    }
}

/* Estilos para el botón hamburguesa */
.navbar-toggler {
    padding: 0.25rem !important;
    width: 32px;
    height: 32px;
    border: solid 1px white !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    cursor: pointer;
    z-index: 1051; /* Mayor que el sidebar */
}

.navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: 0px 0 5px rgb(206, 206, 206);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2858, 107, 242, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.bg-red,.bg-yellow,.bg-aqua,.bg-blue,.bg-light-blue,.bg-green,.bg-navy,.bg-teal,.bg-olive,.bg-lime,.bg-orange,.bg-fuchsia,.bg-purple,.bg-maroon,.bg-black,.bg-red-active,.bg-yellow-active,.bg-aqua-active,.bg-blue-active,.bg-light-blue-active,.bg-green-active,.bg-navy-active,.bg-teal-active,.bg-olive-active,.bg-lime-active,.bg-orange-active,.bg-fuchsia-active,.bg-purple-active,.bg-maroon-active,.bg-black-active,.callout.callout-danger,.callout.callout-warning,.callout.callout-info,.callout.callout-success,.alert-success,.alert-danger,.alert-error,.alert-warning,.alert-info,.label-danger,.label-info,.label-warning,.label-primary,.label-success,.modal-primary .modal-body,.modal-primary .modal-header,.modal-primary .modal-footer,.modal-warning .modal-body,.modal-warning .modal-header,.modal-warning .modal-footer,.modal-info .modal-body,.modal-info .modal-header,.modal-info .modal-footer,.modal-success .modal-body,.modal-success .modal-header,.modal-success .modal-footer,.modal-danger .modal-body,.modal-danger .modal-header,.modal-danger .modal-footer {
    color: #fff !important
}

.bg-gray {
    color: #000;
    background-color: #d2d6de !important
}

.bg-gray-light {
    background-color: #f7f7f7
}

.bg-black {
    background-color: #111 !important
}

.bg-red,.callout.callout-danger,.alert-danger,.alert-error,.label-danger,.modal-danger .modal-body {
    background-color: #dd4b39 !important
}

.bg-yellow,.callout.callout-warning,.alert-warning,.label-warning,.modal-warning .modal-body {
    background-color: #f39c12 !important
}

.bg-aqua,.callout.callout-info,.alert-info,.label-info,.modal-info .modal-body {
    background-color: #00c0ef !important
}

.bg-blue {
    background-color: #0073b7 !important
}

.bg-light-blue,.label-primary,.modal-primary .modal-body {
    background-color: #274ec9 !important
}

.bg-green,.callout.callout-success,.alert-success,.label-success,.modal-success .modal-body {
    background-color: #00a65a !important
}

.bg-gray {
    color: #000;
    background-color: #d2d6de !important
}

.bg-gray-light {
    background-color: #f7f7f7
}

.bg-black {
    background-color: #111 !important
}

.bg-red,.callout.callout-danger,.alert-danger,.alert-error,.label-danger,.modal-danger .modal-body {
    background-color: #dd4b39 !important
}

.bg-yellow,.callout.callout-warning,.alert-warning,.label-warning,.modal-warning .modal-body {
    background-color: #f39c12 !important
}

.bg-aqua,.callout.callout-info,.alert-info,.label-info,.modal-info .modal-body {
    background-color: #00c0ef !important
}

/* Table colors */

.content .btn-default {
    background-color: #e4e4e4;
}


.bg-red,.bg-yellow,.bg-aqua,.bg-blue,.bg-light-blue,.bg-green,.bg-navy,.bg-teal,.bg-olive,.bg-lime,.bg-orange,.bg-fuchsia,.bg-purple,.bg-maroon,.bg-black,.bg-red-active,.bg-yellow-active,.bg-aqua-active,.bg-blue-active,.bg-light-blue-active,.bg-green-active,.bg-navy-active,.bg-teal-active,.bg-olive-active,.bg-lime-active,.bg-orange-active,.bg-fuchsia-active,.bg-purple-active,.bg-maroon-active,.bg-black-active,.callout.callout-danger,.callout.callout-warning,.callout.callout-info,.callout.callout-success,.alert-success,.alert-danger,.alert-error,.alert-warning,.alert-info,.label-danger,.label-info,.label-warning,.label-primary,.label-success,.modal-primary .modal-body,.modal-primary .modal-header,.modal-primary .modal-footer,.modal-warning .modal-body,.modal-warning .modal-header,.modal-warning .modal-footer,.modal-info .modal-body,.modal-info .modal-header,.modal-info .modal-footer,.modal-success .modal-body,.modal-success .modal-header,.modal-success .modal-footer,.modal-danger .modal-body,.modal-danger .modal-header,.modal-danger .modal-footer {
    color: #fff !important
}

.bg-red,.callout.callout-danger,.alert-danger,.alert-error,.label-danger,.modal-danger .modal-body {
    background-color: #dd4b39 !important
}

.bg-yellow,.callout.callout-warning,.alert-warning,.label-warning,.modal-warning .modal-body {
    background-color: #f39c12 !important
}

.bg-aqua,.callout.callout-info,.alert-info,.label-info,.modal-info .modal-body {
    background-color: #00c0ef !important
}

.label-gray {
    background-color: #6B7280 !important
}

.bg-light-blue,.label-primary,.modal-primary .modal-body {
    background-color: #274ec9 !important
}

.bg-green,.callout.callout-success,.alert-success,.label-success,.modal-success .modal-body {
    background-color: #00a65a !important
}

/* Table colors end */


.home-link {
    margin: 5px 0 20px;
    font-size: 14px;
}

.iti.iti--allow-dropdown{
    width: 100%;
}

.modal-body .pasos {
 gap: 10px;
 display: flex;
 padding-top: 20px;
}


.modal-body .paso1, .modal-body .paso2 {
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    width: 50%;
}

@media (max-width: 576px) {
    .modal-body .pasos {
        display: block;
         padding-top: 0px;
    }

    .modal-body .paso1, .modal-body .paso2 {
        padding: 10px;
        background-color: #f9f9f9;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
}
