/* === VIDEO LESSONS PAGE === */

/* Override wrapper to remove empty state */
.gmp-video-library-wrapper {
    max-width: 860px !important;
    padding: 100px 24px 60px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.gmp-video-library-wrapper * {
    font-family: inherit !important;
}

.gmp-video-library-wrapper h1,
.gmp-video-library-wrapper h2,
.gmp-video-library-wrapper h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* === LESSON CARD === */
.vl-lesson-card {
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.vl-lesson-card__header {
    padding: 24px 28px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vl-lesson-card__title {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px;
    color: #1D1D1F !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vl-lesson-card__nav {
    display: flex;
    gap: 8px;
}

.vl-lesson-card__nav button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #E5E5EA;
    background: #FFFFFF;
    cursor: pointer;
    font-size: 16px;
    color: #6E6E73;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.vl-lesson-card__nav button:hover {
    background: #F5F5F7;
    color: #1D1D1F;
}

/* === VIDEO EMBED === */
.vl-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

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

/* === LESSON CONTENT === */
.vl-lesson-content {
    padding: 28px;
}

.vl-lesson-section {
    margin-bottom: 28px;
}

.vl-lesson-section:last-child {
    margin-bottom: 0;
}

.vl-section-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1D1D1F !important;
}

.vl-lesson-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vl-lesson-section ul li {
    position: relative !important;
    padding: 6px 0 6px 20px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #6E6E73 !important;
    list-style: none !important;
}

.vl-lesson-section ul li::before {
    content: '\2022' !important;
    position: absolute !important;
    left: 4px !important;
    color: #AEAEB2 !important;
    font-weight: bold !important;
}

.vl-lesson-section ul li em {
    font-style: italic;
    color: #6E6E73;
}

.vl-lesson-section ul ul {
    margin-top: 4px !important;
    margin-left: 12px !important;
}

.vl-lesson-section ul ul li {
    font-size: 14px !important;
}

.vl-lesson-section ul ul li::before {
    content: '\2013' !important;
}

/* Key Points subsection headers */
.vl-key-point-header {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 20px 0 10px !important;
    color: #1D1D1F !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* === COLLAPSIBLE === */
.vl-collapsible-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
}

.vl-collapsible-toggle .vl-chevron {
    font-size: 14px;
    color: #AEAEB2;
    transition: transform 0.3s;
}

.vl-collapsible-toggle.open .vl-chevron {
    transform: rotate(180deg);
}

.vl-collapsible-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.vl-collapsible-content.open {
    max-height: 5000px;
}

/* === COMPLETE BUTTON === */
.vl-lesson-complete {
    padding: 0 28px 28px;
    display: flex;
    justify-content: center;
}

.vl-btn-complete {
    background: #1D1D1F !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    text-decoration: none !important;
}

.vl-btn-complete:hover {
    background: #333 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* === PROGRESS === */
.vl-lesson-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid #E5E5EA;
    background: #FAFBFC;
    border-radius: 0 0 16px 16px;
}

.vl-progress-bar {
    flex: 1;
    height: 6px;
    background: #E8E8ED;
    border-radius: 3px;
    overflow: hidden;
}

.vl-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #00DFFC, #34D399);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.vl-progress-text {
    font-size: 13px;
    font-weight: 500;
    color: #6E6E73;
    white-space: nowrap;
}

/* === COURSE OVERVIEW LIST === */
.vl-overview {
    margin-bottom: 32px;
}

.vl-overview__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    color: #1D1D1F !important;
}

.vl-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    border: 1px solid #E5E5EA !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    color: inherit !important;
    background: #FFFFFF !important;
}

.vl-list-item:hover {
    border-color: #00DFFC !important;
    box-shadow: 0 2px 12px rgba(0, 223, 252, 0.1) !important;
    transform: translateY(-1px);
}

.vl-list-item.active {
    border-color: #00DFFC !important;
    background: rgba(0, 223, 252, 0.04) !important;
}

.vl-list-item__number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #6E6E73;
    flex-shrink: 0;
}

.vl-list-item.active .vl-list-item__number {
    background: #00DFFC;
    color: white;
}

.vl-list-item__info {
    flex: 1;
}

.vl-list-item__name {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
    color: #1D1D1F !important;
}

.vl-list-item__meta {
    font-size: 13px !important;
    color: #AEAEB2 !important;
}

.vl-list-item__status {
    font-size: 13px;
    font-weight: 500;
    color: #AEAEB2;
}

.vl-list-item.active .vl-list-item__status {
    color: #00DFFC;
}

.vl-divider {
    height: 1px;
    background: #E5E5EA;
    margin: 32px 0;
}
