/* =======================
   Styles généraux
======================= */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f7f3;
}

.email-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mpw-tirage a.button,
.mpw-tirage input[type="submit"] {
    transition: background-color 0.3s ease;
}


h2 {
    color: #5c4a35;
    border-bottom: 2px solid #e8e1d4;
    padding-bottom: 10px;
}

.info-section {
    background: #f5f1e9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 3px solid #a1885f;
}

.info-item {
    margin-bottom: 8px;
    display: flex;
}

.info-label {
    font-weight: bold;
    width: 160px;
}

.email-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e1d4;
    text-align: center;
}

/* =======================
   Conteneur tirage
======================= */
.mpw-tirage {
    text-align: center;
    margin-bottom: 15px;
}

/* Tirage standard (2-5 cartes) */
.mpw-tirage img {
    width: 80px;
    margin: 2px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Tirage croix */
.mpw-tirage-croix .ligne {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.mpw-tirage-croix img {
    width: 80px;
    margin: 2px;
}

/* Mini-tableau 3x3 */
.mpw-tirage-mini div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3px;
}
.mpw-tirage-mini img {
    width: 80px;
    margin: 2px;
}

/* Grand tableau Piquet 6x6 */
.mpw-tirage-piquet div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.mpw-tirage-piquet img {
    width: 60px;
    margin: 1px;
}

/* Bouton Nouveau tirage */
.mpw-tirage a.button {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}
.mpw-tirage a.button:hover {
    background-color: #005177;
}

/* Formulaire */
.mpw-tirage form {
    text-align: center;
    margin-bottom: 12px;
}
.mpw-tirage textarea {
    width: 80%;
    padding: 5px;
    font-size: 14px;
    resize: vertical;
}
.mpw-tirage select, 
.mpw-tirage input[type="text"] {
    padding: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}
.mpw-tirage input[type="submit"] {
    padding: 6px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.mpw-tirage input[type="submit"]:hover {
    background-color: #005177;
}

/* =======================
   Responsive
======================= */
@media screen and (max-width: 600px) {
    .mpw-tirage img {
        width: 50px;
        margin: 1px;
    }
    .mpw-tirage-piquet img {
        width: 40px;
        margin: 1px;
    }
  
    .mpw-tirage img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.mpw-tirage img:hover {
  transform: scale(1.05);
}

  
    .mpw-tirage textarea, .mpw-tirage select, .mpw-tirage input[type="text"] {
        width: 95%;
    }
    .mpw-tirage img {
    max-width: 100%;
    height: auto;
}

}
