﻿﻿body {
    background-color: #F5EBDC;
    min-width: 0;
    color: #4c3517;
    font-family: Arial;
    font-size: 16px;
    line-height: 1.4;
    padding: 5px;
    color: black;
}


.logobar {
    width: 700px;
}


.loginForm {
    margin-top: 20px;
    margin-left: 0;
    padding: 26px 24px 34px;
    font-weight: 400;
    overflow: hidden;
    background: #F5EBDC;
    border: 7px solid #502314;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    border-radius: 39px;
}

.caselladitesto {
    width: 260px;
    height: 40px;
    color: #4c3517;
    padding-left: 15px;
    font-size: 20px;
    border-color: sienna;
    border-radius: 20px;
}

.loginLabel {
    font-size: 20px;
    line-height: 1.5;
    display: inline-block;
    margin-bottom: 3px;
    color: #4c3517;
    padding: 12px;
}

.loginLabelamm {
    font-size: 12px;
    line-height: 1.5;
    display: inline-block;
    margin-bottom: 3px;
    color: #fff;
}


.btn5 {
    border-width: 5px;
    border-style: solid;
    border-radius: 3px;
    border-color: #e7c06c;
    height: 80px;
    width: 250px;
    display: inline-block;
    padding: 0.7em 1.4em;
    margin: 0 0.3em 0.3em 0;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Bell MT';
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 400;
    color: #502314;
    background-color: #F5EBDC;
    box-shadow: inset 0 -0.6em 0 -0.3em rgba(0,0,0,0.20);
    text-align: center;
    position: relative;
    cursor: pointer;
}

    .btn5:hover {
        background: #502314;
        color: #F5EBDC;
        border-color: #eee3b7;
        transition: border 0.4s ease;
    }

    .btn5:active {
        background: #F5EBDC;
        top: 0.15em;
        color: #F5EBDC;
        box-shadow: none;
    }
/*
    #intestazione {
    width: 100%;
    height: 88px;
    background-color: lightskyblue;
    color: cornsilk;
}
*/


#logo {
    height: 100px;
    width: 100px;
}

.h1 {
    color: black;
    font-size: 40px;
}



.titolo {
    font-family: Forte;
    font-size: 40px;
}



.fotoP {
    width: 70px;
    height: 70px;
}

#centro {
    height: 803px;
    width: 100%;
    background-color: white;
}


#sinistra {
    width: 50%;
    color: #4c3517;
    height: 800px;
    background: #F5EBDC;
    float: left;
}

#destra {
    width: 50%;
    color: #4c3517;
    height: 800px;
    background: #F5EBDC;
    float: right;
}

.immaginesfondo {
    width: 600px;
}

    .immaginesfondo:hover {
        width: 620px;
        box-shadow: 50px 50px 100px black;
        transition: 2s;
    }

.coloretesto {
    color: rosybrown;
}

.colonna {
    float: left;
    width: 33%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.txtQnt {
    height: 17px;
    width: 32px;
}



.sizetotale {
    font-size: 28px;
}

.sizeriepilogo {
    font-size: 40px;
}

.sizelogin {
    font-size: 30px;
}

#sinistra2 {
    width: 50%;
    color: #3c434a;
    height: 800px;
    background: #F5EBDC;
    float: left;
}

#destra2 {
    width: 50%;
    color: #3c434a;
    height: 800px;
    background: #F5EBDC;
    float: right;
}

.ordeff {
    font-size: 65px;
}

.imgfianco {
    width: 850px;
}

.titolologin {
    color: rgb(172,93,165);
    font-size: 32px;
}


.linklogin {
    background: #4c3517;
}

    .linklogin:hover {
        background: white;
    }

.linkcrediti {
    font-size: 22px;
    text-decoration: none;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    color: #4c3517;
}

.TestoOrdini {
    font-size: 80px;
}

.TestoProdottiOrdine {
    font-size: 20px;
}


#listaordini {
    margin-left: 50px;
    margin-right: 100px;
}

    #listaordini a {
        margin: 0;
        padding: 7px 7px;
        background-color: #EfEfEf;
        text-decoration: none;
    }


    #listaordini.rigaprodotto {
        margin-top: 20px;
    }



    #listaordini .hide .rigaprodotto {
        display: none;
    }

    #listaordini .show .rigaprodotto {
        display: block;
    }



.ColoreOrdineEvaso {
    color: #6DD100;
}

.ColoreOrdineDaEvadere {
    color: #FF0000;
}

.coloreValidatori {
    color: #FF0000;
}

/*yeah*/

.immaginelogoz {
    width: 180px;
    height: 180px;
    padding: 1px;
}

body {
    padding: 5px;
    color: black;
    font-family: Arial;
    background-color: #F5EBDC;
}

.freccia {
    width: 200px;
    margin-right: 200px;
    margin-top: 50px;
}


h1 {
    color: black;
    font-family: Arial;
}

h4 {
    font-size: 60px;
    margin-right: 100px;
    color: black;
    font-family: Arial;
}

h5 {
    font-size: 30px;
    margin-right: 100px;
    color: black;
    font-family: Arial;
    padding: 0px;
}

h6 {
    font-size: 20px;
    margin-right: 100px;
    color: darkred;
    font-family: Arial;
    padding: 0px;
}

#sinistraz {
    width: 10%;
    height: 180px;
    float: left;
}

#destraz {
    width: 90%;
    height: 180px;
    float: right;
    font-size: 50px;
    font-family: Perpetua;
    font-weight: bold;
}

#sopraintestazionez {
    width: 100%;
    height: 180px;
    font-size: 36px;
    opacity: 0, 5;
    margin-left: 1px;
    background-color:white
   
}


.imgsocial {
    width: 70px;
    margin-left: 20px;
}

.immaginicaffe {
    width: 500px;
    margin: 0 auto;
    display: block;
}

.immaginiz {
    width: 400px;
    margin: 0 auto;
    display: block;
}

.panelmarronez {
    color: #F5EBDC;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 26px 24px 34px;
    font-weight: 400;
    font-size: 20px;
    overflow: hidden;
    /*background: #502314;*/
    background: #5A6650;
    border: 2px solid black;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    border-radius: 20px;
}

#footerz {
    width: 100%;
    background-color:white;
    height: 700px;
    color: white;
}


a footer {
    margin-left: 40px;
    color: white;
    font-size: 18px;
}

#sottointestazionez {
    width: 100%;
    height: 40px;
    background-color: rgb(28,55,129);
    font-size: 20px;
    text-align: center;
}

    #sottointestazionez a {
        font-size: 35px;
        font-style: italic;
    }

#intestazionez {
    width: 100%;
    height: 150px;
    background-color: white;
    display: block;
}


#sopraintestazionez ul {
    list-style: none;
}

#sopraintestazionez li {
    float: left;
    margin-left: 100px;
}

a {
    color: black;
    text-decoration: none;
}

    a:hover {
        color: #455f2f;
    }


.categoriaButton {
    border-width: 5px;
    border-style: solid;
    border-radius: 3px;
    border-color: #e7c06c;
    height: 80px;
    width: 250px;
    display: inline-block;
    padding: 0.7em 1.4em;
    margin: 0 0.3em 0.3em 0;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Bell MT';
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 400;
    color: #502314;
    background-color: #F5EBDc;
    box-shadow: inset 0 -0.6em 0 -0.3em rgba(0,0,0,0.20);
    text-align: center;
    position: relative;
    cursor: pointer;
}

    .categoriaButton:hover {
        background: #90a57f;
        color: #F5EBDC;
        border-color: #eee3b7;
        transition: border 0.4s ease;
    }

    .categoriaButton:active {
        background: #F5EBDC;
        top: 0.15em;
        color: #F5EBDC;
        box-shadow: none;
    }



h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #333;
    text-align: center; /* centra il titolo */
    font-family: Perpetua;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
    background: #c5cba8;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

td {
    padding: 15px;
    font-size: 20px;
}



input, select {
    width: 250px;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Pulsante Inserisci */
.button-inserisci {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: #90a57f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .button-inserisci:hover {
        background-color: #766d5e;
    }

/* Link di ritorno */
.link-back {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    color: #726859;
    text-decoration: none;
}

    .link-back:hover {
        text-decoration: underline;
    }


/* Pulsante Modifica */
.button-modifica {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: #90a57f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .button-modifica:hover {
        background-color: #766d5e;
    }


/* Pulsante Elimina */
.button-elimina {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: #b33a3a; /* rosso */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .button-elimina:hover {
        background-color: #802828; /* rosso più scuro al passaggio */
    }



/* Stile per il campo upload immagine */
.upload-file {
    display: block;
    width: 260px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid sienna;
    border-radius: 10px;
    background-color: #fff;
    color: #4c3517;
    cursor: pointer;
}

    .upload-file:hover {
        border-color: #502314;
        background-color: #f9f4ef;
        transition: 0.3s;
    }





/* Contenitore di ogni categoria dell'area amministratore */
.amministratore-box {
    width: 400px;
    margin: 20px auto;
    border: 5px solid #4b7415;
    border-radius: 20px;
    background-color: #cbbda8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 0;
}
/* Checkbox invisibile che controlla l'apertura */

.amministratore-toggle {
    display: none;
}
/* Titolo della categoria (Gestione Utenti / Gestione Prodotti) */

.amministratore-title {
    display: block;
    padding: 20px;
    background-color: #4b7415;
    color: #F5EBDC;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Bell MT';
    text-align: center;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    letter-spacing: 1px;
}
/* Contenuto nascosto che si apre */

.amministratore-content {
    display: none;
    flex-direction: column;
    padding: 15px;
    background-color: #F5EBDc;
    border-radius: 0 0 15px 15px;
}
/* Quando il checkbox è attivo, mostra il contenuto */

.amministratore-toggle:checked + .amministratore-title + .amministratore-content {
    display: flex;
}
/* Link delle opzioni interne */

.amministratore-link {
    margin: 10px 0;
    padding: 10px;
    background-color: #A3B18A;
    color: #502314;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

    .amministratore-link:hover {
        background-color: #305014;
        color: #F5EBDC;
    }






/* Sfondo pagina login */
body {
    background-color: #A3B18A;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* Wrapper che centra il contenuto */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}
/* Rettangolo bianco centrale*/

.login-box {
    background: white;
    padding: 45px 55px; /* più spazio interno */
    border-radius: 20px;
    width: 450px; /* più largo */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    min-height: 520px; /* pannello più alto */
}
/* Logo */

.logobar {
    width: 300px;
    margin-bottom: 1px;
}
/* Titolo */

.login-title {
    font-size: 24px;
    color: #502314;
    margin-bottom: 20px;
}
/* Etichette */

.loginLabel {
    font-size: 16px;
    color: #4c3517;
    display: block; 
    margin-bottom: 5px;
}
/* Campi di testo */

.caselladitesto {
    width: 100%;
    height: 36px;
    padding-left: 12px;
    font-size: 16px;
    border: 2px solid #c9b8a5;
    border-radius: 8px;
    color: #4c3517;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.checkbox-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

    .checkbox-row label {
        white-space: nowrap; /* ← impedisce il ritorno a capo */
    }
/* Bottone login */

.btn5 {
    background-color: #90a57f;
    color: black;
    border: 2px solid #313923;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Bell MT';
    text-transform: uppercase;
    box-shadow: inset 0 -0.4em 0 -0.2em rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

    .btn5:hover {
        background-color: #729252;
        color: #F5EBDC;
        border: 2px solid #90a57f;
    }
/* Link password dimenticata */

.link-area {
    margin-bottom: 10px;
}
/* Link stile SevenSnack */

.linkcrediti {
    font-size: 16px;
    color: #4c3517;
    text-decoration: none;
}

    .linkcrediti:hover {
        color: #F5EBDC;
    }

.credits-area {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
}


/* Layout flessibile e centrato */
.intestazione-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    height: 180px;
    width: 100%;
}

/* Logo */
.intestazione-logo {
    flex: 0 0 auto;
}

/* Bottone centrale */
.intestazione-bottone {
    flex: 0 0 auto;
    text-align: center;
}

/* Bottone ORDINAZIONI grande e ovale */
.bottone-ordinazioni {
    border-radius: 50px;
    font-size: 40px;
    width: 400px;
    height: 100px;
    line-height: 100px;
    display: inline-block;
    display: flex;
    justify-content: center; /* centra orizzontalmente */
    align-items: center; /* centra verticalmente */
    text-align: center;
}

/* Menu laterale */
.intestazione-menu {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    align-items: flex-start;
}

.manuale-area {
    position: fixed;
    top: 10px;
    right: 10px;
    text-align: right;
    
}

    .manuale-area .linkcrediti {
        font-size: 22px; /* scegli tu la dimensione */
        font-weight: bold; /* opzionale, se la vuoi più evidente */
    }


.header-logo {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.logo-img {
    width: 180px; 
    height: auto;
    display: inline-block;
}

