/*Color de la barra donde esta el logo*/

.app-header__logo {
    background-color: #454674;
}
.app-header {
    background-color: #454674;
}
/*=======================================

/*Color de menu Amburguesa*/

.app-sidebar__toggle:focus, .app-sidebar__toggle:hover {
    background-color: #333457;
}
.app-sidebar {
    background-color: #0E0D15;
}
/*==================================================*/

/*Color del menu cuando pasamos por el hover*/

.app-menu__item.active, .app-menu__item:hover, .app-menu__item:focus {
    background: #454674;
    border-left-color: #333457;
}
/*color de menu*/

.treeview.is-expanded [data-toggle='treeview'] {
    background: #454674;
}
/*Color de sut menu*/

.treeview-menu {
    background: #333457;
}
.treeview-item.active, .treeview-item:hover, .treeview-item:focus {
    background: #25263F;
}
.sidebar-mini.sidenav-toggled .treeview:hover .app-menu__item {
    background: #25263F;
}
.app-sidebar__user-avatar {
    width: 48px;
    height: 48px;
    background: gray;
    /* padding: 6px;*/
}
/*boton personalizados*/

.btn-personalizado {
    color: #FFF;
    background-color: #454674;
    border-color: #454674;
}
.btn-personalizado:hover {
    color: #FFF;
    background-color: #6A6BA6;
    border-color: #6A6BA6;
}
.btn-personalizado:focus, .btn-personalizado.focus {
    -webkit-box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
    box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
}
.btn-personalizado.disabled, .btn-personalizado:disabled {
    color: #FFF;
    background-color: #454674;
    border-color: #454674;
}
.btn-personalizado:not(:disabled):not(.disabled):active, .btn-personalizado:not(:disabled):not(.disabled).active, .show>.btn-personalizado.dropdown-toggle {
    color: #FFF;
    background-color: #B7B8D5;
    border-color: #00564e;
}
.btn-personalizado:not(:disabled):not(.disabled):active:focus, .btn-personalizado:not(:disabled):not(.disabled).active:focus, .show>.btn-personalizado.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
    box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.5);
}
.headerRegister, .header-primary {
    background: #454674;
    color: #FFF;
}
.headerUpdate {
    background: #454674;
    color: #FFF;
}
.textcenter {
    text-align: center;
}
.textright {
    text-align: right;
}
.textleft {
    text-align: left;
}
.bootstrap-select>.dropdown-toggle {
    border: 1px solid #CCC;
}
/*Estilos login*/

#divLoading {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254, 254, 255, .65);
    z-index: 9999;
    display: none;
}
#divLoading img {
    width: 50px;
    height: 50px;
}
.required {
    color: red;
    font-size: 13pt;
    font-weight: bold;
}
/* style portada categoría */

.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 200px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/uploads/portada_categoria.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: auto;
}
.prevPortada {
    width: 100%;
    min-width: 200px;
    background: none;
}
.prevPhoto label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.prevPhoto img {
    width: 100%;
    height: 100%;
}
.upimg, .notblock {
    display: none !important;
}
.errorArchivo {
    font-size: 16px;
    font-family: arial;
    color: #cc0000;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
.delPhoto {
    color: #FFF;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: red;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 10;
}
#tbl_list_productos img {
    width: 50px;
}
.imgProductoDelete {
    width: 175px;
}
#imgCategoria {
    text-align: center;
}
#imgCategoria img {
    width: 200px;
    margin: auto;
}
/* Upload fotos*/

#containerImages {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
#containerImages>div {
    margin-right: 10px;
    margin-bottom: 8px;
}
.prevImage {
    border: 1px solid #CCC;
    width: 120px;
    height: 148px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prevImage img {
    width: 100%;
}
.inputUploadfile {
    display: none;
}
.btnUploadfile, .btnDeleteImage {
    border: 0;
    background-color: #009688;
    text-align: center;
    padding: 2px 3px;
    color: #FFF;
    font-size: 9pt;
    cursor: pointer;
    width: 100%;
}
.btnDeleteImage {
    background-color: #dc3545;
}
.prevImage .loading {
    width: 30px;
    height: 30px;
}
#celFotos img {
    width: 150px;
    margin: 10px;
}
/* TIENDA VIRTUAL */

.divmetodpago label, #divCondiciones {
    width: 100%;
    display: flex;
}
.divmetodpago label input, #divCondiciones input {
    margin-right: 15px;
}
#divCondiciones a {
    margin-left: 5px;
}
#divCondiciones label {
    margin-bottom: 0;
}
.linkw:hover {
    text-decoration: none;
}
.container-title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container-title input {
    border: 1px solid #CCC;
    padding: 4px;
    border-radius: 5px;
    margin-right: 5px;
}
.dflex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.ui-datepicker-calendar {
    display: none;
}
.page-content ul li {
    list-style-type: disc;
    margin-left: 15px;
    margin-bottom: 10px;
}
.page-content ol li {
    list-style-type: decimal;
    margin-left: 15px;
    margin-bottom: 10px;
}
.page-content ul li ul li, .page-content ol li ul li {
    list-style-type: circle;
    list-style-position: inside;
    margin-left: 15px;
}
.page-content ol li ol li, .page-content ul li ol li {
    list-style-type: lower-latin;
    list-style-position: inside;
    margin-left: 15px;
}
.page-error {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: calc(100vh - 110px);
    margin-bottom: 0;
}
.page-error h1 {
    margin: 10px;
    color: #dc3545;
    font-size: 42px;
}
.contenedorQR {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.botonF1{
    width:60px;
    height:60px;
    border-radius:100%;
    background:#464775;
    right:0;
    bottom:0;
    position:absolute;
    margin-right:16px;
    margin-bottom:16px;
    border:none;
    outline:none;
    color:#FFF;
    font-size:25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition:.3s;  
  }
  span{
    transition:.5s;  
  }
  .botonF1:hover span{
    transform:rotate(360deg);
  }
  .botonF1:active{
    transform:scale(3.3);
    outline: none;
   
  }

  .texto-encimaVerde{

    width:25px;
    height:25px;
    border-radius:100%;
    background:#059735;
    right:0;
    bottom:0;
    position:absolute;
    margin-right:10px;
    margin-bottom:10px;
    border:none;
    outline:none;
    color:#FFF;
    font-size:20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition:.3s;  
  }

  .texto-encimaRojo{

    width:25px;
    height:25px;
    border-radius:100%;
    background:#FC4237;
    right:0;
    bottom:0;
    position:absolute;
    margin-right:10px;
    margin-bottom:10px;
    border:none;
    outline:none;
    color:#FFF;
    font-size:20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition:.3s;  
  }

  .popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.popup-content {
    position: absolute;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.closeBtn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeBtn:hover,
.closeBtn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-content h5 {
    color: #dc3545; /* Un tono de lila */
    margin-bottom: 15px;
}

.popup-content p {
    color:#1E303F ; /* Otro tono de lila más oscuro */
}

/* ESTE CSS PARA MOSTRAR EL MONTO DE INVERSION */
.containers {
    display: flex;
    gap: 10px;
}

.cards {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    text-align: center;
    width: 200px;
}

.cards h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.monto-inversion {
    font-size: 18px;
    color: red;
    font-weight: bold;
}

.monto-recuperar {
    font-size: 18px;
    color: green;
    font-weight: bold;
}

.monto-ganacia {
    font-size: 18px;
    color: gray;
    font-weight: bold;
}

/* Media Query para pantallas móviles */
@media (max-width: 768px) {
    .card h2 {
        font-size: 12px;
    }

    .monto-inversion,
    .monto-recuperar,
    .monto-ganacia {
        font-size: 12px;
    }
}
/* ==================================================================== */
#productos {
    transition: all 0.5s ease;
  }

  .aviso {
    color:#DC3545;
    font-size: 12px;
    display: none;
}

.dataTables_filter input {
    width: 400px !important;
    height: 37px !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    border: 2px solid #ccc !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
}

/* Efecto hover y focus*/
.dataTables_filter input:hover {
    border-color: #888 !important;
}

.dataTables_filter input:focus {
    border-color: #555 !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.1) !important;
}

.fila-seleccionada {
    background-color: #d7ecff;
    font-weight: bold;
}

 .d-none-important {
      display: none !important;
    }
/* Animación Fade + Slide */
    .fade-slide-in {
      animation: fadeSlideIn 0.4s ease forwards;
    }

    @keyframes fadeSlideIn {
      0% {
        opacity: 0;
        transform: translateX(30px);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    ul li {
    cursor: pointer;
}

.toolbar-icon {
    transition: transform 0.2s, color 0.2s;
    cursor: pointer;
  }
  .toolbar-icon:hover {
    color: #0d6efd; /* Azul Bootstrap */
    transform: scale(1.2); /* Aumenta un poco el tamaño al pasar el mouse */
  }
