@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}



/* VARIABLES */

:root {
    --fuente: 'Roboto', sans-serif;
    --ancho-contenedor : 1200px;
    --color-fondo-body: #000000dc;
    --color-fuente-principal: #fff;
}


html {
    font-family: var(--fuente);
    color: var(--color-fuente-principal);
}

body{
    display: flex;
    flex-direction: column;
    background-image: url(../img/fondo_body_oscuro.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}



/* Cabecera */
header{
    width: 100%;
    height: 90px;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #7371f3da;
}

header .contenedor-cabecera{
    margin: 0px auto;
    width: 100%;
    height: 90px;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
}

header .contenedor-cabecera .logo{
    width: 90px;
    height: 90px;
}

header .contenedor-cabecera .logo img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 10px;
    box-shadow: 0 0 15px 0 rgba(248, 244, 244, 0.9);
}


nav ul li{
    display: inline-block;
    padding: 0px 20px;
}

nav ul li a{
    text-decoration: none;
    color: aliceblue;
    font-weight: bold;
    transition: .2s ease all;
}

nav ul li a:hover{
    text-decoration: none;
    color: rgb(114, 68, 240);
    
}

/* Fin Cabecera */









/* Contenido de Pagina */
.content{
    padding: 10px 30px;
    min-height: calc(100vh - 230px);
    margin: 20px auto;
    /* background-color: rgba(2, 9, 24, 0.9); */
}
/* Fin Contenido de Pagina */







/* Formularios */

.contenedor-form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    width: 95%;
    font-size: 15px;
    background-color: rgba(16, 3, 29, 0.8);
    /* height: 150px; */
    height: auto;
    padding: 10px;
    margin: 20px auto;
    border: 1px solid #7492e7;
    border-radius: 15px;
    overflow: hidden;
}

.contenedor-form .cabecera-form{

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    /* text-shadow: 2px 2px 2px rgb(149, 130, 231); */
    padding: auto;
    height: 30px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.897);
    border-bottom: 1px solid #7492e7;
}

.contenedor-form .contenido-form{
    display: flex;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    height: auto;
    padding: 15px;
}

.caja-texto-form{
    display: flex;
    padding: 5px;
    /* background-color: rgba(5, 20, 87, 0.8); */
}

.caja-texto-form label{
    width: 150px;
}

.caja-texto-form input{
    width: 100%;
    height: 30px;
    border-radius: 7px;
}


.tipo-traspaso {
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 25px;
}

.tipo_envase{
    margin: 20px;
}

.lista-envases {
    display: flex;
    gap:25px;
    padding: 0 20px;
    margin: 15px;
    font-size: 15px;
    color: #035de6;
}


.boton-enviar{
    background-color: #191ce4; /* Blue */
    border: none;
    color: white;
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.boton-enviar:hover{
    background-color: #1a1c99; /* Blue claro */
    transition: .5s;
}

/* Fin Formularios */








/* Contenedor - Tabla  */
.contenedor-tabla {
    margin: auto;
    font-size: 15px;
    width: 85%;
    max-width: 1200px;
    /* background-color: #7492e7; */
}

.cliente-deudor-false {
    color: rgb(145, 231, 59);
}

.cliente-deudor-true {
    color: rgb(238, 106, 113);
}


.tabla-lista{
    min-width: 50%;
    margin: auto;
    height: auto;
    border: 1px solid #d4ddf5;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2), -1px -1px 8px rgba(0,0,0,0.2) ;
}

.tabla-lista caption{
    font-size: 20px;
    margin-bottom: 15px;
    max-width: 1000px;
}

.tabla-lista tr{
    transition: all .2s ease-in;
}

.tabla-lista th {
    background-color: #4648c28c;
    padding: 10px;
    text-align: justify;
    border: 1px solid #c1c9f1;
}

.tabla-lista td {
    padding: 10px;
    text-align: justify;
    border-bottom: 1px solid #687ceca4;
}

.tabla-lista tr:hover{
    background-color:#7459eb42 ;
    /* transform: scale(1.01); */ 
}

.tabla-lista a{
    box-sizing: border-box;
    color: #b7c1f1;
    text-decoration: none;
    border: none;
    background-color: rgba(0, 0, 0, 0.493);
    padding: 5px;
    border-radius: 5px;
}

.tabla-lista a:hover{
    background-color: #1a1c99;
    color: aliceblue;
    transition: all .2s ease-in;
}

/* Fin Contenedor Tabla */



/* Card Lista*/
.card-cliente{
    border: 1px solid rgba(119, 105, 240, 0.5);
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
}
.card-cliente .card-cliente-header{
    padding: 15px;
}
.card-cliente-body {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 20px;
}
.card-cliente-body a {
    display: block;
    text-decoration: none;
    color: #42519b;
    transition: all 0.4s;
}
.card-cliente-body .link-add {
    color: #b6dab3c7;
}
.card-cliente-body a:hover {
    color: #ecb80d;
}
/* Fin Card Lista*/


/* Contenedor tabla Items */
.contenedor-tabla-items{
    border-radius: 10px;
    border: 1px solid #d4ddf57e;
    background-color: #03071f80;
    padding: 15px;
    max-width: 900px;
    margin: 20px auto;
    height: 100%;
}

.contenedor-tabla-items .monto-total{
    text-align: center;
}

.caja-texto-item{
    display: flex;
    background-color: coral;
}

.tabla-lista-items caption{
    margin-bottom: 6px;
}

.tabla-lista-items{
    margin: 20px auto;
    background-color: rgba(64, 63, 126, 0.671);
}

.tabla-add-items{
    margin: auto;
}

.tabla-lista-items thead{
    width: 100%;
    background-color: rgba(2, 5, 46, 0.5);
}

.tabla-lista-items tbody{
    font-size: 14px;
    width: 100%;
    background-color: rgba(1, 2, 14, 0.9);
}

.tabla-lista-items tr{
    border-bottom: 1px solid #57042079;
    transition: all .2s ease-in;
}

.tabla-lista-items td{
    padding: 4px 10px;
}

.tabla-lista-items tr:hover{
    background-color: #4244b3be;
}

.tabla-lista-items td .numero-tabla{
    width: 70px;
    text-align: right;
}

.tabla-lista-items .boton-borrar-item{
    background-color: #f82738; /* Blue */
    border: none;
    color: white;
    border-radius: 3px;
    transition: all .2s ease-in;
}

.tabla-lista-items .boton-borrar-item:hover{
    background-color: #a71723; /* Blue */
}


.boton-agregar-item{
    background-color: #a7a8e2; /* Blue */
    border: none;
    color: white;
    border-radius: 5px;
    text-align: center;
    padding: 3px;
    width: 90px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: all .2s ease-in;
}

.boton-agregar-item:hover{
    background-color: #4244b3;
}


/* Fin contenedor tabla items */










/* Contenedor Card Pedidos */

.cabecera-pedidos{
    max-width: 850px;
    color: #ecb80d;
    margin: auto;
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.cabecera-pedidos .cabecera-links{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.cabecera-pedidos a {
    color: #30b351;
    text-decoration: none;
    background-color: black;
    padding: 5px;
    border-radius: 10px;
    margin: 0 15px;
}

.cabecera-pedidos a:hover {
    background-color: #197a33;
    transition: all .3s;
    color: white;
}





    .contenedor-cards-pedidos{
        background-color: #04053dc0;
        border: 1px solid #0c4dad;
        border-radius: 10px;
        padding: 0px 10px 0px 10px;
        margin: 30px auto;
        margin-bottom: 35px;
        max-width: 710px;
    }

    .link-pedido{
        text-decoration: none;
        color: white;
    }

    .card-pedido{
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .contenedor-ultimos-pedidos{
        display: flex;
        padding: 3px;
        margin: auto;
        max-width: 710px;
        border: 1px solid rgba(105, 114, 241, 0.575);
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .contenedor-ultimos-pedidos.input-cantidad{
        background-color: rgba(0, 0, 0, 0.493);
    }
    
    .contenedor-ultimos-pedidos .boton-pendientes{
        margin: auto 5px;
        background-color: #ec1b2d;
        color: white;
        border-radius: 10px;
        cursor: pointer;
     }

     .contenedor-ultimos-pedidos .boton-ver-ultimos{
        margin: auto 5px;
        background-color: #00640e;
        color: white;
        border-radius: 10px;
        cursor: pointer;
     }



    .head-card{
        display: flex;

        height: 25px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #4345e488;
    }

    .boton-borrar-pedido{
        border-radius: 50%;
        font-size: 10px;
        background-color: #4244b3;
        color: white;
        margin: 0 10px
    }

    .boton-pagar-pedido{
        border-radius: 50%;
        font-size: 10px;
        background-color: #05d83a;
        color: white;
    }

    .card-content{
        padding: 10px 0;
    }

    .detalles{
        display: flex;
        padding: 2px 10px;
        align-items: center;
        justify-content: space-between;
        transition: all .2s ease-in;
    }
    .detalles:hover{
        background-color: #d4ddf52c;
    }
    .borrar-item{
        color: rgba(243, 96, 96, 0.795);
        font-size: 13px;
        text-decoration: none;
    }


    .foot-card{
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        height: 50px;
        border-top:  1px solid #4345e488;
    }
    
    .foot-card p{
        margin: 3px;
    }

    .foot-card .total-pedido{
        margin: 0px 5px;
        width: 25%;
        border-right: 1px solid #6062dd8c;
    }

    .foot-card .estado-pedido{
        width: 25%;
        border-right: 1px solid #6062dd8c;
    }

        .foot-card .estado-pedido .Pendiente{
            color: rgb(240, 86, 65);
        }
        .foot-card .estado-pedido .Abonado{
            color: rgb(230, 231, 126);
        }
        .foot-card .estado-pedido .Pagado{
            color: rgb(155, 226, 47);
        }

    
    .foot-card .abono-pedido{
        margin: 0px 5px;
        width: 25%;
        border-right: 1px solid #6062dd8c;
    }

    .foot-card .saldo-pedido{
        margin: 0px 5px;
        width: 25%;
    }



    .foot-pedidos{
        max-width: 850px;
        color: #ecb80d;
        margin: auto;
        text-align: center;
        margin: auto;
    }




/* Fin Contenedor Cards Pedidos */













/* Pie */
footer{
    width: 100%;
    height: 100px;
    background-color: rgba(3, 5, 49, 0.9);
    border-top: 1px solid #7371f3da;
    margin-top: auto;
}

footer .contenedor-footer{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer .contenedor-footer .logo-footer{
    height: 70px;
    width: 400px;
    display: flex;
    align-items: center;
    justify-items: center;
}

footer .contenedor-footer .logo-footer img{
    height: 50px;
    width: 50px;
    margin: auto;
    border-radius: 50%;
    box-shadow: 0 0 15px 0 rgba(248, 244, 244, 0.9);
}

footer .contenido-footer{
    width: 100%;
    height: 30px;
    width: 600px;
}

footer .contenido-footer p{
    width: 100%;
    height: 30px;
    width: 400px;
    text-align: center;
    margin: auto;
    font-size: 13px;
}

/* Fin Pie */
