/* assets/css/style.css */
body {
    font-family: 'Lato',sans-serif;;
    background: #f1f1f1;
    color: #333333;
    margin: 0;
    padding: 0;
}
    h1, h2, h3 {
        color: #0b2a63;
    }

header {
    background-color: #ffffff;
    color: #333333!important;
    padding: 20px;
    font-weight: 500!important;
    font-size: 20px!important;

}

/* Container pour aligner les éléments dans le header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1260px;  /* Limiter la largeur du contenu du header */
    margin: 0 auto;  /* Centrer le contenu horizontalement */
}

/* Texte dans le header (aligné à gauche) */
.header-text {
    font-size: 20px;
    text-align: left;
}

/* Logo à droite */
.header-logo img {
    max-width: 230px;
    height: auto;
}

/* Style du contenu */
.container {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 10px;
    background: #ffffff;
    color: #333333;
    margin-top: 20px;
}

.btn {
    background-color: #4f98bf;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 15px;
}

.message {
    background: #e6f7ff;
    border: 1px solid #b3e5ff;
    padding: 15px;
    margin: 20px 0;
}

form label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 18px; /* Taille du texte du label */
}

form input[type="text"]#codecommande {
    width: 90%; /* Tu peux mettre 400px ou 600px si tu veux une largeur fixe */
    max-width: 500px; /* Largeur maximale si tu veux qu'il s'adapte en responsive */
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 5px;
}
h2 {
     text-align: center;
}
.dropzone {border: 2px dashed rgba(0,0,0,.3)!important;}

/* Responsive Styles */
@media screen and (max-width: 780px) {
    header {
        padding: 20px 1% 5px;
    }

    footer {
        font-size: 12px; padding: 3px 10px;
    }

    /* Centrer le texte et logo sur mobile */
    .header-container {
        flex-direction: column-reverse;
        text-align: center;
        max-width: 100%;  /* Enlever la limite de largeur sur mobile */
    }

    .header-text {
        margin-top: 7px;
        width: 100%;
        text-align: center;
        border-top: 1px solid #ECECEC;
    }

    .header-text p {
        margin: 15px 0 20px;
    }

    .header-logo img {
        max-width: 60%; /* Réduire la taille du logo sur mobile */
    }

    .container {
        margin: 40px 4% 50px;
        padding: 15px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    h1 {
        font-size: 20px;
    }

    h2, h3 {
        font-size: 1.2em;
    }
    .dropzone.dz-clickable {
        margin: 0 2%;
    }
}
