#categoryFilter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

#filterOptions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    flex: 1 1 calc(25% - 5px);
    margin: 0;
    padding: 10px 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-btn.active {
    background-color: #4CAF50;
    color: white;
}

#voiceList {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.voice-box {
    border: 1px solid #ddd;
    padding: 10px;
    width: calc(33.33% - 10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.play-btn {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 16px;
}

.voice-info {
    flex-grow: 1;
    width: 100%;
}

.voice-info h3 {
    margin-top: 0;
    font-size: 16px;
}

.voice-info p {
    margin: 5px 0;
    font-size: 12px;
}

.voice-info p span {
    font-weight: bold;
}

.add-btn {
    margin-top: 10px;
    padding: 5px 10px;
    width: 100%;
}

#loadMoreContainer {
    text-align: center;
    margin-top: 20px;
}

#loadMoreButton {
    padding: 10px 20px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .voice-box {
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 576px) {
    .voice-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-btn {
        flex-basis: calc(50% - 5px);
    }
}

@media (max-width: 480px) {
    .category-btn {
        flex-basis: 100%;
    }
}