/* 最近种子样式 */
.recent-torrent-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.recent-torrent-item:last-child {
    border-bottom: none;
}

.recent-torrent-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
    padding-left: 0.5rem;
}

.recent-torrent-title {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.recent-torrent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.recent-torrent-meta .badge {
    font-weight: 500;
}

#recentTorrents {
    /* max-height: 400px; */
    /* overflow-y: auto; */
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#refreshRecent:active i {
    animation: rotate 0.5s ease-in-out;
}
