/* CSS spécifique pour la page de replay */
.replay-controls {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    gap: 10px;
}

.replay-slider {
    flex: 1;
    margin: 0 10px;
}

#replay-progress {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

#replay-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

#replay-progress::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.game-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#replay-status, #move-counter {
    padding: 10px;
}

#move-counter {
    font-weight: bold;
    color: var(--dark-color);
}

.game-info-details {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.replay-info-section h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
}

.replay-info-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table th,
.info-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.info-table th {
    width: 30%;
    color: #666;
    font-weight: normal;
}

/* Animation pour la mise en évidence des cellules gagnantes */
.cell.winning .cell-inner {
    animation: pulse 1s infinite;
}
