/* Moved unchanged from the inline <style> in Views/Tutorials/Index.cshtml */
    .video-container-background {
        background: white;
        padding-bottom: 50px;
        width: 100%;
    }



    .playlist-container {
        max-height: 500px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .playlist-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .playlist-item:hover {
            background-color: #e9ecef;
        }

        .playlist-item img {
            width: 120px;
            height: 68px;
            object-fit: cover;
            margin-right: 15px;
        }

        .playlist-item h6 {
            margin: 0;
            font-size: 14px;
            color: #333;
        }

        .playlist-item .duration {
            font-size: 12px;
            color: #777;
        }

    .main-video-container {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
    }

        .main-video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

    .playlist-header {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    video-container-backgrounf
    .video-count {
        font-size: 14px;
        color: #777;
        margin-left: 10px;
    }

/* ---------- Design refresh: smallest text 13px on phones ---------- */
@media (max-width: 575.98px) {
    .playlist-item .duration {
        font-size: 13px;
    }
}
