/*=====================================================
                    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: #fff;
}

.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;
}

.is-photo{
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.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;
    border-top: 1px solid #E1E1E1;
    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::-webkit-scrollbar{
    width: 8px;
}
.scroll::-webkit-scrollbar-thumb{
    background: rgba(102,107,122,1);
}
.scroll::-webkit-scrollbar-thumb:active,
.scroll::-webkit-scrollbar-thumb:hover{
    background: rgba(102,107,122,1);
} 
.scroll::-webkit-scrollbar-track{
    background: rgba(29, 30, 34, 1);
}
.scroll::-webkit-scrollbar-track:hover, 
.scroll::-webkit-scrollbar-track:active{
    background: rgba(29, 30, 34, 1);
}
/*=============Estilos barra superior*/
.navBar{
    background-color: #2385C4;
    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;
}
.navLateral-change{
    pointer-events: none;
    opacity: 0;
    width: 0;
    border-right: none;
}
.navLateral-body{
    background-color: #fff;
    position: relative;
}
.navLateral-body-logo{
    height: 45px;
    line-height: 45px;
    color: #fff;
    width: 100%;
    font-size: 25px;
    background-color: #2385C4;
}
.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-cr{
    width: 70%;
    font-family: "RobotoCondensedLight";
}
.navLateral-body-tittle-menu{
    height: 70px;
    line-height: 70px; 
    font-size:20px; 
    background-color: #F5F5F5;
    text-align: center;
}
.menu-principal li,
.menu-principal li a{
    display: block;
}
.menu-principal li a{
    height: 45px;
    color: #333;
    position: relative;
    transition: all .3s ease-in-out;
}
.menu-principal li a:hover{
    color: #2385C4;
}
.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: #F5F5F5;
    overflow-y: hidden;
    transition: all .3s ease-in-out;
}
.sub-menu-options li a{ border-left: 4px solid transparent; }
.sub-menu-options li a:hover{ border-left: 4px solid #2385C4; }
.btn-subMenu-show{
    background-color: rgba(0, 0, 0, 0.1);
}
.btn-subMenu-show .navLateral-body-cl,
.btn-subMenu-show .navLateral-body-cr{
    color: #2385C4;
}
.btn-subMenu-show + .sub-menu-options{
    height: auto;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.1);
}

.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;
}
.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);
}

/*=====================================================
                    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);
    }
}

/* Estilos para validación de Facturación Electrónica */
.input.is-success {
    border-color: #48c774;
    box-shadow: 0 0 0 0.125em rgba(72, 199, 116, 0.25);
}

.input.is-danger {
    border-color: #f14668;
    box-shadow: 0 0 0 0.125em rgba(241, 70, 104, 0.25);
}

.input.is-success:focus {
    border-color: #48c774;
    box-shadow: 0 0 0 0.125em rgba(72, 199, 116, 0.25);
}

.input.is-danger:focus {
    border-color: #f14668;
    box-shadow: 0 0 0 0.125em rgba(241, 70, 104, 0.25);
}

/* Tooltip para mostrar errores */
.input[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: #f14668;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: -30px;
    margin-left: 10px;
}

/* Estilos para sección de facturación electrónica */
.facturacion-electronica-section {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #2385C4;
}

.facturacion-electronica-section h3 {
    color: #2385C4;
    margin-bottom: 15px;
    font-size: 1.2em;
}

/* Indicadores de validación */
.validation-indicator {
    position: relative;
}

.validation-indicator .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.validation-indicator .icon.is-success {
    color: #48c774;
}

.validation-indicator .icon.is-danger {
    color: #f14668;
}

 .login-bg{
     background-color: #2385c4;
     background-image: url('../img/login-bg.jpg');
     background-repeat: no-repeat;
     background-position: right center;
     background-size: 55% auto;
     background-attachment: fixed;
     justify-content: flex-start;
     padding-left: 5%;
 }

.login-bg > .login{
    margin-left: 0;
}

/* ===== Login enhanced styles ===== */
.login-wrapper{
    width: 100%;
    max-width: 420px;
}

.brand-header{
    margin-bottom: 1rem;
    color: #fff;
}

.brand-title{
    font-size: 2rem;
    letter-spacing: .5px;
    margin: 0;
}

.brand-slogan{
    margin: .25rem 0 0 0;
    opacity: .9;
    font-size: .95rem;
}

.login-card{
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    border: none;
}

.brand-icon{ color: #2385c4; }

.btn-brand{
    background-color: #2385c4;
    color: #fff;
    border: none;
}
.btn-brand:hover{ filter: brightness(0.95); }

.login-help{ font-size: .85rem; color: #6b7280; }

/* Responsive tweaks */
@media (max-width: 1024px){
    .login-bg{ background-size: 50% auto; }
}
@media (max-width: 768px){
    .login-bg{
        background-position: center bottom;
        background-size: 70% auto;
        padding: 2rem;
        justify-content: center;
    }
    .login-wrapper{ max-width: 520px; }
    .brand-header{ text-align: center; }
}

/* ===== Brand row ===== */
.brand-row{
    display: flex;
    align-items: center;
    gap: .75rem;
}
.brand-logo{
    width: 38px; height: 38px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}
.login-heading{ margin-top: .25rem; margin-bottom: 1rem; }

/* Larger inputs & button */
.input-lg{ height: 46px; font-size: 1rem; }
.btn-lg{ height: 48px; font-weight: 600; letter-spacing: .3px; }

/* Card polish */
.login-card{
    padding: 1.75rem 1.5rem;
    background: #fff;
}
.login-card .label{ color: #4a4a4a; }
.login-card .input:focus{ box-shadow: 0 0 0 0.2rem rgba(35,133,196,.15); border-color: #2385C4; }

/* Layout balance on very wide screens */
@media (min-width: 1400px){
    .login-bg{ background-size: 50% auto; }
    .login-wrapper{ max-width: 460px; }
}

/* Small screens refinement */
@media (max-width: 480px){
    .brand-title{ font-size: 1.6rem; }
    .brand-slogan{ font-size: .9rem; }
    .login-card{ padding: 1.25rem; }
}

/* ===== Dashboard Modern Styles ===== */
.dashboard-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(35,133,196,0.10), 0 1.5px 4px rgba(0,0,0,0.04);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin: 1rem 0;
    transition: box-shadow 0.2s;
    border: 1px solid #e6eaf0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dashboard-card:hover {
    box-shadow: 0 8px 32px rgba(35,133,196,0.18), 0 2px 8px rgba(0,0,0,0.06);
    border-color: #2385C4;
}
.dashboard-card .icon {
    font-size: 2.5rem;
    color: #2385C4;
    margin-bottom: 0.5rem;
}
.dashboard-card .title {
    font-size: 2.2rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.dashboard-card .heading {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .dashboard-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}
@media (max-width: 600px) {
    .dashboard-card {
        padding: 1rem 0.3rem 0.7rem 0.3rem;
        font-size: 0.95rem;
    }
}

/* ===== Minimal Modern Form Styles ===== */
.formulario-modern {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(35,133,196,0.08), 0 1.5px 4px rgba(0,0,0,0.03);
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 1.5rem 0;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.formulario-modern .field {
    margin-bottom: 1.5rem;
}
.formulario-modern label {
    font-size: 1.05rem;
    color: #222;
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: block;
    letter-spacing: 0.01em;
}
.formulario-modern .input,
.formulario-modern .select select,
.formulario-modern textarea {
    border-radius: 10px;
    border: 1.5px solid #e6eaf0;
    background: #f8fafc;
    font-size: 1.08rem;
    padding: 0.85rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
    color: #222;
}
.formulario-modern .input:focus,
.formulario-modern .select select:focus,
.formulario-modern textarea:focus {
    border-color: #2385C4;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 0.12rem rgba(35,133,196,0.10);
}
.formulario-modern .select select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.formulario-modern .button,
.formulario-modern button[type="submit"] {
    background: #2385C4;
    color: #fff;
    border-radius: 8px;
    border: none;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(35,133,196,0.08);
    margin-top: 0.5rem;
}
.formulario-modern .button:hover,
.formulario-modern button[type="submit"]:hover {
    background: #17639a;
    filter: brightness(0.97);
}
.formulario-modern .input[readonly],
.formulario-modern .input[disabled] {
    background: #f1f5f9;
    color: #b0b7c3;
    border-color: #e6eaf0;
}
.formulario-modern .help {
    color: #6b7280;
    font-size: 0.97rem;
    margin-top: 0.2rem;
}
@media (max-width: 600px) {
    .formulario-modern {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}