/* Индикатор решения задачи */
.puzzle-solved {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #2ecc71;
}

.solved-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.solved-text {
    font-weight: bold;
    font-size: 1.1em;
}

/* Стили для отключенных кнопок навигации */
.control-buttons .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Анимация правильного решения */
@keyframes success-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.success-animation {
    animation: success-pulse 1.5s ease-out;
}

/* Анимация неправильного решения */
@keyframes error-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.error-animation {
    animation: error-shake 0.5s ease-in-out;
}
