@charset "utf-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
    all: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* remove default dot (•) sign */
::marker {
    content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
    all: revert;
}

:root {
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #0a0a0a;
    --orange: #f97316;
    --orange-light: #ffedd5;
    --green: #84cc16;
    --green-light: #ecfccb;
    --blue: #0ea5e9;
    --blue-light: #cffafe;
    --black: #000000;
    --white: #ffffff;
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/IRANYekanWebRegular.woff") format("woff");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/IRANYekanWebMedium.woff") format("woff");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/IRANYekanWebBold.woff") format("woff");
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--gray-100);
    color: var(--black);
    font-family: iranyekan;
    font-size: 16px;
    line-height: 1.68;
    direction: rtl;
    text-align: right;
}

a,
button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 1280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tab__links{
    border: 2px solid var(--gray-400);
    border-radius: 48px;
    display: flex;
    justify-content: center;
    padding: 4px;
    margin: 16px 0 32px 0
}

.tab__button{
    flex-grow: 1;
    text-align: center;
    color:  var(--gray-400);
    border-radius: 48px
}

.tab__button.active{
    background: var(--orange);
    color: var(--white)
}

.tab__content:not(.active){
    display: none
}

@media screen and (max-width: 1320px) {
    .container {
        width: 100%;
        padding: 0 64px;
    }
}

@media screen and (max-width: 780px) {
    .container {
        padding: 0 24px;
    }
}

.navbar {
    padding: 40px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    line-height: 0;
}

.navbar__logo img {
    height: 64px;
    width: auto;
}

.navbar__menu {
    display: flex;
    gap: 48px;
    font-size: 18px;
}

.navbar__menu a:hover {
    color: var(--orange);
}

.button {
    padding: 0.5em 1em;
    border-radius: 0.5em;
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25em;
    color: var(--white);
}

.navbar__actions .button {
    font-size: 18px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.home-slider {
    position: relative;
}

.home-slider .swiper-slide img {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.home-slider .swiper-pagination {
    text-align: right;
    padding: 0 24px;
    --swiper-pagination-bottom: 20px;
    --swiper-pagination-color: var(--white);
    --swiper-pagination-bullet-inactive-color: transparent;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-width: 14px;
    --swiper-pagination-bullet-height: 14px;
}

.swiper-pagination-bullet {
    border: 1px solid var(--white);
}

.konkur-daycounter {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    background-color: var(--gray-100);
    border-radius: 0 24px 0 0;
    padding: 24px;
    margin-bottom: 9px;
}

.konkur-daycounter__calendar {
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 5px 0.1px #0a0a0a4b;
    border-radius: 20px;
}

.konkur-daycounter__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1.3;
    border-radius: 20px 20px 0 0;
    background-color: var(--orange);
}

.konkur-daycounter__dots {
    flex: 1.8;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.konkur-daycounter__dot {
    width: 20px;
    height: 20px;
    background-color: var(--gray-100);
    border-radius: 10px;
    position: relative;
}

.konkur-daycounter__line {
    width: 15px;
    height: 35px;
    border-radius: 10px;
    background-color: var(--gray-400);
    position: absolute;
    bottom: 5px;
    right: 2.5px;
}

.konkur-daycounter p {
    flex: 1;
    color: var(--white);
    font-weight: bold;
}

.konkur-daycounter__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 2;
}

.konkur-daycounter__body strong {
    color: var(--blue);
    font-size: 75px;
    font-weight: bold;
}

.konkur-daycounter__radius {
    position: absolute;
    width: 24px;
    height: 24px;
}

.konkur-daycounter__radius--top {
    top: -24px;
    left: 0;
    fill: var(--gray-100);
}

.konkur-daycounter__radius--bottom {
    bottom: 0;
    right: -24px;
    fill: var(--gray-100);
}

.box {
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0px 4px 12px rgba(13, 10, 44, 0.06);
}

.box__header {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    padding: 24px 0;
    background-color: var(--gray-700);
    color: var(--white);
}

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

.box__header--orange {
    background-color: var(--orange);
}

.box__header--white {
    background: var(--white);
    color: var(--black);
}

.box__body {
    padding: 24px;
}

.home-section {
    margin-top: 64px;
}

.has-grid {
    display: grid;
    gap: 24px;
}

.grid-4-2 {
    grid-template-columns: 4fr 2fr;
}

.grid-1-1-1 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-1-4 {
    grid-template-columns: 1fr 4fr;
}

.news,
.top-rate {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news a {
    border: 1px solid var(--gray-600);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
}

.news a h3 {
    font-size: 18px;
}

.news__date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.news__date span {
    color: var(--gray-400);
}

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

.top-rate__item p {
    font-size: 18px;
}

.top-rate__hour-box {
    align-items: center;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    padding: 8px 24px;
    border: 2px solid var(--gray-800);
    background-color: var(--gray-200);
    margin-top: 8px;
}

.top-rate__hour-box strong {
    color: var(--gray-800);
    font-size: 24px;
}

.top-rate__hour-box--green {
    border-color: var(--green);
    background-color: var(--green-light);
}

.top-rate__hour-box--orange {
    border-color: var(--orange);
    background-color: var(--orange-light);
}

.top-rate__hour-box--blue {
    border-color: var(--blue);
    background-color: var(--blue-light);
}

.top-rate__hour-box--green strong {
    color: var(--green);
}

.top-rate__hour-box--orange strong {
    color: var(--orange);
}

.top-rate__hour-box--blue strong {
    color: var(--blue);
}

.home-section__title {
    font-size: 36px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 32px;
}

.grid-1-1-1-1 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.home-article__item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 4px 12px rgba(13, 10, 44, 0.06);
}

.home-article__content {
    padding: 16px 24px 24px 24px;
}

.home-article__date {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: var(--white);
    display: flex;
    flex-direction: column;
    width: 56px;
    text-align: center;
    border-radius: 4px;
    color: var(--gray-400);
    font-size: 12px;
    padding: 4px;
    line-height: 1.2;
}

.home-article__date span:first-of-type {
    font-size: 14px;
}

.home-article__content h2 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 500;
}

.home-article__content p {
    font-size: 14px;
    color: var(--gray-500);
}

.home-article__content strong {
    color: var(--blue);
    margin-top: 8px;
    display: block;
    font-size: 14px;
}

.home-section__title--orange {
    color: var(--orange);
}

.home-comment__title {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

.home-comment__title img {
    width: 28px;
    object-fit: contain;
}

.home-comment__title p {
    font-size: 18px;
}

.home-comment__text {
    background-image: url(../images/comment-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.home-comment__text img {
    width: 80%;
    object-fit: contain;
}

.top-students__item {
    background-color: var(--blue);
    padding: 12px;
    border-radius: 12px;
    color: var(--white);
    font-size: 20px;
    text-align: center;
}

.top-students__image {
    position: relative;
    line-height: 0;
}

.top-students__image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.top-students__image p {
    position: absolute;
    bottom: 12px;
    background-color: var(--blue);
    width: calc(100% - 32px);
    text-align: center;
    line-height: 32px;
    right: 16px;
    border-radius: 8px;
    font-size: 20px;
}

.top-students__item h3 {
    margin-top: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
    margin-bottom: 8px;
}

.top-students__item--orange {
    background-color: var(--orange);
}

.top-students__item--green {
    background-color: var(--green);
}

.top-students__item--orange .top-students__image p {
    background-color: var(--orange);
}

.top-students__item--green .top-students__image p {
    background-color: var(--green);
}

.discount-box {
    align-items: center;
    background-image: url(../images/discount.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 600px;
    justify-content: center;
}

.discount-box h2 {
    color: var(--white);
    font-weight: normal;
    font-size: 20px;
}

.discount-box p {
    color: var(--white);
    font-weight: bold;
    font-size: 22px;
}

.discount-box label {
    color: var(--white);
    font-weight: normal;
    font-size: 18px;
}

.discount-box input {
    border: 1px solid var(--white);
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    padding: 5px;
    width: 260px;
    height: 40px;
    background-color: var(--orange);
    color: var(--white);
    outline: 0 none !important;
}

.discount-box .button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--orange);
    border: 0 none !important;
    outline: 0 none !important;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
}

.discount-box .Submit span {
    font-size: 16px;
}

.advantages {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 128px;
    align-items: center;
    flex-wrap: wrap;
}

.advantages__item strong {
    font-size: 72px;
    font-weight: bold;
    color: var(--blue);
    line-height: 1;
}

.advantages__item p {
    font-size: 20px;
}

.advantages__item:nth-child(3n - 1) strong {
    color: var(--orange);
}

.advantages__item:nth-child(3n - 2) strong {
    color: var(--green);
}

.rules {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer {
    background-color: var(--gray-800);
    color: var(--white);
    padding: 48px 0;
    margin-top: 128px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer .back-to-top {
    position: absolute;
    top: 0;
    right: 32px;
}

.footer__logo {
    margin-bottom: 24px;
    height: 64px;
    width: auto;
}

.footer__menu {
    display: flex;
    gap: 16px 56px;
    padding: 0 16px 16px 16px;
    border-bottom: 2px solid var(--white);
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer__social {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.footer__social svg,
.footer__social svg * {
    fill: var(--gray-400);
}

.footer__copyright {
    color: var(--gray-400);
}

.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 3;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    text-align: center;
}
.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}
.blocker.behind {
    background-color: transparent;
}
.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 4;
    max-width: 90vw;
    background: #fff;
    padding: 88px 64px;
    border-radius: var(--card-border-radius);
    text-align: right;
    border-radius: 16px;
    max-width: 446px;
}

.modal-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    background-color: #111;
    height: 20px;
}
.modal-spinner > div {
    border-radius: 100px;
    background-color: #fff;
    height: 20px;
    width: 2px;
    margin: 0 1px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
.modal-spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.modal-spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
.modal-spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
@-webkit-keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.5);
    }
    20% {
        -webkit-transform: scaleY(1);
    }
}
@keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

.form-description {
    margin: 0.5rem 0 1rem 0;
}

.form-description .form-description__title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-description .form-description__logo {
    text-align: center;
}

.form-description .form-description__text {
    font-size: 0.875rem;
}

.modal .modal__close {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.modal .modal__close:hover {
    color: var(--danger-color);
}

.modal .modal__icon {
    text-align: center;
    color: var(--gray-300);
}

.modal .modal__icon .feather {
    width: 6rem;
    height: 6rem;
}

.modal .close-modal {
    display: none;
    visibility: hidden;
}

.input {
    margin-bottom: 24px;
}

.input__box {
    border-bottom: 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input__field {
    padding: 6px;
    flex-grow: 1;
}

.button--full-width {
    width: 100%;
}

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

.button--orange {
    background-color: var(--orange);
}

.article__title {
    font-weight: 500;
    font-size: 36px;
    margin-bottom: 16px;
}

.article__date {
    text-align: left;
    margin-top: 32px;
    color: var(--orange);
}

.article__image {
    border-radius: 16px;
    line-height: 0;
    overflow: hidden;
}

.article__text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: right;

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

    a:hover {
        color: var(--blue);
    }

    p {
        margin-bottom: 1em;
    }

    strong,
    b {
        font-weight: bold;
    }

    img {
        height: auto;
        border-radius: 12px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 600;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
        line-height: 1.25;
    }

    h1 {
        font-size: 2.25em;
    }

    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.25em;
    }

    ul,
    ol {
        margin: 1em 0;
        padding-right: 48px;
        list-style: inherit;
    }

    ul li,
    ol li {
        margin-bottom: 0.5em;
    }

    blockquote {
        margin: 1em 0;
        padding: 0.5em 1em;
        border-right: 4px solid var(--orange);
    }

    .alignleft {
        float: left;
        margin: 0 1.5em 1em 0;
    }

    .alignright {
        float: right;
        margin: 0 0 1em 1.5em;
    }

    .aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery {
        margin: 0 auto;
    }

    .gallery-item {
        float: left;
        margin-top: 8px;
        text-align: center;
        width: 33%;
    }

    .gallery-caption {
        margin-left: 0;
    }
}

.article__title--blue {
    color: var(--blue);
}

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

.contact__item .socials {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.contact__item .socials .socialItem {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
}
.contact__item .addressBox {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.panel-menu {
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.1);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-menu .navbar__logo {
    height: 48px;
    display: flex;
    gap: 16px;
}

.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.profile-image img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.panel-body {
    display: flex;
}

.panel-navbar {
    min-width: 315px;
    background: var(--blue);
    height: calc(100vh);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 32px 24px 0;
    gap: 64px;
    overflow-y: auto;
    position: sticky;
    top: 0;
}

.panel-navbar li a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0 48px 48px 0;
    padding: 8px 16px;
    margin-bottom: 8px;
}

.panel-navbar li a:hover,
.panel-navbar li a.active {
    background: var(--gray-100);
    color: var(--black);
}

.panel-navbar li a svg {
    width: 24px;
    height: 24px;
}

.panel-navbar li a svg,
.panel-navbar li svg * {
    stroke: var(--white);
}

.panel-navbar li a:hover svg,
.panel-navbar li a:hover svg *,
.panel-navbar li a.active svg,
.panel-navbar li a.active svg * {
    stroke: var(--black);
}

.panel-navbar li a .badge {
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75em;
}

.panel-content {
    padding: 64px 96px;
    flex-grow: 1;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-calender {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-calender__date {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: var(--gray-500);
}

.panel-calender__day {
    background: var(--black);
    padding: 16px;
    font-size: 32px;
    line-height: 32px;
    font-weight: bold;
    color: var(--white);
    border-radius: 12px;
}

.print {
    display: flex;
    gap: 4px;
}

.panel-card-col {
    display: grid;
    gap: 32px;
}

.panel-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    position: relative;
}

.panel-card__title {
    margin-bottom: 16px;
    font-size: 18px;
}

.progress {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.progress .bar-overflow {
    position: relative;
    overflow: hidden;
    width: 152px;
    height: 152px;
}

.progress .bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 152px;
    height: 152px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 16px solid var(--gray-200);
}

.progress .percent {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 500;
}

.credit__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credit__name {
    color: var(--gray-500);
    font-size: 12px;
    margin-top: 6px;
}

.credit__value {
    font-size: 14px;
}

.countdown {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.countdown__value {
    background-color: var(--blue);
    width: 100%;
    height: 56px;
    border-radius: 4px;
    color: var(--white);
    line-height: 56px;
    font-size: 24px;
}

.countdown--green .countdown__value {
    background-color: var(--green);
}

.countdown--orange .countdown__value {
    background-color: var(--orange);
}

.countdown__label {
    font-size: 12px;
    color: var(--gray-600);
}

.panel-card__content h4 {
    font-weight: 500;
    margin: 16px 0 8px 0;
}

.time-table__grid {
    display: grid;
    grid-template-columns: max-content repeat(8, 12px);
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    justify-self: center;
}

.time-table__check {
    width: 12px;
    height: 12px;
    background: var(--gray-200);
    justify-self: center;
}

.time-table__check--present {
    background-color: var(--green);
}

.time-table__check--absent {
    background-color: var(--orange);
}

.time-table__check--semiPresent {
    background-color: var(--green-light);
}
.time-table__check--reserved {
    background-color: var(--blue);
}

.time-table__day,
.time-table__hours {
    font-size: 12px;
    color: var(--gray-500);
}

.time-table__legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
    gap: 8px 16px;
}

.time-table__legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-table__legend-item span {
    font-size: 12px;
}

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

.progress-line {
    position: relative;
    width: 100%;
    height: 16px;
    background-color: var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.bar-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--green);
    border-radius: 12px;
}
.progress-line .percent-line {
    display: none;
}

.percent-line {
    color: var(--gray-600);
}

.goal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking__item {
    background-color: var(--blue-light);
    border: 2px solid var(--blue);
    border-radius: 0 0 0 4px;
    padding: 8px;
    margin-bottom: -1px;
    white-space: nowrap;
}

.ranking__item--you {
    background-color: var(--blue);
    color: var(--white);
}

.grid-2-4 {
    grid-template-columns: 2fr 4fr;
}

.title-row .title {
    font-size: 24px;
}

.profile-info {
    padding-left: 32px;
}

.profile-info__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 2px solid var(--gray-900);
    padding: 8px;
    margin-bottom: 16px;
    background-color: var(--gray-200);
    position: relative;
}

.profile-info__item__title {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-info__item--green {
    border-color: var(--green);
    background-color: var(--green-light);
}

.profile-info__item--blue {
    border-color: var(--blue);
    background-color: var(--blue-light);
}

.profile-info__item--orange {
    border-color: var(--orange);
    background-color: var(--orange-light);
}

.profile-info__item__edit {
    position: absolute;
    left: -32px;
    width: 24px;
    height: 24px;
}

.table-container {
    overflow-x: auto;
}

.table {
    border: 2px solid var(--gray-500);
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: var(--gray-500);
    color: var(--white);
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--white);
}

.table thead th:not(:last-of-type) {
    border-left: 1px solid var(--white);
}

.table tbody tr:not(:last-of-type) th {
    border-bottom: 1px solid var(--white);
}

.table td {
    padding: 16px;
    text-align: center;
}

.table tbody td:not(:last-of-type) {
    border-left: 1px solid var(--gray-700);
}

.table tbody tr:not(:last-of-type) td {
    border-bottom: 1px solid var(--gray-700);
}

.table tbody tr:nth-child(2n) td {
    background-color: var(--gray-200);
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: calc(100vw - 64px);
}

.table.table--orange {
    border-color: var(--orange);
}

.table.table--orange th {
    background-color: var(--orange);
}

.table.table--orange tbody tr:nth-child(2n) td {
    background-color: var(--orange-light);
}

.table.table--orange tbody tr td {
    border-color: var(--orange);
}

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

.table.table--green th {
    background-color: var(--green);
}

.table.table--green tbody tr:nth-child(2n) td {
    background-color: var(--green-light);
}

.table.table--green tbody tr td {
    border-color: var(--green);
}

.table.table--blue {
    border-color: var(--blue);
}

.table.table--blue th {
    background-color: var(--blue);
}

.table.table--blue tbody tr:nth-child(2n) td {
    background-color: var(--blue-light);
}

.table.table--blue tbody tr td {
    border-color: var(--blue);
}

.table.table--blue tbody tr.not-read td {
    font-weight: bold;
}

.table svg {
    vertical-align: middle;
}

.first-notice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 12px;
    gap: 24px;
    background: var(--green-light);
    border: 2px solid var(--green);
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    margin-bottom: 24px;
}

.first-notice h2 {
    font-size: 24px;
}

.table input[type="checkbox"] {
    width: 32px;
    height: 32px;
    border: 2px solid;
    border-radius: 4px;
    -webkit-appearance: none; /* Remove default styles */
    -moz-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

.table input[type="checkbox"]:checked {
    background-color: var(--green);
    border-color: var(--green);
}

.table input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 11px;
    width: 6px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.table input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-sizing: border-box;
}

.time-table-notice strong {
    background: var(--blue);
    min-width: 34px;
    display: inline-block;
    text-align: center;
    color: var(--white);
    padding: 4px;
    border-radius: 4px;
}

.time-table-actions {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    justify-content: space-between;
    align-items: flex-start;
}

.time-table-actions .button {
    min-width: 150px;
}

.data-archive__fillter__wrapper {
    display: flex;
    gap: 16px;
    justify-content: center;
    border-bottom: 1px solid var(--gray-300);
    padding: 8px 0;
    align-items: center;
    flex-wrap: wrap;
}

.data-archive-widget .time-table__grid {
    grid-template-columns: max-content repeat(8, min-content);
    margin-top: 32px;
}

.data-archive__fillter__wrapper button {
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
}

.data-archive__fillter__wrapper button:hover,
.data-archive__fillter__wrapper button.active {
    color: var(--blue);
}

.data-archive__fillter__wrapper p {
    font-size: 14px;
}

.bar-chart__grid {
    display: grid;
    grid-template-columns: repeat(12, calc(8.33% - 11px));
    gap: 12px;
    align-items: end;
}

.bar-chart__bar {
    width: 100%;
    background: var(--gray-200);
    position: relative;
    border-radius: 8px;
}

.bar-chart__bar:hover {
    background: var(--green);
}

.bar-chart__bars {
    min-height: 256px;
    padding-top: 24px;
}

.bar-chart__label {
    font-size: 10px;
    text-align: center;
}

.bar-chart__value {
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.weekly-read-time {
    text-align: center;
    margin-bottom: 24px;
}

.weekly-read-time h2 {
    font-size: 18px;
}

.weekly-read-time p {
    font-size: 30px;
}

.panel-card--orange {
    background: var(--orange);
    color: var(--white);
}

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

.alert-card h2 {
    font-size: 30px;
    font-weight: 500;
}

.alert-card .blank-image {
    margin-top: 24px;
}

.test-bank {
    align-items: flex-start;
}

.test-bank__title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    background: var(--blue);
    border-radius: 12px;
    font-weight: 500;
    font-size: 36px;
    text-align: center;
    color: var(--white);
    margin-bottom: 32px;
}

.test-bank__sidebar {
    display: grid;
    gap: 24px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    border-radius: 0.5em;
    overflow: hidden;
}

.button-group button {
    flex-grow: 1;
}

.button-group button:not(.active) {
    background: transparent;
    color: var(--black);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox input[type="checkbox"] {
    all: revert;
}

.checkbox {
    cursor: pointer;
}

.test-bank__item {
    padding: 24px;
    text-align: center;
}

.test-bank__item__title {
    font-size: 20px;
}

.test-bank__item__description {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.myRank {
    position: absolute;
    left: 16px;
    top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.myRank strong {
    position: absolute;
    top: 2px;
    color: var(--blue);
    font-weight: bold;
}

.myRank span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.ranking-widget .panel-card__content {
    padding-top: 4px;
}

#menu-toggle {
    font-size: 32px;
    display: none;
}

@media only screen and (max-width: 1320px) {
    .panel-content {
        padding: 64px 32px;
    }
}

@media only screen and (max-width: 1120px) {
    .panel-content .grid-1-1-1 {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 980px) {
    .navbar:not(.panel-menu) .container {
        display: grid;
        grid-template-columns: 1fr max-content;
        gap: 16px;
    }

    .navbar:not(.panel-menu) .navbar__actions {
        grid-row: 1;
        grid-column: 2;
    }

    .navbar:not(.panel-menu) .navbar__menu {
        grid-row: 2;
        grid-column: 1/3;
        justify-self: center;
        margin-top: 24px;
    }

    .grid-4-2,
    .grid-2-4 {
        grid-template-columns: 1fr;
    }

    .grid-1-1-1,
    .grid-1-1-1-1 {
        grid-template-columns: 1fr 1fr;
    }

    #menu-toggle {
        display: block;
    }

    .panel-navbar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }

    .panel-navbar.show {
        display: flex;
    }
}

@media only screen and (max-width: 780px) {
    .rules {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .rules img {
        max-width: 300px;
    }

    .konkur-daycounter {
        position: static;
        padding: 24px 0 0 0;
    }

    .swiper-container {
        position: relative;
    }

    .konkur-daycounter__radius {
        display: none;
    }

    .konkur-daycounter__calendar {
        width: 100%;
    }

    .bar-chart {
        overflow-x: scroll;
        width: calc(100vw - 32px - 64px);
    }

    .bar-chart__grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(48px, calc(8.33% - 11px)));
    }

    .time-table-actions {
        flex-direction: column;
        align-items: center;
    }

    .test-bank.grid-1-4 {
        grid-template-columns: 1fr;
    }

    .discount-box {
        background: #e66f13;
        height: auto;
        padding: 32px;
        border-radius: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .grid-1-1-1-1,
    .grid-1-1-1,
    .grid-1-1,
    .grid-4-2,
    .panel-content .grid-1-1-1 {
        grid-template-columns: 1fr;
    }

    .data-archive-widget .time-table__grid {
        grid-template-columns: max-content repeat(8, 24px);
        gap: 1px;
    }

    .time-table__hours {
        font-size: 10px;
    }

    .container {
        padding: 0 16px;
    }

    html,
    body,
    .navbar__actions .button,
    .navbar__menu,
    .news a h3,
    .discount-box label,
    .panel-calender__date {
        font-size: 14px;
    }

    .news__date {
        font-size: 12px;
    }

    .navbar__logo img {
        height: 48px;
    }

    .navbar {
        padding: 24px 0;
    }

    .navbar.panel-menu {
        padding: 24px 16px;
    }

    .navbar:not(.panel-menu) .navbar__menu {
        margin-top: 0;
    }

    .konkur-daycounter__body strong {
        font-size: 48px;
    }

    .box__header,
    .top-rate__hour-box strong,
    .home-section__title,
    .discount-box p,
    .article__title,
    .panel-calender__day,
    .title-row .title {
        font-size: 18px;
    }

    .home-section {
        margin-top: 32px;
    }

    .top-rate__item p,
    .home-article__content h2,
    .home-comment__title p,
    .discount-box h2,
    .advantages__item p,
    .panel-card__title {
        font-size: 16px;
    }

    .advantages__item strong,
    .progress .percent {
        font-size: 32px;
    }

    .advantages {
        gap: 32px;
    }

    .panel-calender__day {
        line-height: 20px;
    }
}

@media print {
    body,
    body * {
        visibility: hidden;
    }

    .panel-content,
    .panel-content * {
        visibility: visible;
    }

    .panel-content {
        position: absolute;
        width: 100%;
        top: 8px;
        left: 0;
        padding: 24px;
    }

    .print {
        display: none;
        visibility: hidden !important;
    }

    .grid-1-1-1,
    .grid-1-1-1-1 {
        grid-template-columns: 1fr 1fr;
    }
}
