@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,450;0,530;0,600;0,650;1,450;1,530;1,600&family=PT+Sans+Caption:wght@700&display=swap');

:root {    
    --header_font: 'PT Sans Caption', sans-serif;
    --header_weight: 700;
    --main_font: 'Open Sans', sans-serif;
    --main_weight: 430;
    --main_bold_weight: 530;
    --main_bolder_weight: 600;
    --main_boldest_weight: 650;
    --border: 2px solid var(--lightgray);
    --radius: 16px;
    --nav_height: 70px;
    --accent: #1c55e5;
    --sub_accent: #1c55e5;
    --darker_accent: #133a9d;
    --sub_darker_accent: #133a9d;
    --lighter_accent: #3d73fa;
    --main: #202124;
    --always_main: #202124;
    --lighter_main: #3d3d4e;
    --white: #ffffff;
    --secondary: #70787C;
    --lightgray: #dde6ec;
    --lightgray_2: #C3D1DB;
    --secondary_background1: #e4ebf2;
    --gray: #e1e7ee;
    --secondary_background: #F6F9FA;
    --secondary_background_2: #eef1f2;
    --progress: #8063fc;
    --green: #32bf4c;
    --transp_green: #38da561f;
    --red: #F6511D;
    --transp_red: #da38561f;
    --darkred: #c23f17;
    --pink: #ce82ff;
    --blue3: #00aeff;
    --blue_text: #1899d6;
    --blue_border: #84d8ff;
    --lightblue: #ddf4ff;
    --darkblue: #2b70c9;
    --orange: #ff9d00;
    --orange3: #EE823A;
    --xp: #32bf4c;
    --yellow: #ffc800;
    --darkgreen: #24a032;
    --coral: #ff5353;
    --turq: #16bbbb;
    --bronze: #E1BC94;
    --darkorange: #F46A37;
    --plus_grad: linear-gradient(114deg, rgba(50, 191, 76, 1) 22%, rgba(28,85,229, 1) 60%, rgba(128,99,252, 1) 87%);
    --plus_back_grad: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, #FFF 62.11%), linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%), linear-gradient(66deg, #8063fc 14.55%, #1c55e5 42.56%, #32bf4c 73.53%);
}

.darkmode {
    --accent: #6893FF;
    --sub_accent: #1c55e5;
    --darker_accent: #0a469e;
    --lighter_accent: #3d73fa;
    --main: #fff;
    --lighter_main: #c2d4dd;
    --white: #000;
    --secondary: #c2d4dd;
    --lightgray: #C3D1DB;
    --secondary_background1: #808488;
    --gray: #646769;
    --secondary_background: #1a1b1d;
    --secondary_background_2: #1a1b1d;
    --lightblue: #202f36;
    --plus_back_grad: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, #000000 62.11%), linear-gradient(0deg, rgba(109, 109, 109, 0.8) 0%, rgba(112, 112, 112, 0.8) 100%), linear-gradient(66deg, #8063fc 14.55%, #1c55e5 42.56%, #32bf4c 73.53%);
}

.obshhestvoznanie,
.obshhestvoznanie-courses-ege,
.istoriya-courses-ege,
.istoriya,
.istoriya-ege,
.istoriya-trenazhyory,
.istoriya-rossii {
    --sub_accent: var(--orange3);
    --sub_darker_accent: var(--darkorange);
}

.english,
.anglijskij-yazyk,
.anglijskij-yazyk-ege {
    --sub_accent: var(--pink);
    --sub_darker_accent: #9c63c2;
}

.math,
.algebra,
.matematika,
.matematika-oge,
.matematika-oge-courses,
.matematika-bazovyj-uroven,
.matematisheskie-trenazhyory {
    --sub_accent: var(--blue3);
    --sub_darker_accent: var(--darkblue);
}

.geometry,
.geometriya,
.matematika-profilnyj-uroven {
    --sub_accent: var(--progress);
    --sub_darker_accent: #5f49bc;
}

.ege,
.ege-courses {
    --sub_accent: var(--accent);
}

.physics,
.bio,
.fizika,
.fizika-courses-ege,
.himiya,
.himiya-courses-ege,
.geografiya,
.biologiya,
.biologiya-ege,
.biologiya-ege-courses,
.okruzhayushhij-mir {
    --sub_accent: var(--green);
    --sub_darker_accent: var(--darkgreen);
}

.russian,
.russkij-yazyk,
.russkij-yazyk-ege,
.russkij-yazyk-oge,
.literatura,
.literatura-ege,
.literatura-courses-ege,
.chtenie {
    --sub_accent: var(--darkorange);
    --sub_darker_accent: #ce582d;
}

.trenazhyory-dlya-mozga {
    --sub_accent: #f771c4;
    --sub_darker_accent: #c3579a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--white);
    max-width: 100%;
    overflow-x: hidden;
    line-height: 1.4;
    font-size: 16px;
    font-family: var(--main_font);
    color: var(--main);
    font-weight: var(--main_weight);
}

p {
    line-height: 1.6em;
}

body {
    padding-top: var(--nav_height);
}

strong, b {
    font-weight: var(--main_bolder_weight);
}

body,
textarea,
input,
a,
button {
    font-size: inherit;
    font-family: inherit;
}

input[type="submit"] {
    appearance: none;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
    background-color: var(--secondary_background);
    color: var(--main);
    font-size: inherit;
    padding: 9px 16px;
    border-radius: 16px;
    border: var(--border);
    outline: none;
    box-shadow: none;
    appearance: none;
}

select {
    background-color: var(--white);
}

textarea {
    max-width: 100%;
}

h1 {
    color: var(--main);
}

.h, h1 {
    -webkit-font-smoothing: antialiased;
    line-height: 1.2;
    font-family: var(--header_font);
    font-weight: var(--header_weight);
}

h2,
h3,
h4,
h5,
h6 {
    font-family: var(--main_font);
    font-weight: var(--main_bolder_weight);
    line-height: 1.2;
    color: var(--main);
}

a {
    color: var(--accent);
    text-decoration: none;
}

.pointer {
    cursor: pointer;
}

ul,
ol {
    padding-left: 1.37em;
}

.und:hover,
.und:active {
    text-decoration: underline;
}

.green {
    color: var(--green);
}

.red {
    color: var(--red) !important;
}

.sec {
    color: var(--secondary);
}

.gray {
    color: var(--lighter_main);
}

.mf {
    font-family: var(--main_font);
}

.t {
    color: var(--main);
}


.f {
    color: #fff;
}

.white {
    color: var(--white);
}

.w-100 {
    width: 100%;
}

.accent {
    color: var(--accent) !important;
}

.bold_0 {
    font-weight: var(--main_bold_weight);
}

.bold {
    font-weight: var(--main_bolder_weight);
}

.alc,
.jc,
.row-r,
.row,
.navbar_content,
.flex-wrap,
.sb,
.flex {
    display: flex;
}

.hide {
    display: none;
}

.row-r {
    flex-direction: column-reverse;
}

.row {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.column {
    flex-direction: column;
}

.p_relative {
    position: relative;
}

.alc {
    align-items: center;
}

.jc {
    justify-content: center !important;
}

.sb {
    justify-content: space-between;
}

.je {
    justify-content: end;
}

.gap {
    gap: 24px;
}


.gap_10 {
    gap: 10px;
}

.gap_15 {
    gap: 15px;
}


.spacer {
    flex-grow: 1;
}

.text-center {
    text-align: center;
}

.pt {
    padding-top: 24px;
}

.pb {
    padding-bottom: 24px;
}

.py {
    padding-top: 24px;
    padding-bottom: 24px;
}

.ml {
    margin-left: 24px;
}

.mr {
    margin-right: 24px;
}

.mrb {
    margin-right: 32px;
}

.mr-10 {
    margin-right: 10px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt0 {
    margin-top: 0;
}

.mt {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mtb {
    margin-top: 48px;
}

.mbb {
    margin-bottom: 48px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb {
    margin-bottom: 24px;
}

.bt {
    border-top: var(--border);
}

.no_m {
    margin: 0;
}

.btn {
    outline: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    text-align: center;
    padding: 12px 22px;
    text-transform: uppercase;
    font-weight: var(--main_boldest_weight);
    font-size: 15px;
    box-shadow: none;
    color: var(--white);
    border-radius: var(--radius);
    background-color: transparent;
    border: 0px solid transparent;
    border-bottom-width: 4px;
    z-index: 1;
    transition: filter .2s;
}

.btn.normal {
    font-size: inherit;
    text-transform: none;
    font-weight: var(--main_bold_weight);
}

.btn.wide {
    min-width: 150px;
}

.btn.big_btn {
    padding: 15px 24px;
    max-width: 350px;
}

.btn.very_wide {
    width: 100%;
    max-width: 330px;
}

.btn.big_btn:not(.secondary) {
    min-width: 200px;
}

.btn::before {
    background-color: var(--accent);
    border-radius: var(--radius);
    bottom: 0;
    box-shadow: 0 4px 0 var(--darker_accent);
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.btn:not(:disabled):hover {
    filter: brightness(1.1);
}

.btn:active,
.btn:disabled {
    transform: translateY(4px) translateZ(0);
}

.btn.secondary {
    border: solid transparent;
    padding: 11px 20px;
    border-width: 2px 2px 4px;
    color: var(--secondary);
}

.btn.secondary::before {
    border: var(--border);
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background-color: var(--white);
    box-shadow: 0 2px 0 var(--lightgray);
}

.btn.secondary:active,
.btn.secondary:disabled {
    transform: translateY(2px) translateZ(0);
}

.btn.secondary:hover {
    filter: brightness(.94);
}

.btn:active::before {
    box-shadow: none !important;
}

.btn.green {
    color: var(--white);
}

.btn.green::before {
    background-color: var(--green);
    box-shadow: 0 4px 0 var(--darkgreen);
}

button:disabled,
.btn:disabled {
    color: var(--lightgray_2);
}

button:disabled::before,
.btn:disabled::before {
    background-color: var(--secondary_background1);
    box-shadow: none;
}

.container {
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
}

.box {
    border: var(--border);
    border-radius: var(--radius);
    padding: 24px
}

.bb {
    border-bottom: var(--border);
    border-bottom-width: 4px;
}


/* navbar_content */

.search_icon {
    width: 31px;
}

.home_url {
    height: 28px;
    width: 103px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("img/text-logo.svg");
}

.navbar {
    z-index: 100;
    background-color: var(--white);
    border-bottom: var(--border);
    position: fixed;
    width: 100%;
    top: 0;
}

.navbar_content {
    width: 100%;
    padding: 0 24px;
    height: calc(var(--nav_height) - 2px);
    max-width: 1224px;
    margin: auto;
}

.flat_btn {
    padding: 9px 14px;
    border-radius: var(--radius);
    font-weight: var(--main_bolder_weight);
    border: 2px solid transparent;
}

.flat_btn:hover {
    color: var(--main);
    background-color: var(--secondary_background);
}

.nav_btns {
    gap: 4px;
}

.nav_btns img {
    margin-right: 10px;
}

.up {
    text-transform: uppercase;
}

#cards_btn_dop,
#ege_btn_dop {
    display: none;
}


/* FULLCATALOG */

.sub_img {
    width: 36px;
    height: 36px;
    background-color: var(--sub_accent);
    border-bottom: 3px solid var(--sub_darker_accent);
    border-radius: 10px;
}

#fullcatalog {
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.127);
    position: fixed;
    top: var(--nav_height);
    bottom: -1px;
    opacity: 0;
    pointer-events: none;
    transition: 0.1s ease-in-out opacity;
}

#fullcatalog_content {
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    margin: auto;
    max-width: 800px;
}

.catalog_left,
.catalog_right {
    max-height: calc(90vh - var(--nav_height) - 100px);
    min-height: 150px;
    overflow-y: auto;
}

.catalog_left {
    background-color: var(--white);
    min-width: 150px;
    font-size: 20px;
}

.grade_selector {
    padding: 15px 24px;
    border-radius: 0;
}

.catalog_bottom {
    max-width: 100%;
    overflow-x: auto;
    background-color: var(--secondary_background);
}

.country_selector {
    font-size: 15px;
    padding: 15px 24px;
}

.country_selector.selected {
    background-color: var(--secondary_background_2);
}

.grade_selector.selected {
    background-color: var(--secondary_background1);
}

.catalog_right {
    flex-grow: 1;
    padding: 24px;
    background-color: var(--secondary_background);
}

.right_choice:not(.selected),
.catalog_columns:not(.selected) {
    display: none;
}

.subject {
    min-width: calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
    font-size: 20px;
}

.subject .btn {
    color: var(--main);
}

.subject .btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.full_catalog_opened #fullcatalog {
    opacity: 1;
    pointer-events: all;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.full_catalog_opened #open_catalog,
.flat_btn.active {
    color: var(--blue_text);
    background-color: var(--lightblue);
    border-color: var(--blue_border);
}


.header_toast {
    right: 15px;
    width: 300px;
    border-radius: 0.8rem;
    overflow: hidden;
}

#create_toast {
    width: auto;
    right: 60px;
}

#more_toast {
    position: fixed;
    z-index: 100;
    width: 167px;
}

#more_toast .flat_btn {
    border-radius: 0;
} 

.header_toast ul {
    padding: 0;
    list-style: none;
}

.header_toast ul li a {
    display: block;
    text-transform: none;
    padding: 12px 24px;
    border-top: var(--border);
    color: var(--accent);
}

.header_toast ul li a:hover {
    background-color: var(--secondary_background);
}

.header_toast ul li:first-child a {
    border-top: 0;
}

/* log in */

.logged,
.parent_only,
.child_only,
.teacher,
.ad,
.no_sub,
.not_logged {
    display: none !important;
}

.logged-in .logged,
.parent-role .parent_only,
.teacher-role .teacher,
.not-logged-in .not_logged,
.child-role .child_only,
.has_no_sub .no_sub {
    display: block !important;
}

/* teacher */
.teacher_nav {
    background-color: var(--white);
    padding: 10px 0;
    border-bottom: var(--border);
}

/* achievements */

.coin,
.sap,
.streak,
.stat .xp {
    font-weight: var(--main_bolder_weight);
}

.sap {
    color: var(--progress);
}

.stat span {
    margin-left: 7px;
}

.stat img {
    height: 30px !important;
}

.coin {
    color: var(--yellow);
}

.xp {
    font-weight: var(--main_bolder_weight);
    color: var(--xp);
}

.streak {
    color: var(--orange);
}

.streak_stat.hurry {
    position: relative;
}

.streak_stat.hurry::before {
    content: "!";
    font-size: 13px;
    position: absolute;
    z-index: 100;
    padding: 0 4px;
    color: #fff;
    background-color: var(--red);
    border-radius: 5px;
    text-align: center;
    left: 13px;
    bottom: -5px;
}

.stat.dis .coin,
.stat.dis .xp,
.stat.dis .sap,
.stat.dis .streak {
    color: var(--secondary) !important;
}

.stat.dis img,
img.dis {
    filter: grayscale(100);
}

.stat_toast b {
    display: block;
    font-size: 27px;
    margin-bottom: 8px;
}

.header_toast,
.stat_toast {
    display: none;
    position: absolute;
    z-index: 100;
    top: calc(var(--nav_height) - 8px);
    background-color: var(--white);
    border: var(--border);
}

.stat_toast {
    right: 120px;
    padding: 24px;
    border-radius: var(--radius);
    max-width: 600px;
    font-size: 17px;
}

.stat_tri {
    position: absolute;
    top: -20px;
    height: 20px;
    transform: rotate(180deg);
    width: 100%;
    overflow: hidden;
}

.stat_tri::after {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    top: -12px;
    left: 20px;
    border-radius: 2px;
    transform: rotate(-45deg);
    background-color: var(--white);
    border: var(--border);
}

.stat_toast img {
    height: 60px;
}

.coin_toast {
    max-width: 500px;
}

.avatar,
.create_btn {
    border: var(--border);
    height: 36px;
    width: 36px;
    border-radius: 50%;
    position: relative;
}

/* PLUS */ 

.has_sub .avatar.my,
.avatar.plus {
    border-color: transparent !important;
}

.has_sub .avatar.my::before,
.avatar.plus::before {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background: var(--plus_grad);
    border-radius: 100vh;
    z-index: 0;
}

.avatar img {
    border-radius: 50%;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    position: relative;
    z-index: 1;
    background-color: var(--white);
}

.create_btn {
    background-color: var(--accent);
    border-color: var(--accent);
}

.create_btn::before,
.create_btn::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 18px;
    border-radius: 50vh;
    background-color: #fff;
}

.create_btn::after {
    transform: rotate(90deg);
}

#history_calendar {
    gap: 10px
}

#history_calendar div {
    width: 25px;
    height: 25px;
    border-radius: 100px;
    background-color: var(--lightgray);
}

#history_calendar span.active div {
    background-color: var(--orange);
}


/* .navbar_content END */

/* ALERT */

.alert {
    z-index: 100;
    position: fixed;
    bottom: 0;
    left: 24px;
    height: 160px;
    width: 480px;
    max-width: calc(100% - 48px);
    padding: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    border-radius: var(--radius);
}

.alert img {
    height: 63px;
    margin-right: 30px;
}

.alert .anim {
    position: absolute;
    left: 0;
    top: -20px;
    width: 100%;
    height: auto;
    z-index: -1;
}

.alert .small {
    font-weight: var(--main_bolder_weight);
    font-size: 15px;
}

.alert .upper_text {
    margin-bottom: 5px;
}

.alert .h {
    margin-bottom: 10px;
    font-size: 23px;
}

.streak_alert {
    border: 4px solid #FFE8D8;
    background: #FFF6EF;
    color: var(--always_main);
}

.welcome_alert {
    left: unset !important;
    right: 0;
    padding: 0 0 0 24px !important;
    height: auto;
    width: auto;
    max-width: unset;
}

.welcome_alert .box {
    max-width: 350px;
    background-color: var(--white);
    margin-bottom: 24px;
}

#welcome {
    width: 250px;
    margin-bottom: -135px;
}

@media (max-width: 600px) {
    .welcome_alert .alc {
        flex-direction: column;
    }
    .welcome_alert .box {
        margin: 0 24px 15px 0;
    }
}

/* FOOTER */

footer {
    padding-top: 48px;
    background-color: var(--secondary_background);
    border-top: 2px solid var(--lightgray);
    font-size: 16px;
}

footer a {
    color: var(--lighter_main);
    display: block;
}

footer a:not(.fh) {
    margin: 15px 0;
}

.footer_links {
    max-width: 700px;
    column-count: 2;
    column-gap: 24px;
}

.footer_links div {
    display: inline-block;
    width: 100%;
}

.footer_more {
    margin-bottom: 24px;
}

.tagline {
    max-width: 356px;
}

.fh {
    font-size: 17px;
    font-weight: var(--main_bold_weight);
}

.bottom {
    padding: 12px 0;
    border-top: 1px solid #e7e7e9;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

/* FOOTER END */

@media (min-width: 768px) {
    .row,
    .row-r {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer_links {
        column-count: 3;
    }
    .footer_more {
        margin: 24px 0 0 0;
    }
    .bigrow {
        flex-direction: column;
    }
    .mobile {
        display: none !important;
    }
    .alert {
        left: 32px;
        padding: 32px;
    }
    .alert img {
        height: 88px;
    }
}

@media (max-width: 1188px) {
    .nav_btns {
        margin-right: 17px;
    }
    .nav_btns .flat_btn {
        padding: 10px;
    }
}

@media (max-width: 1130px) {
    #cards_btn_main {
        display: none;
    }
    #cards_btn_dop {
        display: flex;
    }
}

@media (max-width: 970px) { 
    .navbar .home_url {
        height: 36px;
        width: 36px;
        border-radius: 5px;
        background-image: url(img/mobile-logo.svg);
    }
}

@media (max-width: 860px) {
    #ege_btn_main {
        display: none;
    }
     #ege_btn_dop {
        display: flex;
    }
}

@media (max-width: 767px) {
    .desk {
        display: none;
    }
    #create_btn {
        display: none;
    }

    .stat_toast {
        right: 61px;
    }
}

@media (max-width: 690px) {
    .sap_stat,.coin_stat {
        display: none;
    }
    .stat_toast {
        right: 15px;
    }
    .stat_tri {
        right: 65px;
    }
    .subject {
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 570px) {
    .stat_toast {
        left: 15px;
    }
}

@media (max-width: 535px) {
    .nav_btns {
        margin-right: 14px;
    }
    #profile_btn {
        margin-left: 20px;
    }
    .stat_tri {
        right: 61px;
    }
    .nav_search {
        margin-left: 20px;
    }
}

@media (max-width: 506px) {
    #open_catalog span,
    #open_more_catalog span {
        display: none;
    }
    #open_catalog img, 
    #open_more_catalog img{
        margin-right: 0;
    }
    .catalog_left {
        min-width: 110px;
        font-size: 17px;
    }
    .subject .btn {
        font-size: 14px;
        padding: 11px;
    }
    .grade_selector,
    .catalog_right {
        padding: 15px;
    }
}

@media (max-width: 370px) {
    .navbar_content,
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

     .stat_toast {
        right: 5px;
        left: 5px;
    }
}

@media (max-width: 345px) {
    .streak_stat {
        display: none;
    }
    #profile_btn {
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .bigrow {
        flex-direction: row;
    }
}

@media (min-width: 1224px) {
    h1 {
        font-size: 2.6rem;
    }
    .container {
        width: 1224px;
    }
}

table {
    width: 100%;
    border-spacing: 0;
    max-width: 100%;
    border-collapse: unset !important;
    background-color: var(--white);
}

td,
th {
    line-height: 22px;
    padding: 12px 5px;
    text-align: left;
}

table th {
    background-color: var(--secondary_background) !important;
    border: 2px solid var(--lightgray) !important;
    font-weight: var(--main_bold_weight);
    border-bottom: 0 !important;
    border-left-width: 0 !important;
}

tr td:first-child,
tr th:first-child {
    border-left-width: 2px !important;
}

tr:hover {
    background-color: var(--secondary_background);
}

.has-text-align-center {
    text-align: center;
}

td {
    border-color: var(--lightgray) !important;
    border-style: solid;
    border-width: 2px 2px 0 0 !important;
}

table tr:first-child th:first-child,
table tr:first-child td:first-child {
    border-left-width: 2px;
    border-top-left-radius: 16px;
}

thead~tbody tr:first-child td:first-child {
    border-top-left-radius: 0;
}

table tr:first-child th:last-child,
table tr:first-child td:last-child {
    border-top-right-radius: 16px;
}

thead~tbody tr:first-child td:last-child {
    border-top-right-radius: 0;
}

table tr:last-child td {
    border-bottom: 2px solid var(--lightgray) !important;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.toggle-control {
    line-height: 1;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.toggle-control input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-control input:checked~.control {
    background-color: var(--accent);
}

.toggle-control input:checked~.control:after {
    left: 25px;
    border-color: var(--accent);
}

.toggle-control .control {
    height: 24px;
    width: 57px;
    border-radius: 10vh;
    background-color: var(--lightgray);
    transition: background-color 0.15s ease-in;
}

.toggle-control .control:after {
    content: "";
    position: absolute;
    left: 0;
    top: -5px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: white;
    border: var(--border);
    border-bottom-width: 4px;
    transition: left 0.25s ease-in-out;
}