/* =========================
   WRAPPER
========================= */
.wp-enigmes-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 20px;
}

/* =========================
   CARTE (base commune)
========================= */
.wp-enigmes-card {
    width: 100%;
    max-width: 600px;
}

/* =========================
   CARTE FORMULAIRE
========================= */
.wp-enigmes-card-form {
    /* pas de style supplémentaire nécessaire */
}

/* =========================
   CARTE SUCCÈS
========================= */
.wp-enigmes-card-success {
    padding: 25px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    animation: fadeInUp 0.4s ease;
}

/* =========================
   CARTE ERREUR
========================= */
.wp-enigmes-card-error {
    padding: 20px 25px;
    border-radius: 10px;
    background: #fff2f2;
    border: 1px solid #f5c6c6;
    animation: fadeInUp 0.4s ease;
}

.wp-enigmes-card-error p {
    color: #c0392b;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* =========================
   HEADER
========================= */
.wp-enigmes-card-header {
    margin-bottom: 20px;
}

.wp-enigmes-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* =========================
   BODY
========================= */
.wp-enigmes-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================
   CHAMPS
========================= */
.wp-enigmes-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wp-enigmes-field label {
    font-size: 13px;
    color: #555;
	margin-top : 25px;
}

.wp-enigmes-field select,
.wp-enigmes-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* =========================
   LIGNE INPUT + BOUTON
========================= */
.wp-enigmes-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.wp-enigmes-input-row input {
    flex: 1;
}

.wp-enigmes-input-row button {
    background: #4A4473;
    color: #fff;
    border: 1px solid #4A4473;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.wp-enigmes-input-row button:hover {
    background: #fff;
    color: #4A4473;
}

/* =========================
   RÉSULTAT
========================= */
.wp-enigmes-result {
    width: 100%;
    max-width: 600px;
}

/* =========================
   EMOJI ROW
========================= */
.wp-enigmes-emoji-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.wp-enigmes-emoji {
    font-size: 32px;
}

/* =========================
   BOUTON COPIER
========================= */
.wp-enigmes-copy {
    background: rgba(74, 68, 115, 0.85);
    border: 1px solid #4A4473;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.wp-enigmes-copy:hover {
    background: #fff;
    color: #4A4473;
}

/* =========================
   DIVIDER
========================= */
.wp-enigmes-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

/* =========================
   EXPLICATION
========================= */
.wp-enigmes-explication {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* =========================
   VIDE
========================= */
.wp-enigmes-empty {
    font-size: 14px;
    color: #888;
    text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 480px) {
    .wp-enigmes-input-row {
        flex-direction: column;
    }

    .wp-enigmes-input-row button {
        width: 100%;
    }
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
