/* --------------------------------------------- */
/*           FUENTES PERSONALIZADAS              */
/* --------------------------------------------- */

/* Fuente roboto medium regular */
@font-face {
    font-family: 'roboto_medium_regular';
    src: url('../webfonts/roboto-medium-webfont.woff2') format('woff2'),
         url('../webfonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Fuente roboto condensed light */
@font-face {
    font-family: 'roboto_condensed_light';
    src: url('../webfonts/robotocondensed-light-webfont.woff2') format('woff2'),
         url('../webfonts/robotocondensed-light-webfont.woff') format('woff'),
         url('../webfonts/robotocondensed-light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fuente roboto condensed regular */
@font-face {
    font-family: 'roboto_condensed_regular';
    src: url('../webfonts/robotocondensed-regular-webfont.woff2') format('woff2'),
         url('../webfonts/robotocondensed-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------------------- */
/*          VARIABLES DE COLORES GLOBALES        */
/* --------------------------------------------- */
:root {
    --color-two: #F5F5F5;         /* gris claro - (Fondo principal)  */
    --color-two: #24292E;         /* Fondo de la barra lateral */
    --color-three: #0366D6;       /* azul - (línea horizontal en barra lateral y titulos)*/
    --form-color: #14111A;        /* oscuro - formularios ver lista de productos */
    --accent-color: #455A64;      /* gris azulado - (encabezado, titulos selecionados e iconos del dashboard) */
    --border-color: #D8D8D8;      /* gris claro - (bordes de formularios y dashboard*/)
}

/* --------------------------------------------- */
/*           ESTILOS GENERALES DE PÁGINA         */
/* --------------------------------------------- */
body, html {
    font-family: 'roboto_condensed_light';
    width: 100vw;
    height: 100vh;
    background-color: var(--color-one); /* fondo gris claro */
    color: #333;
    font-size: 16px;
}

.full-box {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.form-neon {
    border: 1px solid var(--border-color);
    background-color: #FFF;
    padding: 15px;
    border-radius: 3px;
}

.radio-avatar-form {
    padding: 30px 7px;
}

.img-avatar-form {
    max-width: 100px;
}

/* --------------------------------------------- */
/*         PERSONALIZACIÓN DE SCROLLBARS         */
/* --------------------------------------------- */
.scroll {
    scrollbar-color: rgba(102,107,122,1) rgba(29, 30, 34, 1); /* colores del scroll */
    scrollbar-width: thin; /* scroll delgado */
}

/* --------------------------------------------- */
/*        ESTILOS PARA ICONOS DE REDES SOCIALES  */
/* --------------------------------------------- */
.developer-social > li {
    display: inline-block;
    margin: 0 7px;
}

/* --------------------------------------------- */
/*        ESTILOS DE ENCABEZADOS DE PÁGINA       */
/* --------------------------------------------- */
.page-header {
    padding: 30px 20px 60px 20px;
}
.page-header > :nth-child(1) {
    padding-bottom: 7px;
}
.page-header > :nth-child(2) {
    font-size: 18px;
}

/* --------------------------------------------- */
/*        ESTILOS PARA NAVEGACIÓN POR TABS       */
/* --------------------------------------------- */
.page-nav-tabs ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-transform: uppercase;
    list-style: none;
}
.page-nav-tabs ul li,
.page-nav-tabs ul li a {
    height: 40px;
    line-height: 40px;
}
.page-nav-tabs ul li {
    margin: 5px 20px;
}
.page-nav-tabs ul li a {
    color: var(--accent-color);
    font-size: 17px;
    min-width: 200px;
    width: auto;
    display: block;
    text-align: center;
    user-select: none;
    transition: all .2s ease-in-out;
    border-bottom: 2px solid transparent;
}
.page-nav-tabs ul li a.active,
.page-nav-tabs ul li a.active:hover {
    color: var(--color-three);
    border-bottom: 2px solid var(--color-three);
}
.page-nav-tabs ul li a:hover {
    text-decoration: none;
    color: #333;
    border-bottom: 2px solid #333;
}

/* --------------------------------------------- */
/*           PÁGINA DE ERROR 404                 */
/* --------------------------------------------- */
.container-404 {
    background: linear-gradient(to right, #004e92, #000428);
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------- */
/*       PERSONALIZACIÓN DE INPUTS Y FORMULARIOS */
/* --------------------------------------------- */
.form-control[readonly] {
    background-color: transparent;
}
.form-control:focus,
.form-control:active {
    outline: none;
    box-shadow: none;
    border: none;
}
.form-control-file:active,
.form-control-file:focus {
    outline: none;
}

/* Botones dentro de tablas */
.table .btn {
    margin-bottom: 0;
}
/* Encabezados de tabla en blanco */
.table thead th {
    color: #FFF;
}
/* Filas del cuerpo de la tabla con transición */
.table tbody tr {
    color: #333;
    transition: all .2s ease-in-out;
}

/* Estilos base para todas las tablas */
.table-dark,
.table {
    background-color: #fff;
}
.table-dark {
    border: 1px solid var(--accent-color);
}
.table-dark thead tr {
    background-color: var(--accent-color);
}
.table-dark td,
.table-dark thead th,
.table-dark th {
    border: none;
}
.table-dark tbody tr:hover {
    color: var(--color-three);
    background-color: #F5F5F5;
    font-weight: bold;
}

/* Paginación */
.page-link {
    transition: all .2s ease-in-out;
}
.page-link:hover,
.page-link.active {
    background-color: var(--color-three);
    color: #FFF;
}

/* Formularios dentro de tablas */
table form {
    margin-bottom: 0;
}

/* Validaciones con estilo en formularios */
.custom-file-control:invalid, 
.form-control:invalid {
    color: red;
    font-weight: bold;
}

/* --------------------------------------------- */
/*           ESTILOS DE FUENTES MANUALES         */
/* --------------------------------------------- */
.roboto-medium {
    font-family: 'roboto_medium_regular';
}
.roboto-condensed-light {
    font-family: 'roboto_condensed_light';
}
.roboto-condensed-regular {
    font-family: 'roboto_condensed_regular';
}

/* --------------------------------------------- */
/*               ESTILOS DE LOGIN                */
/* --------------------------------------------- */
.login-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(to right, #191654, #43C6AC); /* Fondo con gradiente (color)*/
    
     /* imagen de fondo */
    background-image: url('../assets/img/fondo-login1.jpg'); /* Ruta de tu imagen */
    background-size: cover;       /* Ajusta la imagen para cubrir todo */
    background-position: center;  /* Centra la imagen */
    background-repeat: no-repeat; /* No repite la imagen */
}

.login-content {
    width: 95%;
    max-width: 320px;
    height: auto;
    border: 1px solid var(--border-color);
    background-color: #FFF;
    border-radius: 4px;
    padding: 15px;
    color: var(--accent-color);
}

.btn-login {
    width: 90%;
    padding: 10px 0;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
    margin-top: 30px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    transition: all .2s ease-out;
}

.btn-login:hover {
    background-color: var(--color-three);
    border: 1px solid var(--color-three);
    text-decoration: none;
    color: #fff;
}

.btn-login:active,
.btn-login:focus {
    outline: none;
}

/* --------------------------------------------- */
/*           DISEÑO GENERAL DE PÁGINA            */
/* --------------------------------------------- */
.main-container {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.page-content,
.nav-lateral {
    height: 100%;
    overflow: hidden;
}

.page-content,
.nav-lateral-content {
    overflow: auto;
}

.page-content {
    position: relative;
    padding-left: 270px;
    transition: all .2s ease-in-out;
    padding-bottom: 20px;
}

/* --------------------------------------------- */
/*          NAVEGACIÓN LATERAL (SIDEBAR)         */
/* --------------------------------------------- */
.nav-lateral {
    width: 270px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all .2s ease-in-out;
    background-image: url('../assets/img/fondo-login2.jpg'); /* Fondo del sidebar */
    background-position: center center;
    background-size: cover;
}

.nav-lateral-bg {
    display: none;
}

.nav-lateral-content {
    max-width: 270px;
    height: 100%;
    background-color: rgba(36, 41, 46, .94); /* color semitransparente */
    overflow-y: scroll;
    padding-bottom: 50px;
}

.nav-lateral-bar {
    height: 3px;
    background-color: var(--color-three);
}

/* Avatar de usuario en el sidebar */
.nav-lateral-avatar {
    padding: 40px 0;
}

.nav-lateral-avatar i {
    display: none;
}

.nav-lateral-avatar img {
    width: 50%;
    margin: 0 auto;
    display: block;
    border: 4px solid #FFF;
    border-radius: 100%;
}

.nav-lateral-avatar figcaption {
    margin-top: 20px;
    color: #FFF;
}

/* Menú lateral */
.nav-lateral-menu {
    height: auto;
}

.nav-lateral-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-lateral-menu ul li {
    width: 100%;
    height: auto;
}

.nav-lateral-menu ul li a {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-decoration: none;
    color: #FFF;
    font-size: 15px;
    box-sizing: border-box;
    padding-left: 20px;
    transition: all .2s ease-in-out;
}

.nav-lateral-menu > ul > li > a.active {
    color: #FFF;
    background-color: var(--color-three);
}

.nav-lateral-menu ul li a:hover {
    color: #fff;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, .1) 50%, transparent);
}

/* Submenús */
.nav-lateral-menu ul li ul {
    display: none;
    border: 1px solid var(--color-three);
    background: rgba(20, 30, 48, .5);
}

.nav-lateral-menu ul li ul a {
    padding-left: 30px;
}

.nav-lateral-menu > ul > li > ul > li > a.active {
    color: #FFCA28;
}

.show-nav-lateral-submenu {
    display: block !important;
}

/* Iconos de flechas en los submenús */
.nav-lateral-menu .fa-chevron-down,
.nav-lateral-menu .fa-chevron-up {
    float: right;
    height: 45px;
    line-height: 45px;
    margin-right: 7px;
    transition: all .2s ease-in-out;
}



/*  Page content */
.navbar-info{
	height: 50px;
	border-bottom: 1px solid var(--border-color);
	text-align: right;
	padding-right: 10px;
}

.navbar-info a{
	color: var(--accent-color);
	height: 50px;
	min-width: 40px;
	text-align: center;
	line-height: 50px;
	display: inline-block;
	transition: all .2s ease-out;
	user-select: none;
}
.navbar-info a:hover{
	color: var(--color-three);
	background-image: radial-gradient(circle,rgba(250, 30, 78, .1), transparent 80%);
}
.navbar-info a:active,
.navbar-info a:focus{
	outline: none;
}

/*----------  Home Styles  ----------*/
.table-dashboard{
	background-color: #fff;
	color: #333;
}
.table-dashboard thead tr th{
	color: #333;
	font-weight: bolder;
	text-transform: uppercase;
}
.tile-container{
	text-align: center;
	padding: 20px 25px;
}
.tile{
	height: 200px;
	width: 200px;
	margin: 10px;
	display: inline-block;
	text-decoration: none;
	color: var(--accent-color);
	border: 1px solid var(--border-color);
	border-radius: 3px;
	user-select: none;
	transition: all .2s ease-in-out;
	background-color: #FFF;
}
.tile:hover{
	text-decoration: none;
	border-color: var(--color-three);
}
.tile:focus,
.tile:active{
	outline: none;
}
.tile-tittle{
	margin: 0;
	width: 100%;
	padding: 0;
	height: 40px;
	line-height: 40px;
	box-sizing: border-box;
	text-transform: uppercase;
	border-bottom: 1px solid var(--border-color);
	transition: all .2s ease-in-out;
	font-family: 'roboto_medium_regular';
}
.tile:hover .tile-tittle{
	color: #FFF;
	border-color: var(--color-three);
	background-color: var(--color-three);
}
.tile-icon{
	width: 100%;
	height: 160px;
	box-sizing: border-box;
	padding-top: 22px;
}
.tile-icon > i{
	font-size: 80px;
}
.tile-icon > p{
	font-family: 'roboto_medium_regular';
	height: 35px;
	line-height: 35px;
}
.tile:hover .tile-icon > i,
.tile:hover .tile-icon > p{
	color: var(--color-three);
}

/*----------  Product  ----------*/
.product-container{
	width: 100%;
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
}
.product-list,
.product-category{
	box-sizing: border-box;
	background-color: #FFF;
	border: 1px solid #E1E1E1;
}
.product-list{
	width: calc(100% - 250px);
	padding: 20px;
}
.product-category{
	flex-grow: 0;
	width: 250px;
}
.product-category h5{
	color: var(--color-three);
	padding: 15px 0;
	margin: 0;
	border-bottom: 1px solid #E1E1E1;
}
.product-category-list{
	width: 100%;
	height: auto;
}
.product-category-list a{
	padding: 10px 0;
	border-left: 4px solid transparent;
	display: block;
	color: #333;
	position: relative;
	transition: all .2s ease-in-out;
}
.product-category-list a:hover{
	text-decoration: none;
	color: var(--color-three);
	border-left: 4px solid var(--color-three);
	font-weight: bolder;
}
.img-product-list{
	max-width: 160px;
	max-height: 160px;
	min-width: 100px;
	min-height: 100px;
	border-right: 1px solid #E1E1E1;
	display: block;
	margin: 0;
	padding: 0;
	margin-right: 0 !important;
	background-color: rgba(2, 133, 255, 0.05);
}
.table-product{
	width: 100%;
}
.table-product td{
	padding: 9px 0;
}
.form-product{
	display: inline-block;
	margin: 0;
}
.media-product{
	padding: 0;
	background-color: #FFF;
	border: 1px solid #E1E1E1;
	margin-bottom: 25px;
}
.media-product:hover{
	background-color: rgba(2, 133, 255, 0.05);
}
.product-media-body{
	position: relative;
}
.media-product-title{
	color: var(--color-three);
	padding: 5px;
	margin: 0;
	border-bottom: 1px solid #E1E1E1;
}
.media-product-options{
	border-top: 1px solid #E1E1E1;
}

.img-product-info{
	max-width: 200px;
	max-height: 200px;
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
}

/*----------  Sale  ----------*/
.sale_input-cant{
	width: 40px;
	margin: 0 auto;
	padding: 0;
	padding-right: 0;
	height: auto;
	text-align: center;
}
.btn-sale-options{
	padding: 0;
	width: 35px;
	height: 35px;
	line-height: 35px;
}







/* --------------------------------------------- */
/*            ESTILOS RESPONSIVE (Media Queries) */
/* --------------------------------------------- */
@media(max-width: 992px) {
    .nav-lateral {
        width: 100%;
        overflow: hidden;
        display: none;
        background-image: none;
    }
    .nav-lateral.active {
        display: block;
        z-index: 9999;
    }
    .nav-lateral-bg {
        width: 100%;
        height: 100%;
        background-color: rgba(3, 3, 3, .4);
        position: relative;
        display: block;
        z-index: 2;
    }
    .nav-lateral-content {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 3;
        transform: translateX(-400px);
        transition: all .3s ease-in-out;
        background-color: var(--color-two);
    }
    .nav-lateral.active .nav-lateral-content {
        transform: translateX(0);
    }
    .nav-lateral-avatar i {
        height: 50px;
        width: 50px;
        line-height: 50px;
        color: #FFF;
        cursor: pointer;
        font-size: 25px;
        position: absolute;
        top: 5px;
        right: 0;
        text-align: center;
        display: block;
        transition: all .2s ease-out;
    }
    .nav-lateral-avatar i:hover {
        color: var(--color-three);
    }
    .page-content {
        padding-left: 0;
    }
    .product-container {
        flex-direction: column;
    }
    .product-list {
        padding: 15px;
        width: 100%;
    }
    .product-category {
        flex-grow: 0;
        width: 100%;
    }
}

@media(min-width: 993px) {
    .nav-lateral.active {
        transform: translateX(-400px);
    }
    .page-content.active {
        padding-left: 0;
    }
}

@media(min-width: 1200px) {
    .col-product {
        padding: 9px 0;
        text-align: center;
    }
}

/* --------------------------------------------- */
/*     NOTA: Puedes agregar aquí tus @keyframes  */
/* --------------------------------------------- */
