/* ===============================
   APP LAYOUT
================================ */
.vvd-app {
    display: flex;
    align-items: flex-start;
    width: 100%;

/* ===============================
   SIDEBAR
================================ */
.vvd-sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 20px;

    /* FIXED */
    height: auto;
    overflow: visible;

    position: sticky;
    top: 0;

    box-shadow: 2px 0 10px rgba(0,0,0,0.03);
}

.vvd-sidebar-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.vvd-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vvd-side-list li {
    margin-bottom: 8px;
}

.vvd-side-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    font-size: 15px;
    transition: all 0.2s ease;
}

.vvd-side-list a:hover {
    background: #f3f4f6;
}

.vvd-side-list li.active a {
    background: #2563eb;
    color: #fff;
}
.vvd-sidebar-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
}

/* ALIGN ICON + TEXT */
.vvd-side-list a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vvd-side-list li.active a {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}
/* ===============================
   MAIN CONTENT
================================ */
.vvd-main {
    flex: 1;
    padding: 30px;
    min-width: 0;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* ===============================
   BREADCRUMB
================================ */
.vvd-breadcrumb {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* ===============================
   PAGE TITLE
================================ */
.vvd-page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ===============================
   GRID
================================ */
.vvd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ===============================
   CARD
================================ */
.vvd-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #111827;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.vvd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.vvd-card h3 {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

/* ===============================
   VIDEO CARD
================================ */
.vvd-video-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    display: block;
}

/* ===============================
   COUNT
================================ */
.vvd-count {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

/* ===============================
   PLAYER
================================ */
.vvd-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

/* ===============================
   NAVIGATION
================================ */
.vvd-nav {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.vvd-nav-box {
    flex: 1;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* ===============================
   MOBILE (TABLET)
================================ */
@media (max-width: 900px) {

    .vvd-app {
        flex-direction: column;
    }

    .vvd-sidebar {
        width: 100%;
        max-width: 100%;
        height: auto;
        position: relative;
    }

    .vvd-main {
        padding: 20px;
    }

    .vvd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===============================
   MOBILE (PHONE)
================================ */
@media (max-width: 500px) {

    .vvd-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   THEME OVERRIDE (IMPORTANT)
================================ */
.container {
    max-width: 100% !important;
}
.vvd-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}