::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    min-height: 20px;
    border: solid transparent;
    border-width: 1px 3px;
    border-radius: 6px;
    background-clip: content-window;
    box-shadow: inset 0 0 0 10px rgba(121, 94, 162,0.85);
}

body, html{ 
    font-family: 'Inter', sans-serif;
    font-weight: 400; background-color: #fff;
    font-size: 16px;
}

a{
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}
a:hover{
    color: #158dc9;
}

.btn-theme{
    color: #ffffff; font-weight: 600;
    border-radius: 30px;
    background: linear-gradient(90deg, #0C91CD 0%, #86599E 100%);
    border: 1px solid #0C91CD;
    padding: 10px 30px;
    font-size: 16px;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    outline: none !important;
}
.btn-theme:hover{
    opacity: 0.85;
    background: linear-gradient(90deg, #86599E 0%, #0C91CD 100%);
}

.btn-outline{
    color: #000;
    border: 1px solid #0c91cc;
    font-weight: bold;
    border-radius: 18px;
}

.btn-gray{
    color: #ffffff; font-weight: 600;
    border-radius: 30px;
    background: #B2B2B2;
    border: 1px solid #B2B2B2;
    padding: 10px 30px;
}
    .btn-theme.w{
        border: 1px solid #fafafa;
    }
    .btn-theme:hover{
        color: #fafafa;
        opacity: 0.85;
    }

.btn-large{
    padding: 20px 40px;
    font-size: 16px;
}

body.app{
    background-color: #ffffff;
    background-image: url('../images/body-logged.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

header.default{
    position: absolute;
    width: 100%;
    padding-top: 25px;
    z-index: 10;
}
header.app{
    padding-top: 25px;
}
    .navigator{
        margin-top: 10px;
        display: flex;
        gap: 25px;
        justify-content: center;
    }
        .navigator-item{

        }
        .navigator-item a{
            color: #ffffff;
            font-size: 14px; font-weight: 700;
            text-transform: uppercase;
        }

    .switcher{
        margin-top: 10px;
        display: flex;
        gap: 7px;
        justify-content: center;
    }
        .switcher-item{

        }
        .switcher-item a{
            color: #ffffff;
            font-size: 14px; font-weight: 400;
            text-transform: uppercase;
        }
        .switcher-item.active a{
            color: #C2C2C2;
        }

    header.app .switcher-item a{
        color: #999;
    }
    header.app .switcher-item.active a{
        color: #111;
    }   

    header .login{
        text-align: right;
    }
    header .login a{
        width: 170px;
    }

footer{
    background: linear-gradient(0deg, #0F314A 0%, #1C5781 100%);
    padding: 40px 0px;
}
    footer .logotype{
        margin-bottom: 20px;
    }
    footer .copyright{
        color: #717171;
        font-size: 12px;
        font-weight: 500;
    }
    footer a{
        color: #fff;
    }

.footer-menu{

}
    .footer-menu-item{
        margin-bottom: 7px;
    }
    .footer-menu-item a{
        font-size: 16px;
        font-weight: 500;
    }
    .footer-phone a{
        font-size: 20px;
        font-weight: 600;
    }

    footer .btn{
        width: 220px;
        padding: 15px 35px;
        border: none !important;
    }

h3{
    font-weight: 400; font-size: 33px;
}

#visual{
    background-color: #fafafa;
    background-image: url('../images/visual-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    min-height: 710px;
}

    .visual-box{
        padding-top: 150px;
        color: #fff;
    }
        .visual-box h1{
            font-size: 64px; font-weight: 700;
            text-transform: uppercase;
            line-height: 78px;
        }
        .visual-box h2{
            font-size: 28px; font-weight: 600;
            line-height: 34px;
        }
        .visual-ctrl{
            padding-top: 40px;
        }
        .visual-ctrl a{
            margin-right: 15px;
            padding: 15px 30px;
            min-width: 230px;
        }

#about{
    padding: 50px 0px;
    margin-bottom: -100px;
}
    #about h3{
        margin-bottom: 60px;
    }
    #about h3 strong{
        font-size: 42px; font-weight: 600;
        text-transform: uppercase;
        display: block;
    }

    .about-item{
        display: flex;
        margin-bottom: 40px;
        padding-right: 40px;
    }
    .about-item .icon{
        margin-right: 15px;
    }
    .about-item .text{
        font-size: 18px; font-weight: 600;
        line-height: 22px;
    }

#how{
    background-color: #ffffff;
    background-image: url('../images/how-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    padding-top: 175px;
    padding-bottom: 60px;
}
    .how-title{
        margin-bottom: 40px;
    }
    .how-title h3{
        text-transform: uppercase;
        font-size: 42px; font-weight: 600;
        line-height: 52px;
    }
    .how-box{
        margin-top: -100px;
    }
    .how-box p{
        font-size: 16px;  font-weight: 400;
        line-height: 20px;
    }
    .how-box p strong{
        font-weight: 700;
    }
    .how-ctrl{
        padding-top: 30px;
    }

#how .owl-stage-outer{
    background-image: url('../images/how-c-bg.svg');
    background-repeat: no-repeat;
    background-position: center center;
}
    .how-c-item img{
        border-radius: 20px;
    }

#edge{
    padding: 50px 0px 70px 0px;
}
    .edge-title h3{
        text-transform: uppercase;
        font-size: 42px; font-weight: 600;
        line-height: 50px;
    }
    .edge-item{
        padding: 30px 50px 40px 40px;
    }
    .edge-item.fix{
        padding-left: 0;
    }
        .edge-icon{
            margin-bottom: 20px;
        }
        .edge-item .title{
            text-transform: uppercase;
            font-size: 20px; font-weight: 600;
            line-height: 24px;
            margin-bottom: 10px;
        }
        .edge-item .text{
            font-size: 16px; font-weight: 500;
            line-height: 20px;
            max-width: 270px;
        }

#screen{
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 70px;
}
    
    .screen-title{
        text-align: center;
        margin-bottom: 50px;
    }
    .screen-title.main{
        text-align: left;
    }
    .screen-title h1{
        text-transform: uppercase;
        font-size: 42px; font-weight: 700;
        margin-bottom: 35px;
        color: #1E1E1E;
    }
    .screen-title.main h1{
        color: #0c91cc;
        margin-top: 0;
    }
    .section-title{
        margin-bottom: 20px;
    }
        .section-title h3{
            text-transform: uppercase;
            font-size: 26px; font-weight: 700;
            line-height: 32px;
        }

#screen select{
    background-color: transparent;
    border: 2px solid #0C91CD;
    border-radius: 30px;
    padding: 15px 35px 15px 25px;
    font-size: 14px; font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('../images/select-bg.svg') no-repeat right 15px center;
    background-size: 10px;
    margin-bottom: 10px;
    height: auto;
    min-width: 200px;
}
#screen input,
#screen textarea{
    border: 2px solid #0C91CD;
    border-radius: 30px;
    padding: 15px 25px; height: auto;
    margin-bottom: 10px;
    resize: vertical;
    font-weight: 500;
    font-size: 16px;
}
#screen input[type="checkbox"]{
    box-shadow: none;
}
#screen input{
}

.ui-checkbox {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}

.ui-checkbox input {
    display: none;
}

.ui-checkbox textarea{
    width: 100%;
    border-radius: 6px !important;
    padding: 5px 10px !important; 
    color: #888;
}

/* коробка */
.ui-checkbox-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 2px solid #d1d5db;
    position: relative;
    transition: all .25s ease;
    margin-right: 5px;
}

/* галочка */
.ui-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .15s ease;
}
.ui-checkbox-box i{
    font-style: normal;
}

/* checked */
.ui-checkbox input:checked + .ui-checkbox-box {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        #0C91CD 0%,
        #86599E 100%
    );
    box-shadow:
        0 4px 10px rgba(12,145,205,.35);
}

.ui-checkbox input:checked + .ui-checkbox-box::after {
    opacity: 1;
}

/* hover */
.ui-checkbox:hover .ui-checkbox-box {
    border-color: #86599E;
}

.ui-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.ui-toggle input {
    display: none;
}

/* трек */
.ui-toggle-slider {
    position: absolute;
    inset: 0;
    background: #e5e7eb;
    border-radius: 999px;
    transition: background .25s ease;
}

/* бегунок */
.ui-toggle-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* checked */
.ui-toggle input:checked + .ui-toggle-slider {
    background: linear-gradient(
        135deg,
        #0C91CD 0%,
        #86599E 100%
    );
}

.ui-toggle input:checked + .ui-toggle-slider::before {
    transform: translateX(20px);
}

/* hover */
.ui-toggle:hover .ui-toggle-slider {
    filter: brightness(1.05);
}


select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border: 2px solid #0C91CD;
    border-radius: 30px;

    padding: 14px 48px 14px 24px;
    height: auto;

    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1E1E1E;

    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230C91CD' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: right 20px center;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .15s ease;
}

/* Hover */
select.form-control:hover {
    border-color: #86599E;
    box-shadow: 0 6px 18px rgba(12,145,205,.25);
}

/* Focus */
select.form-control:focus {
    outline: none;
    border-color: #86599E;
    box-shadow: 0 0 0 3px rgba(134,89,158,.25);
}

/* Disabled */
select.form-control:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

/* Options (минимально, насколько позволяет браузер) */
select.form-control option {
    padding: 10px;
    font-weight: 500;
}


.btn-fix{
    padding: 15px 25px; min-width: 100%;
    border: 2px solid #0C91CD;
}

.box-load-more{
    padding: 10px 0;
    text-align: center;
}
    .btn-load-more{
        font-size: 16px; font-weight: 400;
        line-height: 20px; color: #7C7C7C;
        text-decoration: underline;
        text-transform: uppercase;
    }

.mt-20{
    margin-top: 50px;
}
.mt-25{
    margin-top: 25px;
}
.mb-25{
    margin-bottom: 25px;
}

.window{
    border: 4px solid #0C91CD;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 15px;
    text-align: center;
    background: rgba(255,255,255,0.92);
    box-shadow:
        0 12px 30px rgba(12,145,205,0.12),
        inset 0 0 0 1px rgba(255,255,255,0.4);
}
    .window.tp{
        background: transparent;
    }
    .window.w{
        border: none;
        padding: 0px 40px;
    }

    .window-header{
        background-color: #0C91CD; color: #fff;
        padding: 15px 15px;
    }
    .window-header.flex{
        display: flex;
        background: linear-gradient(90deg, #0C91CD 0%, #86599E 100%);

    }
    .window-header.flex .window-header-title{
        font-size: 22px; font-weight: 600;
        line-height: 28px; width: 100%;
        text-align: left;
    }
    .window-header.flex .window-header-ctrl{
        width: 100%; display: flex; gap: 15px;
        justify-content: right;
    }

    .window-header .list{
        display: flex;
    }
    .window-header .list span{
        width: 100%;
        border-right: 2px solid #fff;
    }
    .window-header .list span:last-child{
        border-right: none;
    }
    .window-header .list .ctrl{
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    .window-header .list .ctrl a{
        display: inline-block;
    }

    .window-content {
        padding: 20px 25px 25px;
    }

    .np .window-content{
        padding: 0;
    }

    .window-title{
        font-size: 26px; font-weight: 700;
        line-height: 32px; color: #1E1E1E;
        text-align: center;
    }

    .window-content.upload-content{
        background-color: #f5f5f5;
        color: #b2b2b2;
        min-height: 400px;
    }
        .upload-box{
            margin-top: 100px;
        }
        .upload-box img{
            margin-bottom: 20px;
        }

.window.dsh{
    padding: 30px 0px;
}
    .window.dsh .title{
        font-weight: bold;
        font-size: 26px;
        text-transform: uppercase;
        margin-bottom: 25px;
    }
    .window.dsh .inputs{
        min-height: 200px;
        padding: 0px 30px;
        margin-bottom: 20px;
    }
    .window.dsh .ctrl{
        padding: 0px 30px;
    }
        .window.dsh .ctrl button{
            width: 100%;
            padding: 15px 25px;
        }

.linker{
    cursor: pointer;
}

.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}
    .t-row {
        display: table-row;
    }
    .t-row:nth-child(even) {
        background-color: #F3F3F3;
    }
    .t-col {
        display: table-cell;
        padding: 12px 15px;
        text-align: left;
        vertical-align: middle;
        border-right: 1px solid #F3F3F3;
    }
    
    .t-col.strong{
        font-weight: bold; font-size: 18px;
    }
    .t-row:first-child {
        color: #7C7C7C;
        font-weight: 400; font-size: 12px;
        text-align: center;
    }
    .t-col:last-child {
        border-right: none;
    }
    .t-col.center{
        text-align: center;
    }
    .t-col.right{
        text-align: right;
    }

.table a.next{
    color: #0c91cc;
}
.table a.next:after{
    content: ''; display: inline-block;
    background: url('../images/button-next.svg') no-repeat right center;
    width: 21px; height: 10px;
}

@media (max-width: 768px) 
{
    .table {
        display: block;
    }

    .t-row {
        display: block;
    }

    .t-col {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .t-col:last-child {
        border-bottom: none;
    }

    .t-row:first-child {
        display: none;
    }
}

.t-row.full {
    display: block;
}

.t-row.full .t-col {
    display: block;
    width: 100%;
    border-right: none;
}

.bots-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

    .bot-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        min-height: 100%;
        padding: 25px 0;

        background-color: #fff;
        text-align: center;

        width: 100%;
        border: 4px solid #0C91CD;
        border-radius: 30px;
    }

    .bot-card .title {
        font-size: 26px;
        font-weight: 700;
        line-height: 32px;
        color: #1E1E1E;
        text-transform: uppercase;
    }

    .bot-card .title.mb-25 {
        margin-bottom: 25px;
    }

    .bot-card .id {
        margin-bottom: 20px;

        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        color: #7C7C7C;
    }

    .bot-card .userlist {
        margin-bottom: 25px;
    }

    .bot-card input {
        width: 80%;
        margin: 0 auto;

        font-size: 16px;
        font-weight: 600;
    }

    .bot-card .inputs {
        min-height: 200px;
    }

    .bot-card .ctrl {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
    }

    .bot-card .ctrl a:hover {
        opacity: 0.75;
    }

    .bot-card {
        cursor: pointer;
    }


.custom-select.admin-select {
    padding: 15px 35px 15px 25px;

    border: 2px solid #0C91CD;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;

    background: url('/assets/images/select-bg.svg') no-repeat right 15px center;
    background-size: 10px;

    cursor: pointer;
    user-select: none;
}

.custom-options {
    padding: 10px 25px;

    border: 2px solid #0C91CD;
    border-top: none;
    border-radius: 0 0 30px 30px;

    background-color: #fff;
}

.custom-option {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.custom-option:last-child {
    border-bottom: none;
}

.content {
    display: none;
}

.collapsible::after {
    content: '+';
    float: right;
    margin-left: 5px;

    color: #777;
    font-weight: bold;

    transition: transform 0.3s ease-in-out;
}

.collapsible.active::after {
    transform: rotate(45deg);
}

.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

#page{
    padding-top: 10vh; padding-bottom: 10vh;
    min-height: 85vh;
}
    #page h1{
        margin-bottom: 30px;
    }


/* ---------- WINDOW HEADER ---------- */

.window-header.flex {
    padding: 18px 22px;
}

.window-header-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.window-header-title a{
    color: #ffffff;
}

/* ---------- STATS BLOCK ---------- */

.window .window-title {
    font-size: 16px;
    color: #7C7C7C;
}

.window .window-title strong {
    display: block;
    margin-top: 6px;
    font-size: 42px;
    font-weight: 700;
    color: #0C91CD;
}

/* ---------- BOT LOG ---------- */

.table a.next {
    font-weight: 600;
}

.table a.next:after {
    margin-left: 8px;
}

/* ---------- TABLE ---------- */

.table {
    border-radius: 18px;
    overflow: hidden;
}

.t-row:first-child {
    background-color: rgba(12,145,205,0.05);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.t-row {
    transition: background-color .25s ease;
}

.t-row:hover {
    background-color: rgba(12,145,205,0.07);
}

.t-col {
    font-size: 15px;
}

.t-col strong {
    font-size: 16px;
}

/* ---------- CHECKBOX ---------- */

input[type="checkbox"] {
    transform: scale(1.1);
    cursor: pointer;
}

/* ---------- SORT + SEARCH ---------- */

/* input.form-control {
    max-width: 360px;
} */

label {
    margin-right: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* ---------- ADD BUTTON ---------- */

.box-load-more {
    padding-top: 15px;
}

.btn-load-more {
    font-weight: 600;
    color: #0C91CD;
}

/* ---------- FOOTER COMPACT ---------- */

footer {
    margin-top: 80px;
}

/* ===== COURSE TREE ===== */

.t-row.course {
    background: rgba(12,145,205,0.08);
    font-weight: 700;
}

.t-row.subcourse {
    background: rgba(12,145,205,0.04);
}

.t-row.lesson {
    background: #ffffff;
}

.t-row.subcourse .t-col:first-child {
    padding-left: 40px;
    position: relative;
}

.t-row.lesson .t-col:first-child {
    padding-left: 70px;
    position: relative;
}

.t-row.subcourse .t-col:first-child::before {
    content: '↳';
    position: absolute;
    left: 20px;
    color: #0C91CD;
}

.t-row.lesson .t-col:first-child::before {
    content: '↳';
    position: absolute;
    left: 45px;
    color: #0C91CD;
}
.t-row.lesson.clean .t-col:first-child::before{
    left: 20px;
}

/* ===== FILTER BAR ===== */

.course-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.course-toolbar .left a {
    font-weight: 600;
    color: #0C91CD;
}

.course-toolbar .right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.course-toolbar input.form-control {
    margin-bottom: 0;
}

/* ===== FAQ ===== */

.faq-item {
    border-radius: 30px;
    background: linear-gradient(90deg,#0C91CD,#86599E);
    color: #fff;
    padding: 18px 25px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-item::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 20px;
}

.faq-item.active::after {
    content: '–';
}

.faq-answer {
    display: none;
    padding: 20px 25px;
    background: #fff;
    border-radius: 0 0 30px 30px;
    border: 2px solid #0C91CD;
    border-top: none;
}

.faq-item.active + .faq-answer {
    display: block;
}

/* ===== CTA ===== */

.create-course-btn {
    margin-top: 30px;
}

.create-course-btn .btn {
    padding: 16px 50px;
    font-size: 17px;
}

.box-ctrl-add{
    text-align: left;
}
    .box-add-btn{
        color: #0686c0;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }
    .box-add-btn span{
        font-weight: bolder;
        font-size: 28px;
        margin-right: 5px;
        margin-top: -3px;
    }

.t-row .box-ctrl-add{
    margin-left: 15px;
}

.btn-new-lesson,
.btn-new-subcourses{
    color: #0686c0;
    font-weight: bolder;
    font-size: 28px;
    margin-right: 5px;
    margin-top: -3px;
    border: none;
    background-color: transparent;
    height: 40px;
}

/* =====================================================
   SORT + SEARCH (ISOLATED, SAFE)
===================================================== */

.sort-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ---------- SORT GROUP ---------- */

.sort-search .sort-group {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

/* label "Сортировка:" */
.sort-search .sort-label {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
}

/* ---------- RADIO ---------- */

.sort-search .sort-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin: 0 !important;          /* убираем глобальный label */
    padding: 0;

    font-size: 14px;
    line-height: 1;
    color: #0f172a;

    cursor: pointer;
    white-space: nowrap;
}

/* полностью прячем input */
.sort-search .sort-radio input {
    display: none !important;
}

/* точка */
.sort-search .sort-radio .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0C91CD;
    position: relative;
    flex-shrink: 0;
}

/* активная точка */
.sort-search .sort-radio .dot::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: #0C91CD;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .15s ease;
}

.sort-search .sort-radio input:checked + .dot::after {
    opacity: 1;
}

/* текст */
.sort-search .sort-radio .text {
    width: auto !important;        /* перебивает твой span.text */
    font-weight: 400;
    color: #7c7c7c;
}

/* активный текст */
.sort-search .sort-radio input:checked ~ .text {
    font-weight: 600;
}

/* ---------- SEARCH ---------- */

.sort-search .search-pill {
    position: relative;
    width: 280px;
    flex-shrink: 0;
}

.sort-search .search-pill input {
    width: 100%;
    height: 38px !important;
    padding: 0 18px 0 42px !important;
    border-radius: 999px;
    border: 2px solid #0C91CD;
    background: transparent;

    font-size: 14px;
    font-weight: 400;
    margin: 0 !important;
    outline: none;
}

.sort-search .search-pill input::placeholder {
    color: #64748b;
}

/* иконка */
.sort-search .search-pill svg {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;

    transform: translateY(-50%);
    stroke: #0C91CD;
    stroke-width: 2;
    fill: none;
}

/* focus */
.sort-search .search-pill input:focus {
    box-shadow: 0 0 0 3px rgba(12,145,205,.2);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
    .sort-search {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sort-search .search-pill {
        width: 100%;
    }
}

/* =====================================================
   FAQ BLOCK
===================================================== */

.faq-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* список */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* карточка */
.faq-card {
    border: 2px solid #0C91CD;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease;
}

/* заголовок */
.faq-head {
    width: 100%;
    background: none;
    border: none;
    outline: none;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 22px;
    cursor: pointer;
}

/* вопрос */
.faq-question {
    font-size: 14px;
    font-weight: 700;
    color: #1E1E1E;
    text-transform: uppercase;
    text-align: left;
}

/* стрелка */
.faq-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #0C91CD;
    transition: transform .2s ease;
}

/* тело */
.faq-body {
    padding: 0 22px 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    display: none;
}

/* active */
.faq-card.active .faq-body {
    display: block;
}

.faq-card.active .faq-arrow {
    transform: rotate(180deg);
}

/* hover */
.faq-card:hover {
    border-color: #86599E;
}

form.fullsize{

}
    form.fullsize input.form-control{
        max-width: none;
    }

.block-title{
    text-transform: uppercase;
    color: #1E1E1E;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* =====================================================
   DEV SETTINGS
===================================================== */

.dev-settings {
    margin-top: 50px;
}

/* title */
.dev-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #1E1E1E;
}

/* card */
.dev-form {
    background: rgba(255,255,255,0.92);
    border-radius: 30px;
    padding: 30px 40px;

    box-shadow:
        0 12px 30px rgba(12,145,205,0.12),
        inset 0 0 0 1px rgba(255,255,255,0.4);
}

/* field */
.dev-field {
    margin-bottom: 22px;
}

/* label */
.dev-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1E1E1E;
}

/* input */
.dev-input {
    width: 100%;
    border: 2px solid #0C91CD;
    border-radius: 30px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.dev-input:focus {
    box-shadow: 0 0 0 3px rgba(12,145,205,.2);
}

/* hint */
.dev-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #7C7C7C;
}

/* toggle row */
.dev-toggle {
    padding-top: 10px;
}

.dev-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
}

.dev-toggle-text {
    font-size: 14px;
    font-weight: 500;
    color: #1E1E1E;
}

/* actions */
.dev-actions {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* training button */
.dev-train-btn {
    width: 100%;
    padding: 16px 40px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;

    background: linear-gradient(90deg, #0C91CD 0%, #86599E 100%);
}

/* mobile */
@media (max-width: 768px) {
    .dev-form {
        padding: 25px 20px;
    }
}


/* =====================================================
   FILTER BAR
===================================================== */

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LEFT */
.filter-left {
    flex-shrink: 0;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #1E1E1E;
}

/* RIGHT */
.filter-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* INPUT */
.filter-input input {
    width: 220px;
    height: 36px;

    border: 1.5px solid #cfd9e3;
    border-radius: 6px;

    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;

    outline: none;
}

.filter-input input:focus {
    border-color: #0C91CD;
    box-shadow: 0 0 0 3px rgba(12,145,205,.15);
}

/* CHECKBOX */
.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #1E1E1E;
}

/* hide native */
.filter-checkbox input {
    display: none;
}

/* box */
.filter-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #0C91CD;
    position: relative;
    flex-shrink: 0;
}

/* check */
.filter-checkbox .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #0C91CD;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.filter-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

/* text */
.filter-checkbox .checkbox-text {
    white-space: nowrap;
}

/* MOBILE */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-right {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-input input {
        width: 100%;
    }
}

/* =====================================================
   CHAT PAGE
===================================================== */

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* layout */
.chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
}

/* ---------- CHAT LIST ---------- */

.chat-list {
    background: #fff;
    border-radius: 20px;
    border: 2px solid #0C91CD;
    overflow: hidden;
}

.chat-item {
    padding: 15px 18px;
    cursor: pointer;
    border-bottom: 1px solid #eef2f7;
}

.chat-item:last-child {
    border-bottom: none;
}

.chat-item.active {
    background: rgba(12,145,205,.08);
}

.chat-user {
    font-weight: 600;
    font-size: 14px;
}

.chat-preview {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- CHAT WINDOW ---------- */

.chat-window {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #0C91CD;
    overflow: hidden;
}

/* header */
.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
}

/* messages */
.chat-messages {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* message */
.chat-message {
    max-width: 70%;
}

.chat-message.user {
    align-self: flex-start;
}

.chat-message.admin {
    align-self: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message.user .chat-bubble {
    background: #f1f5f9;
}

.chat-message.admin .chat-bubble {
    background: linear-gradient(90deg,#0C91CD,#86599E);
    color: #fff;
}

.chat-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
    text-align: right;
}

.chat-msg-ctrl{
    padding: 6px;
    display: inline-block;
}
    .chat-msg-ctrl a{
        color: #855c9f;
        border: 1px solid #855c9f;
        padding: 2px 4px;
        border-radius: 3px;
        margin-left: 5px;
    }

/* reply */
.chat-reply {
    padding: 15px;
    border-top: 1px solid #eef2f7;
    display: flex;
    gap: 10px;
}

.chat-reply input {
    flex: 1;
    border: 2px solid #0C91CD;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    outline: none;
}

.chat-reply input:focus {
    box-shadow: 0 0 0 3px rgba(12,145,205,.2);
}

/* mobile */
@media (max-width: 992px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-list {
        order: 2;
    }

    .chat-window {
        order: 1;
    }
}

.screen-tg-toggler{
    border: 1px solid #0C91CD;
    border-radius: 24px;
    background-image: url('../images/tg.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 90px;
}
    .screen-tgt{
        display: flex;
        align-items: center;
        padding: 10px;
    }   
        .screen-tgt-name{
            width: 100%;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .screen-tgt-toggle{
            display: flex;
            justify-content: right;
            align-items: center;
        }
            .screen-tgt-toggle i{
                font-style: normal;
                color: #7C7C7C;
                font-size: 12px;
                margin-right: 7px;
            }
            .screen-tgt-toggle .ui-toggle{
                margin-right: 0px;
            }

/* =====================================================
   TEST CARD (FINAL, PIXEL-CLOSE)
===================================================== */

.test-card {
    padding: 0px;
    background: #ffffff;
    text-align: left;
}

/* ===== QUESTION INPUT ===== */

.test-card__question {
    width: 100%;
    border-radius: 999px !important;
    border: 2px solid #0C91CD !important;
    padding: 14px 26px !important;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 22px;
}

.test-card__question:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12,145,205,.25);
}

/* ===== LAYOUT ===== */

.test-card__body {
    display: grid;
    grid-template-columns: 250px 1fr;
}

/* ===== UPLOAD BLOCK ===== */

.test-card__upload {
    background: #f7f7f7;
    border-radius: 26px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-card__upload .upload-box {
    margin: 0;
    text-align: center;
}

.test-card__upload svg {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.test-card__upload p {
    font-size: 13px;
    line-height: 18px;
    color: #b2b2b2;
    margin-bottom: 12px;
}

.test-card__upload .btn-load-more {
    font-weight: 700;
    font-size: 13px;
    color: #0C91CD;
    text-transform: uppercase;
    text-decoration: none;
}

/* ===== RIGHT SIDE ===== */

.test-card__settings {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* row: AI toggle */
.test-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.test-card__label {
    font-size: 14px;
    font-weight: 600;
    color: #1E1E1E;
    text-align: right;
    padding-right: 12px;
}

.test-card__title{
    color: #0c8fcb;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
}

/* ===== ANSWERS ===== */

.test-card__answers {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.test-card__answers label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.test-card__answers em {
    font-style: normal;
    color: #b2b2b2;
}

/* ===== BUTTON ===== */

.test-card .btn-fix {
    border-radius: 999px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    margin-top: 30px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .test-card {
        padding: 10px;
        border-radius: 28px;
    }

    .test-card .window-content {
        padding: 18px;
    }

    .test-card__body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .test-card__upload {
        padding: 30px 20px;
    }
}

.window.student-info{
    background: transparent;
    box-shadow: none;
    font-size: 18px;
}


/* =====================================================
   CHECKLINE (как на скрине)
===================================================== */

.lesson-options {
    display: flex;
    gap: 14px;
    align-items: center;
        justify-content: center;
    padding-top: 20px;
}

/* label */
.ui-checkline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

/* скрываем нативный */
.ui-checkline input {
    display: none;
}

/* кастомный чекбокс */
.ui-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #0C91CD;
    background: #fff;
    position: relative;
    transition: all .2s ease;
}

/* галочка */
.ui-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* checked */
.ui-checkline input:checked + .ui-check {
    background: linear-gradient(135deg, #0C91CD 0%, #86599E 100%);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(12,145,205,.35);
}

.ui-checkline input:checked + .ui-check::after {
    opacity: 1;
}

/* текст */
.ui-check-text {
    font-size: 15px;
    font-weight: 500;
    color: #0C91CD;
}

/* hover */
.ui-checkline:hover .ui-check {
    border-color: #86599E;
}

/* =====================================================
   USER CARD (accordion)
===================================================== */

.user-card {
    border: 2px solid #0C91CD;
    border-radius: 30px;
    margin-bottom: 18px;
    overflow: hidden;
    background: #fff;
}

/* ===== HEADER ===== */

.user-card__header {
    width: 100%;
    border: none;
    background: linear-gradient(90deg, #0C91CD 0%, #1C86C8 100%);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 22px;
    cursor: pointer;
}

.user-card__title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-card__title span {
    opacity: .5;
}

/* arrow */
.user-card__arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #fff;
    transition: transform .25s ease;
}

/* ===== BODY ===== */

.user-card__body {
    display: none;
    background: #fff;
    padding: 10px 0 5px;
}

/* active */
.user-card.active .user-card__body {
    display: block;
}

.user-card.active .user-card__arrow {
    transform: rotate(180deg);
}

/* ===== TABLE ===== */

.user-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.user-row {
    display: table-row;
}

.user-row > div {
    display: table-cell;
    padding: 14px 22px;
    font-size: 14px;
    vertical-align: middle;
    border-top: 1px solid #eef2f7;
}

.user-row:nth-child(even) {
    background: #f7f7f7;
}

.user-row--head {
    background: #fafafa;
    font-size: 12px;
    font-weight: 600;
    color: #7C7C7C;
}

.user-row .strong {
    font-weight: 700;
}

/* link */
.user-link {
    color: #7C7C7C;
    font-weight: 500;
}

.user-link:hover {
    color: #0C91CD;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .user-row,
    .user-row > div {
        display: block;
    }

    .user-row > div {
        padding: 10px 22px;
        border-top: none;
    }

    .user-row {
        border-top: 1px solid #eef2f7;
    }

    .user-row--head {
        display: none;
    }
}

input.full{
    width: 100%;
    max-width: none;
}

/* =====================================================
   BOT INFO CARD
===================================================== */

.bot-info-card {
    margin-bottom: 15px;
}

/* inner */
.bot-info-card__body {
    border: 2px solid #0C91CD;
    border-radius: 26px;
    padding: 20px;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 24px;
    background-color: #ffffff;
}

/* ===== ICONS ===== */

.bot-info-card__icons {
    position: absolute;
    top: 18px;
    right: 22px;
    display: flex;
    gap: 14px;
    z-index: 2;
}

.bot-info-card__icons img {
    width: 18px;
    opacity: .7;
    transition: opacity .2s ease;
}

.bot-info-card__icons a:hover img {
    opacity: 1;
}

/* ===== IMAGE ===== */

.bot-info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== CONTENT ===== */

.bot-info-card__content {
    display: flex;
    flex-direction: column;
}

/* field */
.bot-info-card__field {
    margin-bottom: 18px;
}

.bot-info-card__field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* input / textarea override */
.bot-info-card__content .form-control {
    border-radius: 999px;
}

.bot-info-card__content textarea.form-control {
    border-radius: 22px;
    resize: none;
}

/* button */
.bot-info-card__btn {
    margin-top: auto;
    padding: 14px 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .bot-info-card__body {
        grid-template-columns: 1fr;
    }

    .bot-info-card__icons {
        top: 14px;
        right: 16px;
    }
}


.course-module {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.module-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.lesson-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.lesson-demo {
    font-size: 12px;
    color: #999;
    margin-left: 6px;
}

.locked {
    color: #bbb;
}


@media (max-width: 768px) {

    .table {
        display: block;
    }

    .t-row {
        display: block;
        margin-bottom: 16px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 0 0 1px #eee;
    }

    /* скрываем header */
    .t-row:first-child {
        display: none;
    }

    .t-col {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 10px 14px;
        text-align: left;
    }

    .t-col:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {

    .t-col::before {
        content: attr(data-label);
        font-size: 12px;
        color: #999;
        margin-right: 12px;
        white-space: nowrap;
    }
    .t-col.strong::before{
        display: none;
    }
}

@media (max-width: 768px) {
    .t-row.subcourse {
        background: #fafafa;
        margin-left: 8px;
    }

    .t-row.lesson {
        background: #f6f6f6;
        margin-left: 16px;
    }
}


.window-currency-switch {
    display: flex;
    gap: 10px;
}

.window-currency-switch a {
    font-weight: 600;
    color: #999;
    font-size: 20px;
}

.window-currency-switch a.active {
    color: #FFF;
}

.student-course .window-header-title{
    cursor: pointer;
}
.student-course .window-content{
    display: none;
}
.student-course.active .window-content{
    display: block;
}

[data-currency] i{
    display: inline-block;
    font-style: normal;
    min-width: 30px;
    border-bottom: 1px solid #CCC;
    outline: none;
}

/* ===== QGEN styles (scoped) ===== */
.qgen{ margin-top:18px; }
.qgen__top{
    position: relative;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(120, 140, 200, .10);
    border: 1px solid rgba(120, 140, 200, .25);
    display:flex;
    align-items:center;
    gap:12px;
}
.qgen__title{
    font-weight: 700;
    font-size: 14px;
    flex:1;
}
.qgen__btn{
    width: 44px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    background: #6b63ff;
    color:#fff;
    font-size: 18px;
    line-height: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 6px 18px rgba(107,99,255,.25);
}
.qgen__btn:active{ transform: translateY(1px); }

.qgen__panel{
    position:absolute;
    right: 12px;
    top: calc(100% + 10px);
    width: min(520px, calc(100vw - 40px));
    background:#fff;
    border-radius: 14px;
    border:1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.15);
    padding: 14px;
    z-index: 30;
    display:none;
}
.qgen__panel:before{
    content:"";
    position:absolute;
    top:-8px;
    right: 26px;
    width: 14px;
    height: 14px;
    background:#fff;
    transform: rotate(45deg);
    border-left:1px solid rgba(0,0,0,.08);
    border-top:1px solid rgba(0,0,0,.08);
}
.qgen__panel-title{
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 10px;
}
.qgen__rows{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.qgen__row{
    display:flex;
    align-items:center;
    gap:10px;
}
.qgen__type{
    width: 170px;
    height: 36px;
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    padding: 0 10px !important;
    background:#f7f8ff;
    font-weight: 700;
}
.qgen__count{
    width: 66px;
    height: 36px;
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    padding: 0 10px !important;
    font-weight: 700;
    text-align:center;
}
.qgen__check{
    display:flex;
    align-items:center;
    gap:8px;
    font-size: 13px;
    color:#333;
    user-select:none;
    text-align: left;
}
.qgen__check input{ transform: translateY(1px); }

.qgen__check--global{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,.10);
}

.qgen__actions{
    margin-top: 12px;
    display:flex;
    justify-content:flex-end;
}
.qgen__hint{
    display:block;
    margin-top: 10px;
    color: rgba(0,0,0,.55);
    font-size: 12px;
}

[hidden]{
    display: none !important;
}

/**  **/

.student-dashboard-page {
        max-width: 1320px;
        margin: 0 auto;
    }

    .student-dashboard-page .screen-title {
        margin-bottom: 30px;
        text-align: left;
    }

    .student-dashboard-page .screen-title h1 {
        color: #0C91CD;
        margin-bottom: 0;
    }

    .student-dashboard-page .window {
        border-width: 2px;
    }

    .student-dashboard-page .window-header {
        padding: 14px 26px;
    }

    .student-dashboard-page .window-header-title {
        font-size: 22px;
        line-height: 34px;
        font-weight: 700;
    }

    .student-dashboard-page .window .window-header-title {
        font-size: 22px;
        line-height: 34px;
    }

    .student-dashboard-page .window.tp.np .window-content {
        padding: 0;
    }

    .student-dashboard-page .top-block {
        min-height: 380px;
    }

    .student-dashboard-page .student-profile-box {
        min-height: 380px;
    }

    .student-dashboard-page .profile-row {
        margin-bottom: 18px;
        text-align: center;
        width: 130px;
    }

    .student-dashboard-page .avatar {
        width: 100%;
        height: 96px;
        border-radius: 50%;
        background: #D9D9D9;
        flex-shrink: 0;
        margin-bottom: 10px;
    }

    .student-dashboard-page .profile-name {
        font-size: 17px;
        line-height: 20px;
        font-weight: 700;
        color: #0C91CD;
        text-transform: none;
    }

    .student-dashboard-page .profile-stats {
        display: flex;
        gap: 24px;
        margin-top: 8px;
    }

    .student-dashboard-page .profile-stat {
        width: 50%;
    }

    .student-dashboard-page .profile-stat .label {
        color: #0C91CD;
        font-weight: 700;
        font-size: 12px;
    }

    .student-dashboard-page .mini-progress {
        background: #D1D5DB;
        border-radius: 999px;
        height: 14px;
        overflow: hidden;
        margin: 4px 0 10px;
    }

    .student-dashboard-page .mini-progress > span {
        display: block;
        height: 100%;
        background: #0C91CD;
        border-radius: 999px;
    }

    .student-dashboard-page .profile-contacts .item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 600;
    }

    .student-dashboard-page .profile-contacts .item i {
        color: #0C91CD;
        width: 22px;
    }

    .student-dashboard-page .table {
        font-size: 20px;
    }

    .student-dashboard-page .t-col {
        padding: 14px 16px;
    }

    .student-dashboard-page .t-row:first-child .t-col {
        font-size: 15px;
    }

    .student-dashboard-page .progress-pill {
        display: inline-block;
        min-width: 130px;
    }

    .student-dashboard-page .progress-pill .mini-progress {
        margin: 0 0 4px;
        height: 12px;
    }

    .student-dashboard-page .progress-pill .value {
        color: #0C91CD;
        font-weight: 700;
        font-size: 20px;
    }

    .student-dashboard-page .programs-title {
        color: #0C91CD;
        font-size: 56px;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .student-dashboard-page .programs-subtitle {
        color: #7C7C7C;
        margin-bottom: 24px;
        font-size: 24px;
    }

    .student-dashboard-page .program-card {
        margin-bottom: 24px;
        border-radius: 28px;
    }

    .student-dashboard-page .program-card .window-header-title {
        font-size: 23px;
        line-height: 38px;
        text-align: left;
    }

    .student-dashboard-page .program-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 18px;
        border: 1px solid #9CA3AF;
    }

    .student-dashboard-page .program-actions {
        display: flex;
        gap: 12px;
        margin-top: 14px;
    }

    .student-dashboard-page .program-actions .btn {
        width: 50%;
        padding: 11px 10px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 24px;
    }

    .student-dashboard-page .program-actions .btn-outline {
        color: #0C91CD;
        border: 1px solid #0C91CD;
        background: #fff;
    }

    @media (max-width: 992px) {
        .student-dashboard-page .window-header-title,
        .student-dashboard-page .window .window-header-title {
            font-size: 20px;
            line-height: 24px;
        }

        .student-dashboard-page .screen-title h1,
        .student-dashboard-page .programs-title {
            font-size: 22px;
            line-height: 34px;
        }

        .student-dashboard-page .programs-subtitle {
            font-size: 18px;
        }
    }

.row.scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
}
.row.scroller > div {
    flex: 0 0 auto;
    width: 400px; /* или 33% если хочешь как col-lg-8 */
}

.row.scroller .window-content,
.row.scroller .window-title {
    text-align: left;
}
    .row.scroller .mt-25{
        margin-top: 80px;
        font-weight: bold;
        margin-bottom: 8px;
    }

.row.scroller .window-title strong{
    font-size: 24px;
    color: #000;
}

.row.scroller .window.active{
    background-color: #0C91CD;
    box-shadow: none;
}
    .row.scroller .window.active .window-title strong{
        color: #FFF;
    }
    .row.scroller .window.active .mt-25{
        color: #FFF;
    }

.window.left{
    text-align: left;
}
/* FIX (v3): невидимый body::before (position:fixed на весь экран, pointer-events:auto) перехватывал
   ВСЕ клики по статичным полям/кнопкам — нельзя было сфокусировать поля и печатать. Декоративный
   слой не должен ловить события. */
body::before, body::after { pointer-events: none !important; }
