﻿bodyxxcc {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 15px;
    background: #f6f7f9;
}

.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    margin-top:10px;
}

    .toolbar button {
        padding: 8px 12px;
        border: none;
        border-radius: 6px;
        background: #222;
        color: #fff;
        cursor: pointer;
    }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding-right:10px;
    padding-left:10px;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    cursor: pointer;
}

    .video-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

.video-body {
    padding: 10px;
}

.video-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.video-meta {
    font-size: 12px;
    color: #555;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .lightbox.show {
        display: flex;
    }

.lightbox-content {
    width: 95%;
    max-width: 900px;
    background: #000;
}

.lightbox iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.search-box {
    margin-bottom: 15px;
}

    .search-box input {
        width: 50%;
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid #ccc;
        outline: none;
    }

        .search-box input:focus {
            border-color: #000;
        }
