/* Main */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body {
    background: #f4f6f9; /* Светлый фон как на лендинге */
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333333;
}

body .gc-main-content:not(.gc-user-admin) .page-header,
body .gc-main-content:not(.gc-user-admin) .breadcrumbs,
body .logo {display:none!Important;}

.header_cont{margin-right:1%;}

.right_panel {
    background-color: #FFFFFF!Important;
    border-radius: 20px;
    min-height: 100vh;
    height: auto;
    border: none;
    box-shadow: 0px 20px 30px -7px rgba(0, 0, 0, 0.05);
}

.zoom_out_v:hover { transform: scale(1.02); }
.zoom_out_v { transition: all 0.3s ease; }
.zoom-out { transition: all 0.3s ease; }
.zoom-out:hover { transform: scale(1.05); }
.right_btn img{ display: block; margin: auto; }

hr.delimiter { border-top: 1px solid #EAEAEA; }

body .page-full-block .xdget-root h1.header_title {
  font-family: 'TTNorms Medium', 'Open Sans', sans-serif!Important;
  font-size: 60px;
  font-style: normal;
  font-weight: bold;
  color: #333333!Important;
}

/*Скрыть тренинги*/
.stream-table tbody tr[data-training-id="873661435"]{   
display:none;
}

/* Внешний контейнер с фоном */
.cont-progress-bar {
    position: relative;
    width: 100%;
    aspect-ratio: 2.857 / 1; 
    margin: 11px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.show-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.xdget-trainingAchievements { display: none; }


/* Календарь начало */
#calendar {
    font-family: 'Open Sans', 'Jost', "Lato", sans-serif;
    background: #FFFFFF;
    box-shadow: 0px 20px 10px -7px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    max-width: 100%;
    color: #333333;
    padding: 37px 22px;
}

#calTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.12em;
    text-align: left;
    color: #333333;
}

#calTitle button {
    outline: none;
    display: block;
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    fill: #737373;
}

#calThead, #calTbody {
    display: flex;
    flex-wrap: wrap;
    color: #333333;
}

#calThead {
    margin-top: 0.4em;
    align-items: center;
    text-align: center;
    font-size: 0.88em;
    display: none; /* скрыто по старым настройкам */
}

#calThead > div, #calTbody .a-date {
    box-sizing: border-box;
    flex: 1;
    min-width: calc(100% / 7);
    max-width: calc(100% / 7);
    width: calc(100% / 7);
    text-align: center;
    padding: 0;
}

#calTbody .a-date {
    cursor: pointer;
    position: relative;
    background-color: transparent;
    color: #555555;
    padding: 1em 0;
    border: none;
    font-size: 0.9em;
}

#calTbody .a-date > span {
    display: inline-block;
    font-size: 18px;
    width: 35px;
    height: 35px;
    line-height: 18px;
    padding: 8px 0px;
}

#calTbody .a-date.blurred,
#calTbody .a-date ~ .a-date.blurred { opacity: 0; }

#calTbody .a-date.event { color: rgb(104, 91, 245); }
#calTbody .a-date.event:before { content: none; }

#calTbody .a-date.current span,
#calTbody .a-date.current.notoday.focused span {
    border-radius: 50%;
    background: rgb(104, 91, 245);
    color: #FFFFFF;
}

#calTbody .a-date.focused span, 
#calTbody .a-date:active span {
    border-radius: 50%;
    color: #FFFFFF;
    background: rgb(104, 91, 245);
}

#calTFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    margin-top: 0.5em;
    flex-wrap: wrap;
    width: 100%;
}

#calTFooter #calLink { display: none; }

#calTFooter .day-event-item {
    width: 100%;
    margin-bottom: 15px;
    color: #555555;
    text-decoration: none!important;
}

#calTFooter .day-event-item h3 {
    font-weight: 400;
    font-size: 16px;
    display: flex;
}

#calTFooter .day-event-item:hover .eventTitle .eventTitle { text-decoration: underline; }
#calTFooter .eventTitle .eventTimes { padding-right: 20px; }

#eventTitle_today {
    color: #333333;
    padding-top: 0px;
    padding-bottom: 20px;
}
#eventTitle_today:empty { padding: 0px; } 

#calTitle_month {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 1.12em;
    text-align: center;
}

div#calTitle_month button.month-mover.prev { margin-right: 0.8em; }
div#calTitle_month .month-mover_disabled { opacity: 0.4; }

.current-month { font-size: 0px; }
#monthYear {
    font-style: normal;
    font-weight: 800;
    font-size: 25px;
    line-height: 70%;
}
#monthYear i { font-style: normal; }
#monthYear span.current-day {
    font-weight: normal;
    font-size: 16px;
}


/* Список уроков */
.lesson-list {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lesson-list li {
    display: flex;
    flex: 0 0 100%;
    background: #FFFFFF;
    border-radius: 23px;
    margin: 0;
    box-shadow: 0px 20px 10px -7px rgba(0, 0, 0, 0.10); /* Тень с карточек лендинга */
}

.lesson-list li .state-icon-block { display: none; }

.lesson-list li .info {
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    width: 100%;
}

.lesson-list li > a {
    display: flex;
    flex: 0 0 100%;
    background: transparent !important;
    border: 0 !important;
    padding: 20px 30px;
    text-decoration: none;
}

.lesson-list li table,
.lesson-list li tbody,
.lesson-list li tr { width: 100%; }

.lesson-list .item-main-td {
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.lesson-list li .info .vmiddle {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 70%;
    align-self: flex-start;
}

.lesson-list li .title {
    padding: 0 !important;
    margin: 0 !important;
    color: #333333 !important;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    font-family: 'TTNorms Medium', 'Open Sans', sans-serif;
}

.lesson-list li .description {
    color: #666666; /* Темнее для белого фона */
    font-weight: 500;
    max-width: 400px;
    display: none;
}

/* Кнопка с лендинга (класс css12) */
.lesson-list li .lesson_btn {
    background-color: rgb(104, 91, 245);
    border-radius: 10px;
    box-shadow: 0px 11px 5px -7px rgba(0, 0, 0, 0.35);
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
    height: 60px;
    max-width: 180px;
    width: 100%;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all .3s;
    align-self: center;
}

.lesson-list li:hover .lesson_btn {
    background-color: rgb(75, 59, 243);
    box-shadow: none;
    transform: translateY(2px);
}

.lesson-list li .lesson-info {
    flex: 1 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.lesson-list li .lesson-number {
    color: #555555;
    background: #F0F0F0;
    border-radius: 8px;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 14px;
}

.lesson-list li .user-state-label { display: none; }

.lesson-list li .lesson-status {
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 14px;
    position: relative;
}

/* Обновленные статусы для светлой темы */
.lesson-list li .lesson-status.answered {
    background: #EAEAEA;
    color: #555555;
}

.lesson-list li .lesson-status.done {
    background: linear-gradient(95.64deg, #6ECA72 -1.75%, #50A154 61.3%);
    color: #FFFFFF;
}

.lesson-list li .lesson-status.stop {
    background: linear-gradient(97.14deg, #DF5050 18.45%, #F36363 47.56%, #BF3333 83.44%);
    color: #FFFFFF;
}

.lesson-list li .lesson-status.locked {
    background: #F9F9F9;
    border: 1px solid #EAEAEA;
    color: #999999;
}

.lesson-list li.divider {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lesson-list li.divider .errorMessage { padding: 20px; }
.lesson-list li.user-state-not_reached { filter: grayscale(1); opacity: 0.7; }

@media (max-width: 768px) {
    .lesson-list li .lesson-info { justify-content: center; }
    .lesson-list li .info .vmiddle {
        max-width: 100%;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .lesson-list li .description {
        max-width: 100%;
        text-align: center;
    }
    .lesson-list li .title { text-align: center; }
    .lesson-list li .lesson_btn { max-width: 100%; }
    .lesson-list .item-main-td { justify-content: center; }
}
