﻿body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a; /* Color oscuro del fondo */
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: 0.5s;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    max-height: 100vh;
    background: #0a0a0a; /* Color oscuro del fondo */
    transition: 0.3s;
    color: #E1E1E1;
    z-index: 10;
}

    #sidebar.active {
        min-width: 100px;
        max-width: 100px;
        text-align: center;
        padding: 0px 20px;
        position: fixed;
    }

        #sidebar.active .sidebar-header .lg-header {
            display: none;
        }

        #sidebar.active .sidebar-header .sm-header {
            display: block;
        }

    #sidebar .sidebar-header .sm-header {
        display: none;
    }

    #sidebar.active ul li {
        margin: 10px 0px;
    }

    #sidebar ul li a {
        border-radius: 25px;
    }

    #sidebar ul.logout li a {
        color: #616161;
    }

    #sidebar ul.logout li:hover {
        background: #616161;
        border-radius: 25px;
    }

    #sidebar ul li a.active {
        border-radius: 25px;
        color: #000000;
        background: #FFFFFF;
    }

    #sidebar ul li a:hover {
        color: #000000;
        background: #E1E1E1;
    }

    #sidebar.active ul li a svg {
        color: #616161;
        transition: 0.5s;
    }

    #sidebar.active ul li a p {
        display: none;
        transition: 0.5s;
    }


    #sidebar.active .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar ul ul li a {
        color: #E1E1E1;
    }

        #sidebar ul ul li a:hover {
            color: #616161;
            background: #E1E1E1;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #000000;
        background: #FFFFFF;
    }

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
.wrapper #content.active {
    margin-left: 0px;
}

#content {
    width: 94%;
    padding: 14px;
    margin-left: 100px;
    background: #0a0a0a; /* Color oscuro del fondo */
}

.container-body {
    min-height: 96vh;
    background-color: #f2f3f4;
    border-radius: 25px;
    padding: 10px 30px;
}

.btn-menu-coll:hover {
    background: #E1E1E1;
}

/* ---------------------------------------------------
    HOME/HOME  / HOME
------------------------------------------------------ */
.home_vector_screen {
    width: 100%;
}


/* ---------------------------------------------------
    MONITOR/TRANSACCIONES / GRAFICAS
------------------------------------------------------ */

.canva_charts {
    min-height: 332px;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 0px 0px 16px 0px;
    margin: 0px;
    /* offset-x | offset-y | blur-radius | spread-radius | color */
    -webkit-box-shadow: 0px 1px 50px -40px #000000;
    -moz-box-shadow: 0px 1px 50px -40px #000000;
    box-shadow: 0px 1px 50px -40px #000000;
}

.canva_charts_loader {
    min-height: 332px;
    background: #fcf3cf;
    border-radius: 25px;
    padding: 0px;
    margin: 0px;
    /* offset-x | offset-y | blur-radius | spread-radius | color */
    -webkit-box-shadow: 0px 1px 50px -40px #000000;
    -moz-box-shadow: 0px 1px 50px -40px #000000;
    box-shadow: 0px 1px 50px -40px #000000;
}

.canva_charts_table {
    background: #FFFFFF;
    border-radius: 25px;
    /* offset-x | offset-y | blur-radius | spread-radius | color */
    -webkit-box-shadow: 0px 1px 50px -40px #000000;
    -moz-box-shadow: 0px 1px 50px -40px #000000;
    box-shadow: 0px 1px 50px -40px #000000;
}

#up_middle_loader_cont {
    min-height: 40%;
    max-height: 40%;
}

.vector_img_on_loader {
    min-height: 60%;
    max-height: 60%;
    width: 100%;
    transform: scaleX(-1);
    border: 10px solid transparent;
    border-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 0%) 0;
}

#loadingMessage {
    color: #616161;
}

canva_charts_table {
    width: 100%
}


/* ---------------------------------------------------
    TRANSACCIONES/VOUCHER  / MODAL
------------------------------------------------------ */


#main-modal-window {
    background: #FFFFFF;
    border-radius: 25px;
    padding: 0px 0px 16px 0px;
    /* offset-x | offset-y | blur-radius | spread-radius | color */
    -webkit-box-shadow: 0px 1px 50px -40px #000000;
    -moz-box-shadow: 0px 1px 50px -40px #000000;
    box-shadow: 0px 1px 50px -40px #000000;
}

.close-modal-btn {
    border-radius: 6px 25px 6px 6px;
}


/* ---------------------------------------------------
    USUARIOSROLES/USUARIOSROLES  / CARD IMG 
------------------------------------------------------ */

#cardUserRolesManager {
    transform: scaleX(-1);
}

.back-button {
    background: #FFFFFF;
    border-radius: 6px;
    /* offset-x | offset-y | blur-radius | spread-radius | color */
    -webkit-box-shadow: 0px 1px 50px -40px #000000;
    -moz-box-shadow: 0px 1px 50px -40px #000000;
    box-shadow: 0px 1px 50px -40px #000000;
}


/* ---------------------------------------------------
    SESSION/INICIAR SESION / LOGIN
----------------------------------------------------- */
.container-login {
    margin: 0;
    padding: 0;
    height: 100vh;
}

.bothRowColums {
    height: 100vh;
}

.HeroLoginImg {
    width: 100%;
}

#heroLogin {
    background-color: #404040; /* #ee4035 Serfinsa color rojizo */
}

.imgMoaLogin {
    width: 80px;
    object-fit: cover;
}

.WelcomeTitle {
    letter-spacing: 3px;
    color: #404040;
}

#loginContainer {
    max-width: 320px;
}

.inputs label,
.inputs input {
    color: #404040;
}

.adminCuenta {
    color: #909090;
}


/* ---------------------------------------------------
    LOADER SKELETONS DE TODAS LAS TABLAS
----------------------------------------------------- */

.ColContent * {
    background: linear-gradient( 120deg, #e5e5e5 30%, #f0f0f0 38%, #f0f0f0 40%, #e5e5e5 48% );
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: load 1.5s infinite;
}

.skeletonContent {
    height: 60px;
    background-color: #e5e5e5;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

@keyframes load {
    100% {
        background-position: -100% 0;
    }
}

/* ---------------------------------------------------
    LOADER SKELETONS DE LAS GRAFICAS
----------------------------------------------------- */

.ChartSkeleton,
.ChartSkeleton1,
.ChartSkeleton2 {
    height: 100%;
    padding: 4px 16px;
}

.AnimContent * {
    background: linear-gradient( 90deg, #e5e5e5 30%, #f0f0f0 38%, #f0f0f0 40%, #e5e5e5 48% );
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: load 1.5s infinite;
}

.chartSkeletonContent {
    width: 60px;
    margin: 0px 12px;
    background-color: #e5e5e5;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 10px;
}

.cskc1 {
    height: 110px;
    margin-top: 90px;
}

.cskc2 {
    height: 140px;
    margin-top: 60px;
}

.cskc3 {
    height: 170px;
    margin-top: 30px;
}

.cskc4 {
    height: 200px;
    margin-top: 0px;
}



/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: -250px;
        max-width: -250px;
        text-align: center;
        margin-left: -250px !important;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar {
        margin-left: 0;
    }

    #sidebarCollapse p {
        display: none;
    }

    #content {
        width: 100%;
        padding: 0px;
    }

    .container-body {
        padding: 0px 0px;
        border-radius: 4px;
    }

    .canva_charts {
        min-height: 276px;
    }

    .canva_charts_loader {
        min-height: 346px;
        margin: 0px 16px;
    }

    #up_middle_loader_cont {
        min-height: 30%;
        max-height: 30%;
    }

    .vector_img_on_loader {
        min-height: 70%;
        max-height: 70%;
        width: 60%;
    }

    #heroLogin {
        display: none;
    }
}
