html {
    scroll-behavior: smooth;
}
body {
    background: #edeff5;
}
body.hidden {
    overflow: hidden;
}
.page {
    overflow: hidden;
    position: relative;
}
.title {
    font-family: "Red Rose", serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 42px;
    color: #313342;
}
.title.big {
    font-size: 74px;
    line-height: 104px;
}
.title b {
    font-weight: 700;
}
.title .blue {
    color: #0569FF;
}
.desc {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #313342;
}
.desc b {
    font-weight: 700;
}
.mob {
    display: none;
}
button,
a,
.hover-link {
    border: 0;
    outline: 0;
    cursor: pointer;
    transition: .3s;
}
a {
    color: #0569FF;
}
a:hover,
.hover-link:hover,
.button:hover {
    opacity: .7;
}
.button {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: #313342;
    transition: .3s;
    background: transparent;
    border-radius: 25px;
    position: relative;
    padding: 11px;
    min-width: 172px;
    border: 2px solid #313342;
    text-transform: uppercase;
    text-align: center;
}
.button.color {
    min-width: 220px;
    padding: 19px;
    border: 0;
    color: #fff;
    border-radius: 100px;
    background: linear-gradient(180deg, rgba(27, 225, 214, 0.15) 0%, rgba(5, 105, 255, 0.15) 100%);
}
.button.color::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 100px;
    background: linear-gradient(180deg, #1BE1D6 0%, #0569FF 100%);
}
.button.color span {
    position: relative;
    z-index: 1;
}
.button.plus {
    padding-left: 28px;
}
.button.plus .img {
    width: 22px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.button.small {
    min-width: 150px;
}
.button.smallest {
    min-width: 114px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.button.smallest.plus  {
    padding-left: 20px;
}
.button.smallest.plus .img {
    width: 14px;
    left: 14px;
}
.button.smallest.plus .img.dark {
    width: 18px;
    left: 10px;
}
.wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.decor1 {
    position: absolute;
    width: auto;
    top: -286px;
    left: calc(50% - 30px);
    transform: translateX(-50%);
}

/* header */
.header {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    padding: 40px 16px 0;
}
.header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    position: relative;
    min-height: 122px;
    padding: 36px 47px 36px 54px;
}
.header .wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .55;
    border-radius: 100px;
}
.header .wrapper::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    background: #fff;
    border-radius: 100px;
}
.header .logo {
    position: relative;
    z-index: 1;
}
.header .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 16px;
}
.header .right .desc {
    margin-right: 30px;
    text-transform: uppercase;
}
.logo .img {
    width: 160px;
}
.header .right .name {
    margin-right: 16px;
    letter-spacing: -0.019em;
}
.header .right .icon {
    width: 46px;
    height: 46px;
    background: #FFC733;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .right .icon .img {
    width: 24px;
}
.header .profile-link {
    display: flex;
    align-items: center;
}

/* hero section */
.home-page .hero-section {
    padding: 300px 16px 0;
    position: relative;
    text-align: center;
}
.home-page .hero-section .wrapper {
    max-width: 1046px;
    margin: 0 auto;
    position: relative;
}
.home-page .hero-section .desc {
    margin: 40px auto 0;
    max-width: 670px;
}
.home-page .hero-section .button {
    margin: 44px auto 0;
}
.home-page .hero-section .star {
    position: absolute;
    left: 0;
    bottom: 42px;
    width: auto;
}
.home-page .hero-section .stars {
    right: 0;
    bottom: -42px;
    width: auto;
    position: absolute;
}



/* section 2 */
.home-page .section-2 {
    padding: 90px 16px 390px;
    position: relative;
}
.home-page .section-2 .wrapper {
    max-width: 1730px;
    position: relative;
}
.home-page .section-2 .title {
    max-width: 950px;
    margin: 0 auto;
    font-size: 116px;
    line-height: 165px;
    z-index: 1;
    position: relative;
}
.home-page .section-2 .art {
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -50px;
}



.home-page .section-3 {
    padding: 80px 16px 120px;
    position: relative;
    text-align: center;
}
.home-page .section-3 .wrapper {
    position: relative;
    max-width: 1244px;
    padding-top: 194px;
}
.home-page .section-3 .tags {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}
.home-page .section-3 .title {
    max-width: 920px;
    margin: 0 auto;
    line-height: 52px;
}
.home-page .section-3 .desc-container {
    border-radius: 54px;
    padding: 30px 16px;
    max-width: 900px;
    margin: 68px auto 0;
    background: #fff;
}
.home-page .section-3 .desc-container .desc {
    font-size: 18px;
    max-width: 592px;
    margin: 0 auto;
}



.home-page .section-4 {
    padding: 100px 16px 0;
}
.home-page .section-4 .wrapper {
    position: relative;
    display: flex;
    max-width: 1280px;
    gap: 16px;
}
.home-page .section-4 .card {
    background: #fff;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    min-height: 290px;
    flex: 1;
    position: relative;
    z-index: 2;
}
.home-page .section-4 .card .title {
    line-height: 52px;
    position: relative;
    z-index: 1;
}
.home-page .section-4 .card .desc {
    margin: 22px auto 0;
    max-width: 350px;
    position: relative;
    z-index: 1;
}
.home-page .section-4 .card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 3;
    position: relative;
    z-index: 2;
}
.home-page .section-4 .card-list .card:first-child {
    background-image: url('../images/gradient.png');
    background-position: center;
    background-size: cover;
    width: calc(35% - 8px);
    flex: unset;
}
.home-page .section-4 .card-list .card:first-child .title {
    color: #fff;
}
.home-page .section-4 .card-list .card:first-child .desc {
    color: #fff;
}
.home-page .section-4 .card-list .card:nth-child(2) {
    width: calc(65% - 8px);
    flex: unset;
}
.home-page .section-4 .card-list .card:nth-child(3) {
    width: calc(65% - 8px);
    flex: unset;
}
.home-page .section-4 .card-list .card:last-child {
    width: calc(35% - 8px);
    flex: unset;
    position: relative;
    background: transparent;
    overflow: hidden;
}
.home-page .section-4 .card-list .card:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .55;
}
.home-page .section-4 .card-list .card:last-child::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: #fff;
    border-radius: 36px;
}
.home-page .section-4 .gradient2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100px;
    width: 110%;
}




.home-page .section-5 {
    padding: 150px 16px 0;
}
.home-page .section-5 .wrapper {
    display: flex;
    align-items: center;
}
.home-page .section-5 .left {
    flex: 2;
    max-width: 640px;
}
.home-page .section-5 .art {
    width: 110%;
}
.home-page .section-5 .right {
    flex: 1;
    padding-right: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.home-page .section-5 .desc {
    margin-top: 22px;
    max-width: 600px;
}


.home-page .section-6 {
    padding: 160px 16px 140px;
}
.home-page .section-6 .wrapper {
    max-width: 1036px;
    position: relative;
}
.home-page .section-6 .decor {
    position: absolute;
    width: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.home-page .section-6 .gradient {
    position: absolute;
    width: auto;
    left: -30px;
    top: 0;
    z-index: -1;
}
.home-page .section-6 .row {
    position: relative;
}
.home-page .section-6 .card {
    max-width: 416px;
    min-height: 394px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px;
    position: relative;
    text-align: center;
}
.home-page .section-6 .card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .55;
    border-radius: 36px;
}
.home-page .section-6 .card:after {
    content: '';
    position: absolute;
    left: 26px;
    top: 26px;
    width: calc(100% - 52px);
    height: calc(100% - 52px);
    background: #fff;
    border-radius: 36px;
}
.home-page .section-6 .row:nth-child(2) {
    margin: -105px 0;
}
.home-page .section-6 .row:nth-child(2) .card::after {
    background-image: url('../images/gradient4.png');
    background-position: center;
    background-size: cover;
}
.home-page .section-6 .row:nth-child(2) .card {
    margin: 0 auto;
}
.home-page .section-6 .row:last-child .card {
    margin: 0 0 0 auto;
}
.home-page .section-6 .row:nth-child(2) .title {
    color: #fff;
}
.home-page .section-6 .row:nth-child(2) .desc {
    color: #fff;
}
.home-page .section-6 .card .title {
    position: relative;
    z-index: 1;
    max-width: 260px;
    margin: 0 auto;
}
.home-page .section-6 .card .desc {
    position: relative;
    z-index: 1;
    max-width: 260px;
    margin: 22px auto 0;
}





/* footer */
.footer {
    padding: 0 16px;
}
.footer .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.footer .wrapper:first-child {
    background: #FFFFFF;
    border-radius: 36px;
    padding: 46px 60px;
}
.footer .wrapper + .wrapper {
    align-items: center;
    padding: 40px 60px;
}
.footer .social-list {
    display: flex;
    justify-content: flex-end;
    gap: 8px 38px;
    flex-wrap: wrap;
    margin-top: 42px;
}
.footer .social-list .img {
    width: 46px;
}
.footer .block-1 {
    flex: 1;
    padding-top: 10px;
}
.footer .block-1 .desc + .desc {
    color: #707070;
    margin-top: 34px;
    max-width: 355px;
}
.footer .block-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer .block-2 .img {
    width: 80px;
}
.footer .block-2 .button {
    margin-top: 30px;
}
.footer .block-3 .nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px 32px;
    flex-wrap: wrap;
}
.footer .block-3 .nav .desc {
    font-weight: 700;
}
.footer .block-3 {
    flex: 1;
    text-align: right;
    padding-top: 10px;
}
.footer .block-3 .desc-1 {
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
}
.footer .block-3 .desc-2 {
    font-size: 14px;
    line-height: 28px;
    color: #18AEFF;
}
.footer .block-3 .desc-3 {
    margin-top: 50px;
    font-size: 12px;
    line-height: 18px;
    color: #868686;
}
.footer .payment-method-list {
    display: flex;
    gap: 8px 28px;
    flex-wrap: wrap;
}
.footer .payment-method-list .img {
    height: 28px;
    width: auto;
}
.footer .payment-method-list .img:last-child {
    height: 21px;
}



/* modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.modal.active {
    visibility: visible;
    opacity: 1;
}
.modal .close {
    width: 16px;
    position: absolute;
    right: 38px;
    top: 38px;
    cursor: pointer;
    z-index: 2;
}
.overlay {
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.modal .wrapper {
    position: relative;
    max-width: 552px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    text-align: center;
}
.modal .wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: .55;
    border-radius: 24px;
}
.modal .wrapper::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    background: #fff;
    border-radius: 24px;
}
.modal .form-container {
    width: 100%;
    padding: 56px 28px 40px;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 48px);
    overflow: auto;
}
.modal form {
    max-width: 336px;
    margin: 44px auto 0;
}
.modal .title + .desc {
    margin-top: 22px;
    display: flex;
    gap: 2px 12px;
    justify-content: center;
    flex-wrap: wrap;
}
label {
    position: relative;
    display: block;
}
label + label {
    margin-top: 18px;
}
input,
textarea,
select,
.select2-selection {
    outline: 0;
    background: transparent;
    border: 1px solid #D9D9D9 !important;
    border-radius: 100px !important;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    padding: 12px 20px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select2-container .select2-selection--single {
    height: 50px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 23px !important;
    text-align: left !important;
    padding-left: 5px !important;
    color: #000000 !important;
}
textarea {
    border-radius: 24px;
    resize: none;
}
::placeholder {
    color: #707070;
}
.modal .chekbox-container {
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    width: calc(100% - 180px);
}
.modal .chekbox-container input {
    display: none;
}
.modal .checkbox {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid #C1C1C1;
    border-radius: 6px;
    box-sizing: border-box;
}
.modal .checkbox::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../assets/check.svg');
    background-position: center;
    background-size: 12px;
    background-repeat: no-repeat;
    opacity: 0;
    transition: .3s;
}
.modal input:checked + .checkbox::before {
    opacity: 1;
}
.modal .chekbox-label {
    display: flex;
    cursor: pointer;
}
.modal .chekbox-label .desc {
    position: static;
    margin-left: 12px;
    color: #646464;
    font-weight: 400;
    line-height: 21px;
    padding: 0;
    text-align: left;
    width: calc(100% - 36px);
}
.modal .chekbox-label .desc .link {
    line-height: 21px;
}
.modal .button-container {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: wrap;
}
.modal .button-container .error-message {
    padding: 15px 0px;
}
.modal .button-container + .desc {
    margin-top: 32px;
}
.recover-modal .button-container {
    justify-content: center;
}
.recover-modal .button-container + .desc {
    display: flex;
    justify-content: center;
    gap: 40px;
}





.cabinet-page .wrapper {
    position: relative;
}
.cabinet-page .cabinet-top {
    display: flex;
    padding-top: 196px;
    gap: 16px
}
.cabinet-page .cabinet-top .info {
    background: #FFFFFF;
    border-radius: 24px;
    gap: 16px;
    padding: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}
.cabinet-page .cabinet-top .info-left .button {
    margin-top: 16px;
}
.cabinet-page .cabinet-top .info-right {
    border-radius: 18px;
    background: #EDEFF5;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    max-width: 262px;
    min-height: 110px;
}
.cabinet-page .cabinet-top .info-right .title {
    font-size: 18px;
    line-height: 24px;
}
.cabinet-page .cabinet-top .info-right .desc {
    margin-top: 10px;
}
.cabinet-page .cabinet-top .info-container {
    width: calc(42% - 8px);
}
.cabinet-page .cabinet-top .balance-container {
    width: calc(58% - 8px);
    display: flex;
    gap: 16px;
}
.cabinet-page .cabinet-top .balance-container .info {
    width: calc(60% - 8px);
}
.cabinet-page .cabinet-top .balance-container .info-right {
    max-width: 194px;
    align-items: center;
    white-space: nowrap;
}
.cabinet-page .cabinet-top .balance-container .info-right .title {
    font-size: 24px;
}
.cabinet-page .cabinet-top .balance-container .requests {
    width: calc(40% - 8px);
    border-radius: 24px;
    background: #FFFFFF;
    padding: 32px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.cabinet-page .cabinet-top .balance-container .requests .desc {
    color: #707070;
}
.cabinet-page .top .link .img {
    width: 28px;
}
.cabinet-content-container {
    margin-bottom: 70px;
}
.cabinet-content {
    position: relative;
}
.cabinet-content .user-info .img {
    width: 120px;
}
.cabinet-content .user-info .name {
    margin-top: 32px;
}
.cabinet-content .user-info .email {
    font-size: 14px;
    line-height: 21px;
    color: #646464;
}
.cabinet-content .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0 25px;
}
.cabinet-content .nav .desc {
    min-width: 220px;
    text-align: center;
}
.cabinet-content .nav .button {
    color: #313342;
}
.cabinet-content .nav .button::before {
    background: #FFFFFF;
    border: 2px solid #EDEFF5;
    box-sizing: border-box;
}

.carousel-container {
    width: 100%;
}
.cabinet-content .left {
    width: 30%;
}
.cabinet-content .right {
    width: 70%;
    justify-content: center;
    text-align: center;
}

.cabinet-content .carousel-container {
    text-align: center;
    padding: 0 32px 32px;
    line-height: 0; 
    background: #FFFFFF;
    border-radius: 24px;
}
.cabinet-page .top {
    padding: 42px 16px;
    position: relative;
    border-bottom: 2px solid #EDEFF5;
    text-align: center;
}
.cabinet-page .top .button.color {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}
.cabinet-content .carousel .item {
    width: calc((100% - 128px) / 5);
}
.cabinet-content .carousel {
    margin-top: 32px;
    gap: 32px;
    display: flex;
    flex-wrap: wrap;
}
.cabinet-content .balance {
    text-align: center;
    flex: 1;
    padding-left: 206px;
}
.cabinet-content .balance .desc {
    font-size: 14px;
    line-height: 21px;
    color: #646464;
}
.cabinet-content .balance .title {
    line-height: 40px;
    font-size: 36px;
}

.cabinet-content .slick-arrow {
    width: 50px;
    height: 50px;
    background-image: url('../assets/arrow-yellow-big.svg');
    background-size: 18px;
    left: -42px;
}
.cabinet-content .slick-next {
    left: auto;
    right: -42px;
}
.cabinet-content .request-left {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    padding: 38px 32px 20px 32px;
    border-radius: 24px;
    background: #fff;
}
.cabinet-content .request-left textarea {
    padding: 14px 22px;
    margin-top: 28px;
}
.cabinet-content .request-left .title + .desc {
    margin-top: 30px;
}
.cabinet-content .request-left form {
    text-align: center;
}
.cabinet-content .request-left .info {
    margin-top: 50px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cabinet-content .request-left .button {
    min-width: 100%;
    margin-top: 24px;
}
.cabinet-content .request-left .info .img {
    width: 28px;
}
.cabinet-content .request-left .info .desc {
    font-size: 12px;
    line-height: 18px;
}
.cabinet-content .books {
    width: 60%;
}
.cabinet-content .ai {
    width: 40%;
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.request-right {
    display: flex;
    padding-left: 36px;
}
.cabinet-content .ai .button {
    width: 206px;
    align-self: center;
}
.cabinet-content td {
    padding: 18px 12px;
    font-size: 16px;
    vertical-align: middle;
}
.cabinet-content thead td {
    font-size: 12px;
    padding: 24px 12px;
    color: #313342;
    background: #EDEFF5;
    font-weight: 700;
}
.cabinet-content tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.4);
}
.cabinet-content td:first-child {
    padding-left: 52px; 
    width: 20%;
}
.cabinet-content td:nth-child(2) {
    width: 20%;
}
.cabinet-content td:last-child {
    padding-right: 74px;    
    text-align: right;
}
.cabinet-content tbody td:last-child {
    padding-right: 46px;    
}
.cabinet-content td .img {
    width: 100px;
}
.cabinet-content-history {
    padding: 0;
    display: block;
    padding-bottom: 42px;
}
.cabinet-content-history table {
    width: 100%;
}
.cabinet-content .pagination {
    margin-top: 42px;
    display: flex;
    justify-content: center;
}
.cabinet-content .pagination .item {
    font-size: 14px;
    line-height: 44px;
    width: 44px;
    border-radius: 100%;
    text-align: center;
    margin: 0 1px;
}
.cabinet-content .pagination .item.active {
    font-weight: 700;
    background: #FFFFFF;
}
.cabinet-content .pagination .arrow {
    background: #FFC733;
    background-image: url('../assets/pagArrow.svg');
    background-position: center;
    background-size: 14px;
    background-repeat: no-repeat;
    width: 44px;
    height: 44px;
    border-radius: 100%;
}
.cabinet-content .pagination .arrow.next {
    transform: scale(-1);
    margin-left: 6px;
}
.cabinet-page .main {
    padding: 0 16px;
}
.text {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 24px;
}
.text .desc {
    margin-top: 36px;
    width: 100%;
}
.text .desc + .desc {
    margin-top: 48px;
}
.text .desc.short {
    margin-top: 48px;
    width: 50%;
}
.text .desc.short {
    padding-right: 18px;
}
.text .desc.short + .desc.short {
    padding-left: 18px;
    padding-right: 0;
}
.text .desc b {
    line-height: 200%;
}

.cabinet-content-history .table-container {
    border-radius: 24px;
    background: #fff;
    padding: 0 32px 32px;
}
.cabinet-content-history .table-wrapper {
    overflow: auto;
    border-radius: 18px;
}
.cabinet-page .cabinet-content-history .top {
    border: 0;
}
.cabinet-page .cabinet-content-history tbody tr td  {
    background: #EDEFF5;
    padding: 32px 12px;
}
.cabinet-page .cabinet-content-history tbody tr td:first-child {
    padding-left: 52px;
}
.cabinet-page .cabinet-content-history tbody tr td:last-child {
    padding-right: 74px;
}
.cabinet-page .cabinet-content-history tbody tr:nth-child(odd) td {
    background: #f7f8fa;
}
.cabinet-page .cabinet-main {
    padding-top: 200px;
}
.cabinet-page .cabinet-main .cabinet-content {
    display: flex;
    align-items: center;
}
.cabinet-content .placeholder {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}
.cabinet-content .placeholder .icon {
    width: 48px;
}
.topup-modal .button.small,
.topup-info-modal .button.small {
    margin: 0 auto;
}
.topup-modal label {
    position: relative;
    display: block;
}
.topup-modal label .desc {
    position: absolute;
    right: 24px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}
.reason {
    display: flex;
    margin-top: 24px;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px;
    background: #EDEFF5;
    padding: 24px;
}
.reason .desc {
    font-size: 18px;
}
.edit-modal .button,
.pass-modal .button {
    margin: 0 auto;
}
.modal .button-container + .button-container {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #EDEFF5;
}

.text-section {
    padding-top: 200px;
}

/* media */
@media screen and (max-width: 1100px) {
    
    .home-page .section-2 .art {
        max-width: 100%;
    }
    .home-page .section-2 .title {
        max-width: 100%;
        width: 100%;
        padding-left: 21vw;
        line-height: 3vw;
        font-size: 8vw;
    }
    .home-page .section-2 {
        padding-bottom: 25vw;
    }
    .footer .block-4 .button {
        width: 100%;
        max-width: 273px;
    }
    .home-page .section-3 .block-3 {
        margin-top: 77px;
    }
    .home-page .section-3 {
        padding-bottom: 48px;
    }
    .home-page .section-3 .icon {
        width: 160px;
        height: 160px;
    }
    .home-page .section-3 .icon .img {
        width: 80px;
    }
    .home-page .section-3 .path {
        display: none;
    }
    .home-page .section-3 .row:nth-child(3) .block-1 {
        padding-left: 100px;
    }
    .home-page .section-3 .block-1 {
        width: 40%;
    }
    .home-page .section-3 .row:nth-child(2) .block-1 {
        padding-left: 100px;
    }
    .home-page .section-3 .wrapper .row + .row {
        margin-top: 64px;
    }
    .footer .social-list .item {
        margin-bottom: 16px;
        display: inline-block;
    }
    .footer .block-1 .desc {
        margin-top: 40px;
    }
    .footer .block-2 {
        width: 20%;
    }
    .cabinet-content .carousel-container {
        padding-right: 24px;
        padding-left: 64px;
    }
    .cabinet-content .user-info .img {
        width: 64px;
    }
    .cabinet-content .balance {
        padding-left: 0;
    }
    .cabinet-content .request-left .info {
        margin-top: 24px;
    }
    .cabinet-content-container {
        margin-bottom: 0;
    }
    .cabinet-content td:nth-child(2) {
        width: 10%;
    }
    .cabinet-content .carousel {
        gap: 16px;
    }
    .cabinet-content .carousel .item {
        width: calc((100% - 48px) / 4);
    }
    .cabinet-page .cabinet-main {
        margin-bottom: 40px;
    }
    .cabinet-content .request-left {
        padding: 16px;
    }
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 24px;
        line-height: 32px;
    }
    .title.big {
        font-size: 42px;
        line-height: 56px;
        text-align: center;
    }
    .desc {
        font-size: 18px;
        line-height: 32px;
    }
    .header {
        padding-top: 16px;
    }
    .header .button {
        min-width: 0;
    }
    .button.plus {
        padding-left: 50px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .header .wrapper {
        flex-direction: column;
        align-items: center;
        padding: 24px;
    }
    .header .wrapper::before {
        border-radius: 24px;
    }
    .header .wrapper::after {
        border-radius: 24px;
    }
    .header .right {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 12px;
    }
    .button {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .home-page .hero-section .wrapper {
        flex-direction: column;
    }
    .home-page .hero-section .cube {
        display: none;
    }
    .home-page .hero-section .left {
        width: 100%;
        text-align: center;
    }
    .home-page .hero-section .right {
        width: 100%;
        margin-top: 24px;
    }
    .home-page .hero-section .right {
        padding: 26px 32px;
    }
    .home-page .hero-section .button {
        margin-top: 24px;
    }
    .home-page .hero-section {
        padding-bottom: 0;
        padding-top: 220px;
    }
    .home-page .hero-section .stars,
    .home-page .hero-section .star {
        display: none;
    }
    .home-page .section-2 .art {
        min-width: 900px;
        top: 0;
    }
    .home-page .section-2 {
        padding-top: 50px;
        padding-bottom: 250px;
    }
    .home-page .section-2 .title {
        font-size: 42px;
        padding-left: 0;
        text-align: center;
        line-height: 40px;
    }
    .home-page .section-2 .block-1 {
        width: 100%;
    }
    .home-page .section-2 .block-2 .divider {
        max-height: 120%;
    }
    .home-page .section-2 .block-num .desc,
    .home-page .section-2 .block-4 .desc {
        margin-top: 0;
    }
    .home-page .section-3 .block-1,
    .home-page .section-3 .row:nth-child(2) .block-1,
    .home-page .section-3 .row:nth-child(3) .block-1 {
        width: 100%;
        padding-left: 0;
    }
    .home-page .section-3 .title {
        line-height: 32px;
    }
    .home-page .section-3 .wrapper {
        padding-top: 0px;
    }
    .home-page .section-3 .tags {
        display: none;
    }
    .home-page .section-3 .icon {
        margin: 0 auto;
    }
    .home-page .section-3 .shapes2,
    .home-page .section-3 .shapes3 {
        display: none;
    }
    .home-page .section-3 .block-2 {
        width: 100%;
        text-align: center;
        padding-left: 0;
        margin-top: 24px;
    }
    .home-page .section-3 .desc.small {
        margin: 24px auto 0;
    }
    .home-page .section-4 {
        padding: 32px 64px;
    }
    .home-page .section-3 .desc-container {
        border-radius: 16px;
    }
    .home-page .section-4 .logo {
        margin-top: 32px;
    }
    .home-page .section-4 {
        padding: 16px;
    }
    .home-page .section-4 .wrapper {
        flex-direction: column;
    }
    .home-page .section-4 .card .title {
        line-height: 32px;
    }
    .home-page .section-4 .gradient2 {
        display: none;
    }
    .home-page .section-4 .card,
    .home-page .section-4 .card-list .card:first-child,
    .home-page .section-4 .card-list .card:nth-child(2),
    .home-page .section-4 .card-list .card:nth-child(3),
    .home-page .section-4 .card-list .card:last-child {
        width: 100%;
    }
    .home-page .section-5 .wrapper {
        flex-direction: column;
    }
    .home-page .section-5 {
        text-align: center;
        padding-top: 50px;
    }
    .home-page .section-5 .right {
        margin-top: 32px;
    }
    .home-page .section-6 {
        padding-top: 50px;
        padding-bottom: 0;
    }
    .home-page .section-6 .card {
        min-height: 0;
        padding: 32px;
    }
    .home-page .section-6 .row:nth-child(2) {
        margin: 16px 0;
    }
    .slick-arrow {
        width: 50px;
        height: 50px;
        left: -50px;
        background-size: 18px 40px;
    }
    .slick-next {
        left: auto;
        right: -50px;
    }
    .footer {
        padding: 32px 16px;
    }
    .footer .wrapper {
        flex-direction: column;
        text-align: center;
    }
    .footer .block-1 {
        width: 100%;
        padding-right: 0;
    }
    .footer .social-list .item {
        margin: 0 8px 16px;
    }
    .footer .block-1 .desc {
        margin-top: 16px;
    }
    .footer .block-2 {
        width: 100%;
        margin-top: 32px;
        padding: 0;
    }
    .footer .block-2 .item,
    .footer .block-2 .item:last-child {
        margin: 0 auto 16px;
    }
    .footer .block-3 {
        width: 100%;
        margin-top: 32px;
        padding: 0;
    }
    .footer .block-3 .desc-3 {
        margin-top: 16px;
    }
    .footer .block-4 {
        width: 100%;
        padding: 0;
        margin-top: 32px;
        text-align: center;
    }
    .footer .payment-method-list {
        margin-top: 24px;
        justify-content: center;
    }
    .footer .payment-method-list .img {
        margin: 0 16px;
    }
    .footer .block-1 .desc + .desc {
        margin: 16px auto 0;
    }
    .footer .wrapper:first-child {
        padding: 16px;
    }
    .footer .block-3 .nav {
        justify-content: center;
    }
    .footer .social-list {
        margin-top: 24px;
        justify-content: center;
    }

    .footer .wrapper + .wrapper {
        padding: 32px 0 0;
    }

    .cabinet-page .main {
        padding-bottom: 32px;
    }
    .cabinet-content {
        flex-direction: column;
    }
    .cabinet-content .left {
        width: 100%;
    }
    .cabinet-content .user-info .name {
        margin-top: 16px;
    }
    .cabinet-content .user-info .nav {
        margin: 24px auto 0;
    }
    .cabinet-content .right {
        width: 100%;
        padding-left: 0;
    }
    .cabinet-content .balance-container {
        flex-direction: column;
        padding: 24px 0 0;
    }
    .cabinet-content .balance-container .button {
        margin: 24px auto 0;
        max-width: 180px;
    }
    .cabinet-page .top {
        flex-direction: column;
        gap: 16px;
        display: flex;
        align-items: center;
        padding: 0 0 32px;
    }
    .cabinet-page .top .button.color {
        transform: none;
        position: relative;
        top: 0;
        left: 0;
    }
    .cabinet-content .carousel-container {
        padding: 32px 16px;
    }
    .cabinet-content .carousel .item {
        width: calc(50% - 8px);
    }
    .cabinet-content .request-left {
        padding-top: 16px;
    }
    .cabinet-page .shapes4 {
        display: none;
    }
    .cabinet-content .request-right {
        padding-top: 32px;
        flex-direction: column;
    }
    .cabinet-content .request-left form {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .cabinet-content .books {
        width: 100%;
    }
    .cabinet-content .ai {
        width: 100%;
        padding-left: 0;
        padding-top: 24px;
        text-align: center;
    }
    .cabinet-content .ai .button {
        margin-top: 24px;
    }
    .cabinet-content .pagination {
        flex-wrap: wrap;
    }
    .cabinet-content-history .table-container {
        overflow: auto;
        padding-top: 32px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .cabinet-content thead td {
        padding: 12px;
    }
    .cabinet-content td:first-child {
        width: auto;
        padding-left: 16px;
    }
    .cabinet-content td:last-child {
        width: auto;
        padding-right: 16px;
    }
    .cabinet-page .cabinet-content-history tbody tr td {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .cabinet-page .cabinet-content-history tbody tr td:last-child {
        padding-right: 16px;
    }
    .cabinet-page .cabinet-content-history tbody tr td:first-child {
        padding-left: 16px;
    }

    .cabinet-content tbody td:last-child {
        width: auto;
        padding-right: 16px;
    }
    .cabinet-content-history table {
        min-width: 400px;
    }
    .text .desc.short {
        width: 100%;
        padding-right: 0;
    }
    .text .desc.short + .desc.short {
        padding-left: 0;
    }
    .text {
        padding-bottom: 0;
    }
    .modal .wrapper {
        display: flex;
        flex-wrap: wrap;
    }
    .modal .form-container {
        width: 100%;
        padding: 36px;
    }
    .modal form {
        margin-top: 32px;
    }
    label + label {
        margin-top: 24px;
    }
    .login-modal .link {
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .modal .chekbox-container {
        width: 100%;
    }
    .modal .chekbox-label .desc {
        width: auto;
    }
    .modal .chekbox-label {
        justify-content: center;
    }
    .modal .form-container {
        min-height: 0;
    }
    .modal .side {
        width: 100%;
        min-height: 0;
        padding: 24px;
        border-radius: 0;
    }
    .modal .side .desc {
        margin-top: 16px;
    }
    .modal .button.white {
        margin-top: 24px;
    }
    .modal .close {
        top: 30px;
        right: 30px;
    }
    .reg-modal .side {
        order: 2;
    }
    .modal .button-container {
        flex-direction: column;
        gap: 16px;
    }
    .cabinet-page .cabinet-top .balance-container {
        flex-direction: column;
        width: 100%;
    }
    .cabinet-page .cabinet-top {
        flex-direction: column;
        width: 100%;
    }
    .cabinet-page .cabinet-top .info-container {
        width: 100%;
    }
    .cabinet-page .cabinet-top .balance-container .info {
        width: 100%;
    }
    .cabinet-page .cabinet-top .balance-container .requests {
        width: 100%;
    }
    .cabinet-content .nav {
        overflow: auto;
        justify-content: flex-start;
        gap: 0;
        padding-bottom: 16px;
        margin-bottom: 8px;
        margin-top: 8px;
    }
}

.general-error,
.error-message {
    color: #dd1010;
    text-align: left;
    padding-left: 13px;
    padding-top: 5px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
}
.general-error {
    text-align: center;
}
.select2-selection__arrow {
    display: none;
}
.top-up-amount.min-top-up-amount {
    padding-top: 15px;
    font-weight: 500;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
}
.status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.status-img {
    width: 18px;
}
.request-left-wrapper {
    flex-direction: column;
    display: flex;
    width: 30%;
    gap: 15px;
}
.request-left-wrapper .left {
    width: 100%;
}
.cabinet-content .request-left:last-child {
    padding: 32px;
}
.cabinet-content .request-left + .request-left {
    margin-top: 10px;
    padding: 18px 32px;
}
.cabinet-content .request-left + .request-left .button {
    margin-top: 0;
    border: 0;
}
.cabinet-content .request-left + .request-left .button:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(180deg, #FFF42626 0%, #FF9E0626 100%);
}
.cabinet-content .request-left + .request-left .button:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 100px;
    background: #fff;
    border: 1px solid #FFDD55;
}
.cabinet-content .request-left + .request-left .button span {
    z-index: 1;
    position: relative;
    line-height: 38px;
    display: inline-block;
}
.cabinet-content .request-left + .request-left .button img {
    z-index: 1;
}
.cabinet-content .request-left .list-container {
    padding-top: 32px;
    margin-top: 32px;
    border-top: 2px solid #EDEFF5;
}
.cabinet-content .request-left .list-container .list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.cabinet-content .request-left .list-container .list .item {
    width: calc((100% - 15px) / 4);
    background: #EDEFF5;
    border-radius: 12px;
    text-align: center;
}
.cabinet-content .request-left .list-container .list .title  {
    font-size: 24px;
    line-height: 62px;
}
.request-price {
    text-align: left;
    padding-top: 10px;
    font-weight: 600;
    font-family: "Red Rose", serif;
}
.request-price .old-price {
    text-decoration: line-through;
    text-decoration-color: red;    
}
.payment-result.desc {
    font-family: "Red Rose", serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 40px;
}
.payment-result.desc a {
    font-weight: bold;
    color: #0569FF;
    font-family: "Red Rose", serif;
    font-size: 20px;
}
.text-section p {
    margin-bottom: 5px;
    display: block;
    width: 100%;
}
.text-section p:last-child {
    margin-bottom: 0px;
}
.text-section p,
.text-section p span {
    font-family: "Red Rose", serif;
    font-size: 16px !important;
}
.text-section strong {
    font-weight: bold;
    font-size: 18px;
}
.text-section .title {
    margin-bottom: 20px;
}
.select2-selection__placeholder {
    position: absolute;
    left: 20px;
    top: 13px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
}
.select2.select2-container.select2-container--default.select2-container--focus {
    display: none !important;
}
.edit-modal .select2-selection.select2-selection--single,
.topup-info-modal .select2-selection.select2-selection--single {
    display: none !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    display: none !important;
}
button .spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-top: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
button.loading span {
    visibility: hidden;
    opacity: 0;
}
button.loading .spinner {
    opacity: 1;
    visibility: visible;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.flexed-center {
    display: flex;
    justify-content: center;
}
ul.common {
    list-style: disc;
    padding-left: 18px;
}
@media screen and (max-width: 870px) {
    header .button {
        min-width: auto;
        padding: 11px 20px;
    }
}
@media screen and (max-width: 460px) {
    .header .right {
        flex-flow: wrap;
    }
    header .button {
        white-space: nowrap;
        padding: 11px;
    }
}