.ts-vimeo-showcase-lesson-container {
    margin: 0 auto;
}

.ts-vimeo-showcase-lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.video-count-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #666;
    z-index: 1;
}

.search-input {
    padding: 8px 12px 8px 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f8f9fa;
    font-size: 14px;
    width: 200px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: #007cba;
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.ts-vimeo-showcase-lesson-videos {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}

.ts-vimeo-showcase-lesson-video {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    flex: 1 0 21%;
    max-width: 23%;
}

.ts-vimeo-showcase-lesson-video:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-author {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.video-player-box {
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.video-player-container {
    width: 100%;
}

.video-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0.8;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: scale(1.1);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    margin-right: auto;
}

.next-btn {
    margin-left: auto;
}

.ts-vimeo-showcase-lesson-video.active {
    box-shadow: 0 0 0 3px #AB9360;
}

@media (max-width: 768px) {
    .ts-vimeo-showcase-lesson-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .ts-vimeo-showcase-lesson-videos {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .video-thumbnail {
        height: 150px;
    }

    .ts-vimeo-showcase-lesson-video {
        flex: 1 0 47%;
        max-width: 48%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .ts-vimeo-showcase-lesson-video {
        flex: 1 0 30%;
        max-width: 32%;
    }
}
