/* --------------------------------------------------
   EMPTY STATE (aucun message)
-------------------------------------------------- */
.empty-box {
    margin-top: 40px;
    padding: 50px 40px;
    text-align: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    animation: fadeUp 0.5s ease-out;
}

.empty-icon {
    font-size: 60px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.empty-box h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 600;
}

.empty-box p {
    margin-top: 10px;
    opacity: 0.75;
    font-size: 15px;
}

/* --------------------------------------------------
   LISTE DES MESSAGES
-------------------------------------------------- */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

/* --------------------------------------------------
   CARTE MESSAGE
-------------------------------------------------- */
.message-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    padding: 26px 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    animation: fadeUp 0.5s ease-out;
}

/* Header du message */
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

/* Date */
.message-date {
    font-size: 13px;
    opacity: 0.65;
}

/* Email */
.message-email {
    margin: 12px 0 10px;
    font-size: 14px;
    opacity: 0.85;
}

/* Contenu du message */
.message-text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
}

/* --------------------------------------------------
   BOUTON SUPPRIMER
-------------------------------------------------- */
.delete-btn {
    padding: 10px 16px;
    background: rgba(255,50,50,0.55);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.delete-btn:hover {
    background: rgba(255,50,50,0.75);
    transform: translateY(-2px);
}

/* --------------------------------------------------
   ANIMATION
-------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
