/*=====================================================
                    Tipografia
======================================================*/
@font-face{
    font-family: "RobotoCondensedLight";
    src: url("../webfonts/robotocondensed-light.ttf"), 
    url("../webfonts/robotocondensed-light.eot"), 
    url("../webfonts/robotocondensed-light.woff"), 
    url("../webfonts/robotocondensed-light.woff2"), 
    url("../webfonts/robotocondensed-light.svg");
}
@font-face{
    font-family: "RobotoRegular";
    src: url("../webfonts/roboto-regular.ttf"), 
    url("../webfonts/roboto-regular.eot"), 
    url("../webfonts/roboto-regular.woff"), 
    url("../webfonts/roboto-regular.woff2"), 
    url("../webfonts/roboto-regular.svg");
}
@font-face{
    font-family: "OswaldLight";
    src: url("../webfonts/oswald-light.ttf"), 
    url("../webfonts/oswald-light.eot"), 
    url("../webfonts/oswald-light.woff"), 
    url("../webfonts/oswald-light.woff2"), 
    url("../webfonts/oswald-light.svg");
}
body,html{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "RobotoRegular";
    position: relative;
    background-color: #48D5BD;
    overflow-y: hidden;
}

.main-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000428;
    background: -webkit-linear-gradient(to right, #004e92, #000428);
    background: linear-gradient(to right, #004e92, #000428);
}

.main-container > .login,
.main-container > .hero-body{
    height: auto;
    width: 100%;
    max-width: 400px;
    min-width: 300px;
}

/*=============Login estilo e-commerce*/
.login-commerce-page{
    position: relative;
    padding: 24px;
    overflow-y: auto;
    background: #0f172a url("../img/login-bg-jhoan.png") no-repeat center center;
    background-size: cover;
}
.login-commerce-page::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .20) 0%, rgba(186, 230, 253, .12) 100%),
        radial-gradient(circle at 16% 18%, rgba(34, 211, 238, 0.26) 0%, rgba(34, 211, 238, 0) 46%),
        radial-gradient(circle at 84% 14%, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 50%);
    z-index: 1;
    pointer-events: none;
}
.login-commerce-page::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 90%, rgba(34, 211, 238, 0.34) 0%, rgba(34, 211, 238, 0) 30%),
        radial-gradient(circle at 88% 84%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 32%),
        radial-gradient(circle at 50% 6%, rgba(109, 40, 217, 0.24) 0%, rgba(109, 40, 217, 0) 36%),
        linear-gradient(90deg, rgba(34, 211, 238, 0.13) 0 2px, transparent 2px 100%);
    background-size: auto, auto, auto, 120px 100%;
    mix-blend-mode: screen;
    opacity: .78;
    z-index: 1;
    pointer-events: none;
}
.login-commerce-page > *{
    position: relative;
    z-index: 2;
}
.login-commerce-topbar{
    width: min(760px, 100%);
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}
.login-commerce-topbar-inline{
    margin: 0 0 12px;
}
.login-commerce-top-btn{
    width: 100%;
    max-width: 760px;
    min-height: 78px;
    padding: 16px 26px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 58%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: .07em;
    font-size: 1.22rem;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(15, 23, 42, .38);
    box-shadow: 0 0 0 1px rgba(255,255,255,.48), 0 12px 30px rgba(34, 211, 238, .42), 0 10px 24px rgba(109, 40, 217, .36);
    transition: all .2s ease-in-out;
}
.login-commerce-top-btn i{
    font-size: 1.25rem;
}
.login-commerce-top-btn:hover{
    transform: translateY(-1px);
    background: linear-gradient(135deg, #22d3ee 0%, #1d4ed8 52%, #5b21b6 100%) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 16px 36px rgba(34, 211, 238, .5), 0 12px 28px rgba(91, 33, 182, .44);
    color: #ffffff !important;
}
.login-commerce-page > .login.login-commerce-wrap{
    width: min(520px, 100%);
    max-width: 520px;
    min-width: 300px;
    margin: 0 auto;
}
.login-commerce-banner{
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(3px);
    color: #f8fafc;
    box-shadow: 0 18px 35px rgba(2, 6, 23, .33);
    padding: 34px 30px;
}
.login-commerce-tag{
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 164, .22);
    border: 1px solid rgba(94, 234, 212, .35);
    color: #ccfbf1;
    letter-spacing: .08em;
    font-size: .72rem;
    font-weight: 700;
}
.login-commerce-tag-link{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .2s ease-in-out;
}
.login-commerce-tag-link:hover{
    color: #ffffff;
    border-color: rgba(255, 255, 255, .8);
    background: rgba(14, 165, 164, .35);
}
.login-commerce-banner h1{
    margin: 14px 0 10px;
    font-family: "OswaldLight";
    font-size: 2.2rem;
    line-height: 1.05;
    color: #ffffff;
}
.login-commerce-copy{
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 20px;
}
.login-commerce-points p{
    margin: 0 0 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dbeafe;
}
.login-commerce-points i{
    color: #2dd4bf;
}
.login-commerce-panel{
    display: flex;
    flex-direction: column;
}
.login-commerce-panel .box{
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .2);
    margin-bottom: 0;
}
.login-commerce-box{
    padding: 24px;
    position: relative;
}
.login-corner-action{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.login-corner-login-btn{
    min-height: 32px;
    padding: 0 12px !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}
.login-corner-login-btn:hover{
    background: #1e293b !important;
    border-color: #1e293b !important;
}
.login-commerce-icon{
    margin-bottom: 10px;
}
.login-commerce-icon i{
    width: 78px;
    height: 78px;
    line-height: 78px;
    font-size: 2.05rem;
    color: #0f766e;
    border-radius: 50%;
    border: 2px solid rgba(15, 118, 110, .28);
    background: #f0fdfa;
}
.login-commerce-box .label,
.login-commerce-recover .label{
    color: #334155;
}
.login-commerce-box .input,
.login-commerce-recover .input{
    border-color: #cbd5e1;
    border-radius: 10px;
}
.login-commerce-box .input:focus,
.login-commerce-recover .input:focus{
    border-color: #0ea5a4;
    box-shadow: 0 0 0 .125em rgba(14, 165, 164, .18);
}
.login-commerce-box .button.is-info{
    background-color: #0ea5a4;
    border-color: #0ea5a4;
    min-width: 160px;
    font-weight: 700;
}
.login-commerce-box .button.is-info:hover{
    background-color: #0f766e;
    border-color: #0f766e;
}
.login-commerce-box .button.js-toggle-password{
    border-radius: 10px;
    border-color: #cbd5e1;
}
.login-commerce-recover .button.is-warning{
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
    font-weight: 700;
}
.login-commerce-recover .button.is-warning:hover{
    background-color: #d97706;
    border-color: #d97706;
    color: #ffffff;
}
.login-commerce-online-btn{
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #111827 !important;
    font-weight: 700;
}
.login-commerce-online-btn:hover{
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
}

@media (max-width: 900px){
    .login-commerce-page{
        padding: 18px 14px;
    }
    .login-commerce-top-btn{
        min-height: 64px;
        font-size: .98rem;
        letter-spacing: .04em;
        border-radius: 14px !important;
    }
    .login-commerce-page > .login.login-commerce-wrap{
        max-width: 100%;
    }
}

.is-photo{
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}
.company-image, 
.company-image img{
    margin: 0 auto;
    max-width: 170px;
}
.text-condensedLight{ font-family: "RobotoCondensedLight"; }
.tittles{ font-family: "OswaldLight"; }
.full-width{
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
.list-unstyle{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
.img-responsive{
    width: 100%;
    height: auto;
}
.divider-menu-h{
    height: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
    width: 92% !important;
    margin: 0 auto !important;
}

.page-container{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

/*  Scrolls */
.scroll{
	scrollbar-color: rgba(102,107,122,1) rgb(0, 4, 39);
	scrollbar-width: thin;
}

/*=============Estilos barra superior*/
.navBar{
    background-color: #3F51B5;
    height: 45px;
    color: #fff;
    position: relative;
    margin-bottom: 30px;
}
.navBar-options{
    line-height: 45px;
    height: 45px;
    padding: 0;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-between;
}
.navBar-options .fa-exchange-alt,
.navBar-options-list{
    line-height: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
}
.navBar-options .fa-exchange-alt{
    width: 40px;
    left: 0;
    font-size: 23px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    outline: none;
    margin-left: 9px;
}
.navBar-options-list{
    right: 9px;
}
.navBar-options-list .noLink{
    cursor: inherit;
}
.navBar-options-list ul{
    height: 45px;
    display: flex;
}
.navBar-options-list ul li{
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    padding: 0 7px;
    font-size: 21px;
    user-select: none;
}
.navBar-options-list ul li{ outline: none; }
.navBar-options-list ul li a,
.navBar-options-list ul li img{
    margin: 0;
    padding: 0;
    padding-top: 0;
    margin-top: 0;
    box-sizing: border-box;
    color: #FFF;
}
.navBar-options-list ul li img{
    border: 1px solid #E1E1E1;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    margin-top: 3px;
    margin-bottom: 0;
}

/*=============Estilos en comun navegacion lateral y contenido pagina*/
.navLateral,
.pageContent,
.navLateral-body{
    height: 100%;
}
.navLateral,
.pageContent{
    overflow-y: auto;
}
/*=============Estilos navegacion lateral*/
.navLateral{
    width: 300px;
    border-right: 1px solid #E1E1E1;
    transition: all .3s ease-in-out;
    position: relative;
    background-color: #fff;
}
.navLateral-change{
    pointer-events: none;
    opacity: 0;
    width: 0;
    border-right: none;
}
.navLateral-body{
    background-color: #A1A1A1;
    position: relative;
}
.navLateral-body-logo{
    height: 45px;
    line-height: 45px;
    color: #fff;
    width: 100%;
    font-size: 25px;
    background-color: #21BCFF;
}
.navLateral-body-cl,
.navLateral-body-cr{
    box-sizing: border-box;
    height: 77px;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
}
.navLateral-body-cl{
    width: 30%;
}
.navLateral-body-cl img{
    width: 57px;
    height: 57px;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
}
.navLateral-body-cl img.nav-icon-img--sm{
    width: 20px;
    height: 20px;
    margin-top: 28px;
}
.menu-icon-productos{
    color: #27F5F5 !important;
}
.menu-productos-color,
.menu-productos-color .navLateral-body-cl,
.menu-productos-color .navLateral-body-cl i{
    color: #27F5F5 !important;
}
.navLateral-body-cr{
    width: 70%;
    font-family: "RobotoCondensedLight";
}
.navLateral-body-tittle-menu{
    height: 70px;
    line-height: 70px; 
    font-size:20px; 
    background-color: #21BCFF;
    text-align: center;
}
.menu-principal li,
.menu-principal li a{
    display: block;
    background-color: #A1A1A1;
    border-top: 1px solid #A1A1A1;
    border-bottom: 1px solid #A1A1A1;
    margin: 0 !important;
    padding: 0 !important;
}
.menu-principal li a{
    height: 45px;
    color: #121111;
    background-color: #A1A1A1;
    position: relative;
    transition: all .3s ease-in-out;
    box-shadow: none !important;
}
.menu-principal li a:hover{
    color: #fc0505;
}
.menu-principal li a div.navLateral-body-cl,
.menu-principal li a div.navLateral-body-cr{
    height: 45px;
    line-height: 45px;
}
.menu-principal li a div.navLateral-body-cl{
    text-align: center;
    font-size: 20px;
}
.btn-subMenu span.fa-chevron-down{
    position: absolute;
    top: 0;
    right: 7px;
    line-height: 45px;
    height: 45px;
    font-size: 19px;
    transition: all .3s ease-in-out;
}
.btn-subMenu + .sub-menu-options{
    transition: all .3s ease-in-out;
}
.sub-menu-options{
    height: 0;
    background-color: #21BCFF;
    overflow-y: hidden;
    transition: all .3s ease-in-out;
}
.sub-menu-options li a{
    border-left: 4px solid transparent;
    background-color: #A1A1A1;
    color: #000;
}
.sub-menu-options li a:hover{ border-left: 4px solid #000; color: #000; }
.btn-subMenu-show{
    background-color: #21BCFF !important;
}
.btn-subMenu-show .navLateral-body-cl,
.btn-subMenu-show .navLateral-body-cr{
    color: #000;
}
.btn-subMenu-show + .sub-menu-options{
    height: auto;
    overflow-y: auto;
    background-color: #21BCFF !important;
}

.btn-subMenu-show span.fa-chevron-down{
    transform: rotate(180deg);
}

/*=============Estilos contenido pagina*/
.pageContent{
    width: calc(100% - 300px);
    background-color: #fff;
    transition: all .3s ease-in-out;
}
/* Fondo y cuadros para modulos principales */
.pageContent{
    background-color: #48D5BD !important;
}
.pageContent .container,
.pageContent .container.is-fluid,
.pageContent .container.pb-6.pt-6{
    background-color: #48D5BD !important;
}
.pageContent .box{
    background-color: #48D5BD !important;
    border-color: #48D5BD !important;
}
.pageContent-change{
    width: 100%;
}
/*=============Estilos detalle de venta*/
.sale-details{
    display: flex;
    justify-content: space-between;
    transition: all .3s ease-in-out;
    padding: 5px;
}
.sale-details:hover{
    background-color: rgba(0, 0, 0, 0.07);
}

/*=============Estilos Proveedores*/
.page-providers .tabs.is-boxed ul{
    border-bottom: 1px solid #e5e7eb;
}
.page-providers .tabs.is-boxed li a{
    background: #f7f9fc;
    border-color: #e5e7eb;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    color: #475569;
    transition: all .2s ease-in-out;
}
.page-providers .tabs.is-boxed li a:hover{
    color: #1d4ed8;
    background: #eef3ff;
}
.page-providers .tabs.is-boxed li.is-active a{
    background: #ffffff;
    color: #1d4ed8;
    border-color: #1d4ed8;
}
.page-providers .box{
    border: 1px solid #e6e9ef;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    border-radius: 12px;
}
.page-providers .title.is-5{
    color: #0f172a;
}
.page-providers .field .label{
    font-weight: 600;
    color: #334155;
}
.page-providers .input,
.page-providers .select select{
    border-radius: 10px;
    border-color: #d8dde6;
    box-shadow: none;
}
.page-providers .input:focus,
.page-providers .select select:focus{
    border-color: #1d4ed8;
    box-shadow: 0 0 0 0.125em rgba(29, 78, 216, 0.15);
}
.page-providers .button.is-info{
    background-color: #2563eb;
    border-color: #2563eb;
}
.page-providers .button.is-info:hover{
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}
.page-providers .button.is-danger{
    background-color: #dc2626;
    border-color: #dc2626;
}
.page-providers .button.is-danger:hover{
    background-color: #b91c1c;
    border-color: #b91c1c;
}
.page-providers .table thead th{
    background-color: #3b4b59;
    color: #ffffff;
    border-color: #3b4b59;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.page-providers .table tbody tr:hover{
    background-color: #f5faff;
}

/*=============Estilos Kardex*/
.kardex-table thead th{
    background-color: #3b4b59;
    color: #ffffff;
    border-color: #3b4b59;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.kardex-table tbody tr:nth-child(odd){
    background-color: #f7f8fa;
}
.kardex-table tbody tr:nth-child(7n+1){
    background-color: #FEE685 !important;
}
.kardex-table tbody tr:nth-child(7n+2){
    background-color: #CAD5E2 !important;
}
.kardex-table tbody tr:nth-child(7n+3){
    background-color: #FFA07A !important;
}
.kardex-table tbody tr:nth-child(7n+4){
    background-color: #F4D03F !important;
}
.kardex-table tbody tr:nth-child(7n+5){
    background-color: #BEFF5C !important;
}
.kardex-table tbody tr:nth-child(7n+6){
    background-color: #CCFFCC !important;
}
.kardex-table tbody tr:nth-child(7n+7){
    background-color: #FFB8B8 !important;
}
.kardex-table tbody td{
    font-size: 0.85rem;
    vertical-align: middle;
}
.kardex-table tbody td:nth-child(2){
    text-transform: lowercase;
}
.kardex-table .button.is-success{
    background-color: #16a085;
    border-color: #16a085;
}
.kardex-table .button.is-success:hover{
    background-color: #138d75;
    border-color: #138d75;
}
.kardex-period-title{
    text-align: center;
    font-weight: 700;
    margin: 10px 0 16px;
    font-size: 0.95rem;
    text-transform: uppercase;
}
.kardex-resumen{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 18px;
}
.kardex-box{
    border: none;
    background-color: transparent;
}
.kardex-box-title{
    background-color: #3b3b3b;
    color: #ffffff;
    text-align: center;
    padding: 4px 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
.kardex-box-body{
    padding: 10px 6px;
    font-size: 0.82rem;
}
.kardex-row{
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: none;
}
.kardex-row:last-child{
    border-bottom: none;
}
.kardex-value{
    font-weight: 400;
}
.kardex-detail-title{
    text-align: center;
    font-weight: 700;
    margin: 12px 0 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/*=============Productos cards=============*/
.product-card{display:flex;align-items:stretch;border:1px solid #E7180B;border-radius:6px;overflow:hidden;background:#A6A09B;margin-bottom:14px;}
.product-image{width:110px;min-height:110px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;}
.product-image img{width:100%;height:100%;object-fit:contain;}
.product-body{flex:1;padding:10px 12px;}
.product-title{font-weight:700;color:#1447E6;margin-bottom:8px;display:flex;justify-content:center;text-align:center;font-size:1.1rem;}
.product-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px 16px;font-size:.85rem;color:#0C0A09;}
.product-meta .meta-item{display:flex;align-items:center;gap:6px;}
.product-options{border-top:1px solid #e5e7eb;margin-top:8px;padding-top:6px;display:flex;align-items:center;justify-content:flex-end;gap:8px;}
.product-options .options-label{margin-right:auto;color:#475569;font-weight:600;font-size:.75rem;letter-spacing:.02em;text-transform:uppercase;}

/*=====================================================
                    Media  Queries
======================================================*/
@media (max-width: 750px){
    .navLateral{
        pointer-events: none;
        opacity: 0;
        width: 0;
        border-right: none;
    }
    .navLateral-change{
        width: 300px;
        pointer-events: auto;
        opacity: 1;
        border-right: 1px solid #E1E1E1;
    }
    .pageContent{
        width: 100%;
    }
    .pageContent-change{
       width: calc(100% - 300px);
    }
}
