/* 1. Le style général de la page */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 0;
}

/* Le conteneur principal */
header, section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto; 
    margin-right: auto;
}

h1 {
    color: #2c3e50;
    font-size: 24px;
    text-align: center;
    margin: 0;
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
button:active {
    background-color: #219150;
}

/* --- NOUVEAU : Style du bouton Logo --- */
.btn-logo {
    display: block;
    background-color: #ecf0f1;
    color: #333;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
    border: 1px dashed #bdc3c7;
}
.btn-logo input {
    display: none; /* On cache le vrai bouton moche */
}

/* --- LE STYLE DU REÇU --- */

#resultat-section {
    border: 2px dashed #2c3e50 !important;
    background-color: #fff;
    text-align: center;
    padding-top: 20px;
}

/* NOUVEAU : Le Logo sur le reçu */
#res-logo {
    max-width: 100px; /* Pas trop grand */
    max-height: 100px;
    margin-bottom: 10px;
    border-radius: 50%; /* Arrondi (optionnel) */
}

#res-boutique {
    color: #2c3e50;
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 0;
}

#res-date {
    color: #7f8c8d;
    font-weight: bold;
    font-size: 14px;
}

p {
    font-size: 16px;
    margin: 10px 0;
    color: #7f8c8d;
}

/* Couleurs Bleu et Gras */
#res-client, #res-produit {
    color: #2c3e50;
    font-weight: 800;
    font-size: 1.1em;
}

h3 {
    font-size: 22px;
    color: #2c3e50;
}

span#res-prix {
    color: #27ae60;
    font-weight: 900;
    font-size: 1.3em;
}

.signature {
    margin-top: 30px;
    font-size: 11px;
    color: #95a5a6;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 10px;
}