.history-list {
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.history-list__item {
    width: calc(33.333% - 14px);
    margin-bottom: 20px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.history-list__item.item-hidden {
    opacity: 0;
}

.history-list__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.history-list__item:hover {
    transform: translateY(-5px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .history-list__item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .history-list__item {
        width: 100%;
        margin-bottom: 15px;
    }
} 


/* Лоадер */
.history-loader {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 40px;
    height: 40px;
}

.history-loader.active {
    display: flex;
}
 
.history-loader__circle {
    width: 100%;
    height: 100%;
    background-color: #56aa55;
    border-radius: 50%;
    animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}
