* {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 20px;
}

#nav img  {
    max-width: 1000px;
}

#nav a img {
    filter: invert(100);
    max-width: 20px;
}

#todo {
    width: 100%;
    height: 100vh;
}

#nav {
    background-color: #000000;;
    
    width: 20%;
    display: flex;
    flex-direction: column;   
    
    position: fixed; 
    height: 100vh;
    overflow-y: auto;
}

#nav .opcion {
    padding: 20px;
    text-decoration: none;
    color: white;
    font-size: 20px;
}

#nav .opcion:hover {
    background-color: #0c2445;
    transform: scale(1.05);
}

#nav .cerrar_sesion {
    margin-top: 10px;
}

main {
    padding: 30px 20px 0 calc(20% + 40px);
}

main #header_main {
    display: flex;
    justify-content: space-between;
}

main #header_main h1 {
    font-size: 50px;
}

main #header_main button {
    line-height: 0;
    margin-right: 20px;
    height: 30px;
    padding: 20px;
    color: white;
    background-color: #0c2445;
    border: solid 1px #0c2445;
    border-radius: 7px;
}

main #header_main button:hover {
    background-color: #32589c;
    border: solid 1px #32589c;
    transform: scale(1.05);
}

#tabla_container {
    margin-top: 50px;
    min-height: 200vh;
}

table {
    width: 90%;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}

th {
    text-align: left;
}

.td_img {
    font-size: 12px;
}

.td_btns {
    display: flex;
    border: none;
    justify-content: space-evenly;
    align-items: center;
}

.td_btns button {
    margin-top: 5px;
}

#recordatorio {
    width: 80%;
    position: fixed;
    bottom: 0;
    margin-left: 20%;
    padding: 20px 80px 20px 20px;
    background-color: #9fd4ff;
    color: #000000;
    font-size: 12px;
}

/* Estilos específicos para estadoPedidos */

#header_main p {
    line-height: 80px;
}

#recordatorio img {
    border: solid 1px black;
    border-radius: 100%;
    max-width: 12px;
}

#busqueda_pedido {
    width: 70%;
    height: 20px;
    padding: 10px;
    font-size: 15px;
}

/* Estilos específicos para el index */

.contenedorgeneral{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
    
}
.contenedorusuario{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 40%;
}
.contenedorusuario img{
    margin: 40px 0;
    padding: 30px;
    min-width: 150px;
}
.contenedorusuario label{
    font-size: 12px;
    align-self: flex-start;
    padding-right: 100px;
}
.contenedorusuario .texto{
    height: 30px;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 20px;
    padding: 10px 5px;
}

.contenedorusuario .submit{
    background-color: #0c2445;
    border: solid 1px #0c2445;
    color: white;
    margin-top: 20px;
    padding: 20px 30px;
    border-radius: 10px;
    width: 50%;
    height: 20px;
    line-height: 0;
}

.contenedorusuario .submit:hover {
    transform: scale(1.15);
    background-color: #6394fe;
    border: solid 1px #6394fe;
}

/* Estilos específicos para generarFactura */

.contenedor-grande {
    display: grid;
    justify-content: space;
    align-items: center;

    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.contenedor-divs{
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 5px;
    border-radius: 5px;
    width: 100%;
    background-color: #D9D9D9;
}
.contenedor-divs input{
    border-radius: 5px;
    width: 100%;
    border: solid #969696 2px; 
}

#contenido button {
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px; 
    cursor: pointer; 
    background-color: #007bff; 
    color: #fff; 
    border: none; 
    border-radius: 5px;
}