/* Основные стили контейнера */
#allrecords.t-records {
    font-family: 'Montserrat', sans-serif;
    background-color: #11071c;
    color: #fff;
}

/* Стили для лекции */
.tlk-courses {
    background: #11071c;
    padding: 20px;
    border-radius: 8px;
}

.tlk-lecture__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок модуля */
.tlk-lecture__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

/* Видео-контейнер */
.tlk-lecture__video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.tlk-lecture__video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Панель пользователя */
.tlk-userbar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.tlk-userbar__user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Меню курса */
.tlk-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.tlk-menu__panel {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 30px;
    cursor: pointer;
}

.tlk-menu__panel-text {
    margin-left: 10px;
    font-weight: 600;
    color: #000;
}

/* Контейнер списка курсов */
.tlk-menu__courses {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background: #241336;
    z-index: 101;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.tlk-menu__content {
    padding: 20px;
}

/* Стили для списка модулей */
.tlk-menu__list {
    margin-top: 20px;
}

.tlk-menu__submenu-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

.tlk-menu__link {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
    flex-grow: 1;
}

.tlk-menu__link_active {
    color: #eb00ff;
    font-weight: 600;
}

/* Переключатель модулей */
.tlk-switcher {
    display: flex;
    justify-content: space-between;
    background: #11071c;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.tlk-switcher__item_next {
    text-align: right;
}

.tlk-switcher__title {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.tlk-switcher__arrow {
    vertical-align: middle;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .tlk-lecture__title {
        font-size: 20px;
    }
    
    .tlk-menu__panel {
        padding: 8px 12px;
    }
    
    .tlk-menu__panel-text {
        font-size: 14px;
    }
    
    .tlk-switcher {
        padding: 10px 15px;
    }
}

/* Стиль для заголовка лекции */
.tlk-lectures__header-title {
    color: #ffffff; /* Белый цвет текста */
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    padding: 20px 0;
}

/* Стиль для описания под заголовком */
.tlk-lectures__header-description {
    color: #ffffff; /* Белый цвет текста */
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 20px;
    opacity: 0.9; /* Легкая прозрачность для мягкого вида */
}
 /* Белый цвет названия курса */
.tlk-lectures__partition-title {
     color: #ffffff; /* Белый цвет текста */   
}

 /* Белый цвет модулей курса */
.tlk-lectures__course-card-name {
     color: #ffffff; /* Белый цвет текста */   
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .tlk-lectures__header {
        font-size: 20px;
        padding: 15px 10px;
    }
    
    .tlk-lectures__header-description {
        font-size: 14px;
        padding: 0 10px;
    }
}
