.video-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border-right: 2px solid #e0e0e0;
    padding-right: 20px;
}

.sidebar h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #444;
}

.lesson {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    color: #333;
}

.lesson:hover {
    background: #f5f5f5;
}

.lesson.active {
    background: #eaf4ff;
    font-weight: bold;
    color: #007bff;
}

.video-content {
    flex: 3;
    min-width: 400px;
}

#video-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-player {
    display: flex;
    gap: 2rem;
}

.sidebar {
    width: 280px;
    background-color: #f9f9f9;
    padding: 20px;
    border-right: 1px solid #ddd;
    height: 100%;
    overflow-y: auto;
}

.sidebar-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.module-title {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    margin-bottom: 5px;
    cursor: pointer;
    color: #2c3e50;
}

.lesson-list {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 15px;
}

.lesson-item {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.3s;
    color: #333;
}

.lesson-item:hover {
    background-color: #e3f2fd;
}

.lesson-item.active {
    background-color: #bbdefb;
    font-weight: bold;
}

.video-area {
    flex: 1;
    min-width: 600px;
}

.hidden {
    display: none;
}

.banner-header {
    background: linear-gradient(to right, #5d5a85, #2a265a);
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.banner-header h2 {
    color: white;

}

.banner-header .overlay {
    background: #2f4f4f;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.banner-header h2,
.breadcrumb-container {
    position: relative;
    z-index: 2;
}

.breadcrumb-container {
    text-align: center;
    margin-top: 10px;
}

.breadcrumb {
    display: inline-flex;
    padding: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item {
    color: #dcd8ff;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #a8a6c9;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #dcd8ff;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: #bfbfbf;
}
