/**
 * Styles du modal de résultat
 * Affichage du gagnant
 */

.faca-result-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.faca-result-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faca-result-modal .faca-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: faca-result-bounce 0.5s ease;
}

@keyframes faca-result-bounce {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.faca-result-modal .faca-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 0;
    border: none;
}

.faca-result-modal .faca-modal-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin: 0;
}

.faca-result-modal .faca-modal-body {
    padding: 0;
    overflow: visible;
}

.faca-winner-display {
    text-align: center;
}

.faca-winner-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 6px solid #27ae60;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: faca-winner-pulse 1.5s ease-in-out infinite;
}

@keyframes faca-winner-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.faca-winner-name {
    font-size: 2rem;
    color: #27ae60;
    margin: 0 0 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.faca-winner-message {
    font-size: 1.1rem;
    color: #34495e;
    line-height: 1.6;
    margin: 0 0 25px;
}

.faca-result-modal .faca-modal-footer {
    text-align: center;
    padding: 0;
    border: none;
}