/* === centre_pokemon.css === */

#centre-container {
    width: 674px;
    background: transparent;
    margin: 20px auto 0 auto;
    float: none;
    padding: 20px 0;
    box-sizing: border-box;
}

.centre-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.joelle-container {
    flex-shrink: 0;
}

.joelle-image {
    width: 225px;
    height: 298px;
    border: 2px solid #9b4dff;
    border-radius: 15px;
    box-shadow: 0 0 15px #9b4dff, 0 0 30px rgba(155, 77, 255, 0.3), inset 0 0 10px rgba(155, 77, 255, 0.1);
    object-fit: cover;
}

.actions-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Style exactement comme le bouton déconnexion */
.neon-rectangle {
    width: 100%;
    min-height: 120px;
    background: transparent;
    border: 2px solid #9b4dff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 0 8px #9b4dff;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.neon-rectangle:hover {
    background: #9b4dff;
    box-shadow: 0 0 15px #9b4dff;
    transform: translateY(-2px);
}

.neon-rectangle:hover .soin-text,
.neon-rectangle:hover .echange-titre,
.neon-rectangle:hover .echange-sous-titre {
    color: #000000;
}

.soin-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    color: #333;
    text-transform: uppercase;
}

.echange-titre {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
}

.echange-sous-titre {
    font-size: 14px;
    text-align: center;
    color: #333;
    line-height: 1.3;
}

.message-confirmation {
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    display: none;
    border: 2px solid;
}

.message-confirmation.success {
    background: #d4edda;
    color: #155724;
    border-color: #27ae60;
}

.message-confirmation.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #c0392b;
}

.message-confirmation.info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #2980b9;
}

/* Pour éviter les heurts avec le contenu existant */
.spacer {
    clear: both;
    height: 0;
}