:root{
    --mx-width: 1320px;
    
    --color-text: #000;
    --color-link: tomato;
    --background: #FFF;
    --color-primary: #CDD642;
    --gris-oscuro: #555;
    --gris-medio: #aaa;
    --gris-claro: #ccc;
}

html{
    font-size: 10px;
    /* overflow: hidden; */
}

body{
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-size: 1.6rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--color-text);
    background-color: var(--gris-oscuro);
    padding: 2.5rem 0 2.5rem;
}



/* ############################# LAYOUT__HEADER ################################## */
.layout__header{
    position: fixed;
    top: 0;
    z-index: 10;
    color: var(--color-text);
    background-color: var(--color-primary);
    width: 100%;
    height: 2.5rem;
    font-family: monospace;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.7rem;
    line-height: 2.5rem;
}
.header__title{
    margin-left: 5px;
    overflow: hidden;
}
.header__burguer{
    margin-right: 5px;
    display: none;
}
.nav__list{
    display: flex;
    flex-direction: row;
}
.nav__item{
    padding-left: 9px;
    font-size: 1.5rem;
}
/* ############################### FIN LAYOUT HEADER ##################################*/




/*####################### ASIDE MENU RESPONSIVE  ####################################*/
.layout__aside{
    display: none;
    z-index: 10;
    position: fixed;
    width: 16rem;
    top: 2.5rem;
    right: 0;
    bottom: 0;
    text-align: right;
    overflow: auto;
    transition: all 300ms ease-in-out;
    background-color: var(--color-primary);
    height: 25rem;
    box-shadow: 10px 10px 10px gray;
    border-radius: 0 0 0 25px
}
.layout__aside--visible{
    display: block;
}
.aside__list{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}
.aside__item{
    margin-right: .5rem;
    font-size: 2rem;
}
/* ###################### FIN LAYOUT__ASIDE MENU RESPONSIVE ###########################*/




/*################################## LAYOUT__MAIN ################################### */
.layout__main{
    position: relative;
    max-width: 800px;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    background-color: var(--gris-claro);
    box-shadow: 0px 0px 15px 10px black;
}


/* ARTICULO (user/index) */
.main__article{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 96%;
    /* border: 1px solid black; */
}
.text-centre{
    text-align: center;
}
.article__img-title{
    font-size: 4rem;
}
.main__article-reverse{
    flex-direction: row-reverse;
}
.article__img img{
    width: 25rem;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    border-radius: 10px;
}
.article__img img:hover{
    box-shadow: -10px 10px 15px black;
}
.article__img-description{
    margin: 1rem;
}
/* FIN ARTICULO (user/index) */


/* LOGIN, REGISTER, RECOVER & PROFILE (user/login)(user/profile) */
.login__layout, 
.register__layout, 
.recover__layout, 
.profile__layout{
    position: relative;
    width: 50rem;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 10px var(--background);
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.register__layout,
.recover__layout{
    display: none;
}
.register__layout .fa-xmark,
.recover__layout .fa-xmark{
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    font-size: 3rem;
    text-shadow: 2px 2px 5px var(--color-text);
}
.login__title, 
.register__title, 
.recover__title{
    margin-top: 2rem;
    color: var(--gris-oscuro);
    font-size: 3.6rem;
    text-align: center;
}
.login__form, 
.register__form,
.recover__form{
    padding: 0rem 4rem 2rem ;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form__control{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.form__label{
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form__input, textarea{
    padding: 1rem;
    border-radius: 1rem;
    outline: none;
    border: 1px solid var(--gris-claro);
    color: var(--gris-oscuro);
    font-size: 1.5rem;
    font-weight: 600;
}
.form__input::placeholder{
    color: #999;
    font-weight: 600;
    font-size: 1.4rem;
}
.form__btn{
    width: 80%;
    margin: 0 auto;
    display: inline-block;
    background-color: var(--color-text);
    color: var(--color-primary);
    font-weight: 600;
    padding: 1.3rem;
    margin-top: 1.5rem;
    border-radius: 1rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition:all 300ms linear;
}
.form__btn:hover{
    background-color: var(--gris-oscuro);
}
.form__links{
    text-align: center;
}
.fa-barcode,
.fa-eye{
    position: absolute;
    right: 1rem;
    top: 2.5rem;
    cursor: pointer;
    color: var(--gris-oscuro);
    font-size: 3rem;
}
.provider-icon,
.fa-dollar,
.fa-gauge-high,
.category-icon,
.fa-star{
    position: absolute;
    right: 3rem;
    top: 2.5rem;
    color: var(--gris-oscuro);
    font-size: 3rem;
}
.fa-eye:hover{
    color: var(--color-link);
}
.alert-green{
    display: block;
    text-align: center;
    background-color: var(--color-primary);
}
.alert-red{
    display: block;
    text-align: center;
    background-color: red;
}
/*FIN LOGIN,REGISTER,RECOVER & PROFILE (user/login)(user/profile)*/


/*  PROVIDER LAYOUT (tarjetas provedores) */
.provider__layout{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 7rem;
    width: 90%;
    min-height: 90vh;
    justify-content: center;
    /* border: 1px dashed black; */
}
.provider__article{
    background-color: var(--color-primary);
    width: 220px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--gris-oscuro) -4px 6px 5px;    
    transition: all 300ms ease-in-out;
}
.provider__article:hover{
    /* translate: 0px -2px; */
    box-shadow: var(--gris-oscuro) -2px 2px 5px;    
    cursor: pointer;
}
.provider__image .fa-xmark{
    position: absolute;
    right: 7px;
    top: 5px;
    z-index: 1;
}
.provider__image .fa-xmark:hover{
    color: var(--color-link);
}
.provider__image{
    position: relative;
    height: 60%;
    background-color: var(--gris-oscuro);
    overflow: hidden;
}
.provider__img{
    width: 100%;
    position: absolute;
    transition: all 300ms ease-in-out;
}
.provider__img:hover{
    transform: translateY(-35px);
}
.provider__info{
    background-color: var(--color-primary);
}
.provider__info a{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* border: 1px solid green; */
    gap: .8rem;
}
.provider__info a:hover{
    color: var(--color-text);
}
.provider__title{
    text-align: center;
    font-weight: 600;
    background-color: var(--color-text);
    color: var(--color-primary);
}
.provider__info:hover .provider__title{
    color: var(--gris-claro);
}
.provider__description{
    display: flex;
    flex-direction: column;
    padding-left: 1.4rem;
}
.provider__tel,
.provider__email{
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 3px;
}
.provider__tel span,
.provider__email span{
    font-size: 1.5rem;
    height: 18px;
    padding-left: 5px;
}
/*FIN (tarjetasprovedores)*/

/* PROVIDER SEARCH BUTTON Y ASIDE ADD-BUTTON */
.provider__searchButton{
    top: 4rem;
}
.provider__search-layout{
    position: fixed;
    background-color: var(--background);
    /* border: 1px solid black; */
    box-shadow: 0 5px 15px 1px var(--color-text);
    top: 4rem;
    left: 4.5rem;
    width: 30rem;
    height: 5.2rem;
    border-radius: 0 50px 50px 0;
    visibility: hidden;
    transition: all 200ms ease-in-out;
    z-index: 1;
}
.provider__aside{
    position: absolute;
    z-index: 19;
    top: 4rem;
    background-color: var(--gris-claro);
    border-radius: 15px;
    box-shadow:0px 0px 10px var(--color-text);
    visibility: hidden;
}
.provider__aside-visible{
    visibility: visible;
}
.provider__searchButton,
.provider__addButton{
    z-index: 20;
    background-color: var(--color-primary);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 4rem;
    left: 2rem;
    box-shadow: 5px 5px 5px black;
    cursor: pointer;
    transition: all 300ms ease-in-out
}
.provider__searchButton{ z-index: 18;}
.provider__addButton .fa-plus{
    font-size: 2.5rem;
}
.provider__addButton:hover .fa-plus{
    color: var(--color-link);
}
.provider__addButton-rotate{
    transform: rotate(45deg);
    box-shadow: 0px 0px 5px;
}
.provider__search-layout-visible{
    visibility: visible;
}
.provider__searcher-input{
    width: 84%;
    height: 100%;
    outline: none;
    border: none;
    padding-left: 3rem;
    font-size: 2rem;
}
.hidden-provider{
    display: none;
}

/* PROFILE DEL PROVEDOR */
.provider__form-container{
    position: relative;
    width: 75%;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 10px var(--background);
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.provider__form-title{
    color: var(--gris-oscuro);
    font-size: 3.6rem;
    text-align: center;
}
.provider__profile{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20rem;
    overflow: hidden;
    margin-bottom: 2rem;
    /* border: 1px dashed blue; */
}
.provider__profile img{
    /* border: 1px solid black; */
    height: 30rem;
    transition: all 300ms ease-in-out;
}
.provider__profile img:hover{height: 25rem;}
/* PROVIDER LAYOUT FIN */


/*  PRODUCTS LAYOUT (tarjetas productos) */
.product__layout{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 3rem;
    width: 98%;
    min-height: 60vh;
    align-items: center;
    border: 1px solid black;
}
.product__botonera{
    background-color: black;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.product__botonera input{
    outline: none;
}

.product__image{
    width: 70px;
    height: 50px;
    overflow: hidden;
}
.product__img{
    width: 70px;
    height: 50px;
    transition: all 300ms ease-in-out;
}
.product__img:hover{
    transform: scale(120%);
}

.product__table{
    border-collapse: collapse;
    width: 100%;
}
.product__table th{
    text-align: left;
}
.product__fila{
    background-color: var(--gris-medio);
}
.product__table td{
    vertical-align: middle;
    font-size: 2rem;
}

.product__description{
    font-size: 2rem;
}

/* IFRAME */
.iframe{
    height: 95vh;
    width: 100vw;
}




/* SECCION DE PUNTO DE VENTAS O VENTAS */
.sale__layout{
    position: relative;
    width: 90%;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 10px var(--background);
    margin-bottom: 2rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}
.sale__group{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sale__search{
    display: flex;
    flex-direction: column;
}
.sale__search input{
    width: 100%;
    padding: 1rem;
}
.resultadoBuscar{
    border-top: 1px solid black;
}

.sale__detail{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    border: 1px solid black;
}
.detail__form{
    align-items: center;
}
.detail__imagen{
    width: 15rem;
    height: 15rem;
    border-right: 1px solid black;
    overflow: hidden;
}
.detail__img{
    width: 100%;
}

.sale__search input{
    outline: 0;
    border: none;
}
.resultadoBuscar {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    height: 11rem;
    overflow-y: scroll;
    padding-left: 1rem;
}

.form__group{
    display: flex;
    flex-direction: row;
}
.form__group input{
    width: 100px;
}
.detail__input{
    width: 100px;
}
.detail__input-cx{
    width: 170px;
}
.form__group-cx input{
    width: 170px;
}

/* tabla de venta*/
.sale__table table{
    width: 100%;
    
    border: 1p solid black;
}
.sale__table thead{
    background-color: var(--color-primary);
    text-align: left;
}

/* finish form */
.finish__form{
    border: 1px solid black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.finish_cx{
    width: 160px;
}
#btnRegistrar{
    padding: 1rem;
    cursor: pointer;
}
#detail__agregar{
    cursor: pointer;
}

/* SECCIÓN DE RESUMEN Y GRAFICAS */
.layout__resume{
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
    /* overflow: scroll; */
}
.resume__aside{
    border-right: 1px solid black;
}
.resume__aside input{
    padding: .5rem;
    outline: none;
    border: none;
}
.resume__main{
    width: 100%;
}
.resume__grafics{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.resume__folio-found{
    font-size: 2rem;
}

/* ################################# LAYOUT__MAIN  #####################################*/




/*########################### LAYOUT__FOOTER ###########################################*/
.layout__footer{
    position:fixed;
    width: 100%;
    bottom: 0;
    background-color: var(--color-primary);
    color: var(--color-text);
    text-align: center;
    line-height: 2.5rem;
    overflow: hidden;
}
/*####################### FIN LAYOUT__FOOTER ###########################################*/