

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://ogorodsnulya.ru/pl/fileservice/user/file/download/h/0f8667cb94ed7933cb5712007a42c6be.css');
/* =======Ниже стили для приложения GetCourse======= */

/* ВЕРХНЕЕ МЕНЮ УРОКА */
.chatium_body .mode-selector {
    height: 4em;
}

.chatium_body .mode-selector .link.active {
    font-size: 18px;
    color: #FFF;
    padding: 0.8em;
}

.chatium_body .mode-selector .link {
    font-size: 18px;
    padding: 0.8em;
}

/* БЛОК КОНТЕНТА УРОКА */
.chatium_body .lesson-content {
    margin-top: 15px;
}

/* БЛОК ЗАГОЛОВКА УРОКА */

.chatium_body .lesson-title h2 {
    font-style: normal;
    font-weight: 600;
    line-height: 99.33%;
    text-align: center;
    margin-top: auto;
    padding: 5px;
}

.chatium_body .time-code .text-large {
    font-size: 18px;
}

.chatium_body .xdget-lessonTitle h2, .lesson-title h2 {
    font-size: 18px;
}

.chatium_body .lesson-title {
    background: #eaedf2 !important;
    margin: 20px 11px 0 11px;
    padding: 10px 10px 20px 10px;!important;
    text-align: center;
    border-radius: 10px 10px 0 0;

}


/* ===== КНОПКИ НАВИГАЦИИ ТОЛЬКО ДЛЯ ПРИЛОЖЕНИЯ ===== */

/* Контейнер навигации */
.chatium_body div[style*="display: flex; flex-direction: row;"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: center !important;
    align-items: stretch !important;
    padding: 0 10px !important;
    border-bottom: 1px solid #eee;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 33px !important;
}

/* Все блоки-обертки */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div {
    flex: 1 1 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    min-height: 33px !important;
    overflow: hidden; /* Для скруглений */
}

/* Левый блок - текст слева */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:first-child {
    justify-content: flex-start;
    border-radius: 0 0 0 10px !important;
    margin-left: 1px;
}

/* Правый блок - текст справа */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:last-child {
    justify-content: flex-end;
    border-radius: 0 0 10px 0 !important;
    margin-right: 1px;
}

/* Если блок только один */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:only-child {
    flex: 0 1 auto !important;
    max-width: fit-content !important;
    border-radius: 0 0 10px 10px !important;
}

/* Если одна кнопка "Следующий урок" - справа */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:only-child {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Если одна кнопка "Предыдущий урок" - слева */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:only-child:has(a[href*="348829990"]) {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Общие стили ссылок */
.chatium_body div[style*="display: flex; flex-direction: row;"] a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 0 5%;
    min-width: 80px;
    background: #13b9b7 no-repeat center;
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s;
    white-space: nowrap;
    box-sizing: border-box !important;
    border: none;
    cursor: pointer;
    border-radius: 0 !important; /* Убираем скругления у ссылки */
}

/* Ховер эффект */
.chatium_body div[style*="display: flex; flex-direction: row;"] a:hover {
    background: #d69139;
    text-decoration: none;
}

/* Для одной кнопки - не растягиваем */
.chatium_body div[style*="display: flex; flex-direction: row;"] > div:only-child a {
    padding: 0 24px;
    min-width: 120px;
    width: auto;
}

.chatium_body .lesson-answers-title {
    background-color: #13b9b7
}

/*===== ТЕКСТОВЫЙ БЛОК =====*/

.chatium_body .describtion-block .lt-block-wrapper {
    padding-top: 5px!important;
}

.chatium_body .describtion-block .lt-block-wrapper .container .builder {
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    border: 1px solid rgb(255,255,255) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important; /* Увеличил непрозрачность для наглядности */
}

.chatium_body .f-header {
    font-weight: 400;
}


/*===== СТИЛИ ПРИКРЕПЛЕННЫХ ФАЙЛОВ =====*/
.chatium_body .lt-block.lt-lesson-files .lt-block-wrapper {
    padding-bottom:0;
}

.chatium_body .lt-block.lt-lesson-files .files-row .col-md-12 {
    padding: 0;
}

.chatium_body .lt-block.lt-lesson-files .table {
    margin-bottom: 0 !important;
}

.chatium_body .lt-block.lt-lesson-files .table tbody {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.chatium_body .lt-block .table.files-table tr {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    align-items: center;
    
    flex: 1 1 45%;
 
    position: relative; 
    margin: 0 10px 15px;
    padding: 15px;
    
    width: inherit;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    
    overflow: hidden !important;
    transition: all .3s;
}

.chatium_body .lt-block .table.files-table tr:hover {
    cursor: pointer;
    transform: translatey(-5px);
}

.chatium_body .lt-block .table.files-table td {
    display: block;
    border:none;
    padding:10px 10px !important;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(1) {
    flex: 1 1 80px;
    max-width: 80px;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(2) {
    flex: 1 1 90px;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(3) {
    flex: 1 1 calc(100% - 180px);
}

.chatium_body .lt-block .table.files-table tr td:nth-child(1) {
    position: relative;
 
    width: 80px !important;
    height: 80px !important;
    display: block;
    
    background:#d69139;
    border-radius: 100px;
    
    overflow: hidden;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(1)::before {
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/714517/sc/124/h/aac33ce707831c1e33306c39a19104dd.png);
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%) translatey(-50%);
    
    height: 22px;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(1) div {
    display: none;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(2) {
    vertical-align: middle;
    position: relative;
    
    font-family:  var(--main-font);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    color: #181818;
    
    text-align: center;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(3) {
    vertical-align: middle;
    padding-left:20px;
}

.chatium_body .lt-block .table.files-table tr td:nth-child(3) a {
    display: block;
    
    font-family:  var(--main-font);
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: #181818;
    word-break: break-all;
    
    text-decoration: none !important;
    transition: all .2s;
}

.chatium_body .lt-b lock .table.files-table tr td:nth-child(3) a:hover {
    color: #313131;
    text-decoration: none !important;
}

/*===== СТИЛИ РАЗДЕЛИТЕЛЯ =====*/
.chatium_body hr {
    margin-left: 20%;
    margin-right: 20%;
    border-top: 6px dotted #096e6d;
}

.chatium_body .simple-answer .new-comment-textarea {
    margin: 0px;
    height: 90px!important;
}

.chatium_body .emoji-button {
    top: 15px;
}



.chatium_body .answer-form {
    border-radius: 12px;
}

.chatium_body #LessonAnswer_answer_text {
    border-radius: 12px;
    padding: 10px;
}


.chatium_body /* Базовые стили для кнопки */
.btn-send-answer {
    background: linear-gradient(135deg, #096e6d, #13b9b7) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;#0b9291
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 12px rgba(14, 102, 71, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
}

/* Эффект при наведении */
.chatium_body .btn-send-answer:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(14, 102, 71, 0.4) !important;
    background: linear-gradient(135deg, #13b9b7, #096e6d) !important;
}

/* Эффект при нажатии */
.chatium_body .btn-send-answer:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(14, 102, 71, 0.2) !important;
}

/* Состояние disabled */
.chatium_body .btn-send-answer:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Фокус */
.chatium_body .btn-send-answer:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 102, 71, 0.3), 0 3px 12px rgba(14, 102, 71, 0.3) !important;
}
