html { scroll-behavior: smooth; }
.evgd-header {
    background: linear-gradient(90deg, #9B2335 0%, #CE3A3A 100%);
    display: flex;
    align-items: center;
    padding: 16px;
    width: 100%;
}
.evgd-header-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
.evgd-header-controls {
    display: flex;
    align-items: center;
}
.evgd-header-controls-btns {
    display: flex;
    align-items: center;
}
.evgd-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
}
.evgd-main-container {
    flex-grow: 1;
    display: flex;
}
.evgd-main-welcome {
    display: flex;
    flex: 1;
    background: url("../images/welcomebg.png") no-repeat center;
    background-size: cover;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 7vh 2vw;
}
.evgd-welcome-text {
    color: #FFF;
    text-align: center;
    width: 88vw;

    /* Modal sdw */
    text-shadow: 0px 4px 16px rgba(24, 30, 26, 0.16);

    /* Header */
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px; /* 150% */
}
.evgd-welcome-attention {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    border-radius: 16px;
    border: 8px solid #EDEDEC;
    padding: 8px;
    width: 53vw;
    margin-top: auto;

}
.ewa-title {
    color: #323437;
    font-family: "Open sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.ewa-bold {
    color: #323437;
    font-family: "Open sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}
.message-svg {
    position: absolute;
    left: -40px;
}
.welcome-teacher {
    position: absolute;
    bottom: 0;
    left: 1vw;
}
.evgd-main-welcome .login-component-container {
    margin-top: 13vh;
}
.evgd-welcome-login-btn {
    display: flex;
    width: 240px;
    height: 48px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    background: #E4443C;
    color: #FFF;
    text-align: center;

    /* Button */
    font-family: "Open sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 550;
    line-height: 24px; /* 150% */
    border: none;
    outline: none;
}
.sidebar_cabinet {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, #CE3A3A 0%, #B12323 100%);
    padding: 32px 0;
}
.sidebar_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
}
.cabinet-logo {
    max-width: 100%;
}
.sidebar_cabinet-logo {
    display: flex;
    justify-content: center;
    width: 100%;
}
.sidebar_cabinet-logo a {
    margin-bottom: 44px;
}
.col-sidebar {
    flex-basis: 19.4%;
}
.col-content {
    flex-basis: 79.8%;
    background: rgba(249, 249, 249, 1);
    padding: 13px 13px 13px 0;

}
.col-content .container {
    background: white;
    border-radius: 15px;
    height: 100%;
    padding-top: calc(var(--bs-gutter-x) * 0.5);
    /*padding-bottom: calc(var(--bs-gutter-x) * 0.5);*/
    padding-bottom: 27px;
}
.flex-container-some {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.sidebar-another-contianer {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.sidebar-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    padding-left: 0;
    padding-right: 16px;
    width: 100%;
}
.sidebar-navigation li {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.sidebar-navigation li a {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.personal-data-auth a {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #ffffff;
}
.personal-data-auth div {
    display: flex;
    width: 100%;
    justify-content: center;
}
.sidebar-bottom-logo {
    margin-top: auto;
}
.sidebar-navigation li a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
    padding-left: 21px;
}
.sidebar-navigation li a:hover {
    color: white;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
}
.sidebar-navigation li a img {
    margin-right: 16px;
}
.user-tests-items {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}
.user-test-single {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 24px;
}
.users-test-single-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgba(249, 249, 249, 1);
    cursor: pointer;
    padding: 24px 24px 48px 24px;
}
.user-tests-image {
    margin-bottom: 16px;
}
.user-tests-title {
    margin-bottom: 16px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;

}
.user-tests-content {
    font-family: HelveticaNeueCyr,  sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(114, 114, 114, 1);
    max-height: 72px;

    overflow: hidden;
    text-overflow: ellipsis;

}
.section-cab-title {

}
.evgd-chatbot-wondow {
    display: flex;
    justify-content: center;
}
.chatbot-person1 {
    right: 10%;
    position: absolute;
    bottom: 0;
}
.evgd-chatbot-question {
    top: 25%;
    min-width: 40%;
    background: #EAE5DD;
    border-radius: 8px;
    padding: 0;
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(50, 52, 55, 1);
    border: 8px solid #EAE5DD;

}
.triangle-evgd {
    position: absolute;
    width: 32px;
    height: 16px;
    background: #EAE5DD;
    clip-path: polygon(0 0, 0 100%, 100% 0);
    bottom: 0;
    right: -38px;
}
.blur-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    border-radius: 20px;
}
/*.evgd-chatbot-question:before {*/
/*    content: "";*/
/*    display: block;*/
/*    position: absolute;*/
/*    width: calc(100% + 16px);*/
/*    height: calc(100% + 16px);*/
/*    background: #ebf5f9;*/

/*    border-radius: 8px;*/
/*    left: -8px;*/
/*    top: -8px;*/
/*    z-index: 0;*/
/*}*/
.evgd-question-text {
    z-index: 1;
    background: white;
    border-radius: 8px;
    position: relative;
    min-width: 100%;
    min-height: 50px;
    padding: 8px;
}
/*.evgd-chatbot-question:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    display: block;*/
/*    width: 32px;*/
/*    height: 16px;*/
/*    right: -40px;*/
/*    bottom: 10px;*/
/*    background: url(../images/questiontriangle.svg) no-repeat left;*/
/*}*/
.evgd-variants-chatbot {
    display: grid;
    position: absolute;
    bottom: 0;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
}
.evgd-variants-chatbot .variable-block {
    width: 100%;
    display: flex;
    align-items: center;
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    border-radius: 8px;
    padding: 16px;
    color: rgba(114, 114, 114, 1);
}
.evgd-choice-question {
    background-color: #FFFFFF;
    position: relative;
    padding-right: 26px;
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(50, 52, 55, 1);

}
.evgd-btn-save {
    position: absolute;
    right: 23px;
    transform: translateY(-15px);
}
.evgd-btn-save button {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 48px;
    border-radius: 8px;
    background: rgba(228, 68, 60, 1);
    border: none;
    color: white;
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 550;
    line-height: 24px;
    letter-spacing: 0em;


}
.evgd-btn-save button:disabled {
    cursor: not-allowed;
    background: rgba(226, 226, 226, 1);
}
.evgd-choice-question:first-letter {
    text-transform: uppercase;
}
.evgd-choice-container {
    margin-bottom: 25px;
}
.ranks-text-sub {
    font-family: "HelveticaNeueCyr", sans-serif;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    max-height: max-content;
    overflow: auto;

}
.ranks-text-sub::-webkit-scrollbar {
    width: 4px;               /* ширина всей полосы прокрутки */
}
.ranks-text-sub::-webkit-scrollbar-track {
    background: rgba(226, 226, 226, 0.7);        /* цвет зоны отслеживания */
}
.ranks-text-sub::-webkit-scrollbar-thumb {
    background-color: rgba(226, 226, 226, 1);    /* цвет бегунка */
    border-radius: 20px;       /* округлось бегунка */
    border: none;  /* отступ вокруг бегунка */
}
.ranks-between {
    background: #f8fafc;
    width: calc(100% + (var(--bs-gutter-x))* 1);
    transform: translateX(calc(var(--bs-gutter-x)* (-0.5)));
    height: 10px;
    position: relative;
}
.ranks-btn-to button {
    background: rgba(228, 68, 60, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "HelveticaNeueCyr", sans-serif;
    font-size: 16px;
    font-weight: 550;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: #ffffff;
    outline: none;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
}
.evgd-ranks-numbers {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.evgd-ranks-numbers div {
    display: flex;
    justify-content: center;
}
.evgd-ranks-num-first {
    color: rgba(50, 52, 55, 1);
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0em;
    text-align: center;

}
.evgd-ranks-num-second {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 16px;
    color: rgba(50, 52, 55, 1);
}
.evgd-ranks-num-third {
    color: rgba(228, 68, 60, 1);
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;

}
.height-100perc {
    height: 100%;
}
.evgd-recomended-total {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.recomended-title {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(228, 68, 60, 1);
}
.evgd-recomended-left {
    padding: 40px 24px 0 24px;
}
.evgd-course-section-rec {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 16px;
}
.evgd-recomended-left .evgd-course-section-rec:nth-child(even) {
    background: rgba(249, 249, 249, 1);
    border-radius: 8px;
}
.rec-course-name {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(50, 52, 55, 1);
    margin-bottom: 8px;
}
.rec-course-description {
    color: rgba(50, 52, 55, 1);
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;

}
.rec-corse-attention {
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(114, 114, 114, 1);
}
.chatbot-choose-image {
    position: absolute;
    right: 10%;
    height: 100%;
    bottom: 0;
}
.evgd-start-title {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0em;
    text-align: left;

}
.evgd-start-description {
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(50, 52, 55, 1);
}
.evgd-btn-start-test {
    margin-top: auto;
    margin-left: auto;
}
.evgd-btn-start-test button {
    background: rgba(228, 68, 60, 1);
    border-radius: 8px;
    padding: 12px 16px;
    border: none;
    color: #FFFFFF;
}
.evgd-stage {
    padding-right: calc(var(--bs-gutter-x)* 0.5);
    padding-left: calc(var(--bs-gutter-x)* 0.5);
    font-family: HelveticaNeueCyr, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;

}
.thanks-for-results {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    min-height: 80vh;
    min-height: 80dvh;
}
.evgd-detailed-dialog {
    width: 50%;
    z-index: 2;
    display: block;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    overflow-y: auto;
    overflow-x: hidden;
    /*align-content: end;*/
    height: max-content;
    max-height: 500px;
    margin-top: auto;
}
.prompt_user, .user {
    position: relative;
    background: white;
    border: 8px solid #EAE5DD;
    border-radius: 8px;
    padding: 16px;
    z-index: 2;
    max-width: 100%;
    width: calc(100% - 25px);
    margin-left: 25px;
}
.prompt_ai, .ai {
    position: relative;
    background: white;
    border: 8px solid #EAE5DD;
    border-radius: 8px;
    padding: 16px;
    z-index: 2;
    max-width: 100%;
    width: calc(100% - 25px);
    margin-right: 25px;
}
.prompt_user:before, .user:before {
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    background: #EAE5DD;
    position: absolute;
    left: -36px;
    top: 34px;
}
.prompt_ai:before, .ai:before {
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    clip-path: polygon(100% 100%, 0 0, 0 100%);
    background: #EAE5DD;
    position: absolute;
    top: 34px;
    right: -36px;
}
.textarea-container-evgd {
    margin-bottom: 20px;
}
.textarea-container-evgd textarea {
    padding: 10px;
}
.evgd-btn-profile-control {
    display: flex;
    flex-direction: column;
}
.evgd-redactirovat-btn {
    display: flex;
    align-items: center;
    border: 2px solid #E2E2E2;
    padding: 13px 25px;
    justify-content: center;
    font-size: 16px;
    color: #727272;
    border-radius: 8px;
    margin-bottom: 16px;
    background: none;
}
.evgd-logout-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E4443C;
    padding: 13px 25px;
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
}
.evgd-profile-results {
    color: #E4443C;
    font-size: 16px;
    margin-bottom: 32px;
}
.evgd-redactirovat-btn img {
    margin-right: 10px;
}
.evgd-profile-username {
    color: #323437;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 0;
    line-height: 105%;
}
.evgd-profile-name {
    color: #323437;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}
.evgd-profile-age {
    color: #727272;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 32px;
}
.evgd-profile-education {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #727272;
    margin-bottom: 32px;
}
.evgd-profile-vk {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #727272;
    margin-bottom: 16px;
}
.evgd-profile-vk a {
    color: #727272;
    text-decoration: none;
}
.evgd-profile-vk img {
    margin-right: 16px;
}
.evgd-profile-education img {
    margin-right: 16px;
}
.evgd-profile-date {
    color: #727272;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat';
}
.evgd-profile-res-items {
    color: #323437;
    font-size: 16px;
    font-weight: 400;
    font-family: ' HelveticaNeueCyr', sans-serif;
}
.evgd-user-model-icon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 500px;
    min-width: 200px;
    position: absolute;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.evgd-user-model-icon img {
    max-height: 100%;
}
.evgd-chatbot-wondow {
    border-radius: 20px;
}
.profile-cabinet-container {
    background: none!important;
}
.profile-cabinet-data {
    background: white;
    border-radius: 15px;
    padding: 24px;
}
.profile-cabinet-avatar {
    display: flex;
    flex-direction: column;
}
.cabinet-avatar-arrows {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
}
.cabinet-profile-avatar-image {
    max-height: 520px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 24px;
    background: url("../images/avaprofilebg.png") no-repeat center;
    background-size: cover;
    border-radius: 24px;
    overflow: hidden;
}
.cabinet-profile-avatar-image img {
    max-height: 100%;
}
.profile-cabinet-arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: white;
    border-radius: 8px;
    width: 48px;
    height: 48px;
}
.profile-cabinet-arrow-container button {
    outline: none;
    border: none;
    background: none;
    padding: 0;
}
.profile-avatar-random {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    height: 48px;
    background: white;
    border-radius: 8px;
}
.profile-cabinet-data .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px #E4443C;
    border-color: #E4443C;
}
.profile-cabinet-ava-btn {
    cursor: pointer;
    color: #727272;
    background: white;
    border: 2px solid #E2E2E2;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 48px;
}
.profile-cabinet-container .form-control {
    appearance: auto;
}
.profile-cabinet-ava-btn.data-profile-cab-save {
    cursor: pointer;
    color: white;
    background: #727272;
    border: 2px solid #727272;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 48px;
}
.profile-cabinet-ava-btn:hover {
    border: 2px solid #E2E2E2;
}
.profile-cabinet-ava-btn:disabled {
    color: white;
    border: 2px solid #E2E2E2;
    background: #E2E2E2;
    cursor: not-allowed;
}
.profile-ava-btn-container-save {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
}
.w50h50 {
    grid-template-columns: 1fr 1fr;
}
.w50h50 .users-test-single-item {
    height: 50vh;
}
.w100h100 .users-test-single-item {
    height: 90vh;
}
.w33h50 .users-test-single-item {
    height: 30vh;
}
.w100h100 {
    grid-template-columns: 1fr;
}
.w33h50 {
    grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width: 1600px) and (max-height: 760px) {
    .evgd-main-welcome {
        padding: 3vh 2vw;
    }
    .evgd-welcome-text {
        font-size: 28px;
        line-height: 124%;
    }
}
@media screen and (max-width: 1400px) and (max-height: 720px) {
    .welcome-teacher {
        left: 0;
        max-width: 27vw;
    }
    .user-test-single {
        grid-template-columns: 1fr!important;
    }
}

label {
    /*todo убрать*/
    user-select: auto !important;
}
