.modal-dialog {
    max-width: 620px;
    width: 100%;
    margin: 30px auto;
}

.modal-close-btn{
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: none;
    padding: 0;
}
.modal-close-btn >img{
    height: 40px;
    width: 35px;
}

.modal-content{
    border-radius: 50px;
    border: 4px solid #FFF;
    background: #FFD900;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-title{
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    text-transform: uppercase;
    max-width: 475px;
    width: 100%;
    padding-bottom: 40px;
}

.modal-forms form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-forms .control-label{
    color: #000;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 24px */
    text-transform: uppercase;
}

.modal-forms .form-control{
    width: 500px;
    height: 67px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

    color: #000;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.modal-forms .form-control::placeholder{
    color: #A9A9A9;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.modal-agreement .checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 500px;
    max-width: 100%;
    margin: 5px 0 0;
}

.modal-agreement .checkbox-container .agreement-field {
    width: 100%;
    margin: 0;
}

.modal-agreement .agreement-option > label {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    min-height: 32px;
    margin: 0;
    padding: 0;
    color: #000;
    font-family: "Lays Cyr", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 105%;
    cursor: pointer;
}

html[lang="kk-KZ"] .modal-agreement .agreement-option > label {
    font-family: "Exo 2", sans-serif;
}

.modal-agreement .agreement-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    border: 1px solid #FF091A;
    border-radius: 4px;
    background: #FFF;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.modal-agreement .agreement-option input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    width: 9px;
    height: 16px;
    border: solid #FFF;
    border-width: 0 3px 3px 0;
    opacity: 0;
    transform: rotate(45deg);
}

.modal-agreement .agreement-option input[type="checkbox"]:checked {
    border-color: #FF091A;
    background: #FF091A;
}

.modal-agreement .agreement-option input[type="checkbox"]:checked::after {
    opacity: 1;
}

.modal-agreement .agreement-option input[type="checkbox"]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.modal-agreement .agreement-option input[type="checkbox"]:disabled,
.modal-agreement .agreement-option input[type="checkbox"]:disabled + .agreement-text {
    cursor: not-allowed;
    opacity: 0.55;
}

.modal-agreement .agreement-text {
    display: block;
    min-width: 0;
    padding-top: 4px;
}

.modal-agreement .agreement-text a {
    color: inherit;
    text-decoration: underline;
}

.modal-agreement .checkbox-container .help-block {
    margin: 5px 0 0 44px;
    font-size: 14px;
    line-height: 110%;
}

.modal-agreement .checkbox-container .help-block:empty {
    display: none;
}

.modal-forms .modal-button > button{
    color: #FFF;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.408px;
    text-transform: uppercase;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 80px;
    margin-top: 15px;

    border-radius: 0 0 20px 20px;
    background: #FF091A;
    box-shadow: 0 4px 19.1px 0 rgba(0, 0, 0, 0.25);
    border: none;
    transition: 0.2s;
}

.modal-forms .modal-button > button:hover{
    transition: 0.2s;
    transform: scale(1.1);
    text-decoration: none;
}

.modal-forms .forgot-password-link{
    padding: 24px 0 40px;
}

.modal-forms .forgot-password-link > a{
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 24px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.modal-block .modal-signup-link > a{
    color: #FF091A;
    font-family: "Lays Cyr";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.form_button_photo1 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.button_photo1 {
    width: min(100%, 315px);
}

.button-upload-text1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 315px;
    min-height: 55px;
    padding: 0 65px 0 20px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    cursor: pointer;
}

.upload-file-name1 {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: start;
}

.upload-file-action1 {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    transform: translateY(-50%);
}

.upload-file-icon1 {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.button_photo1.is-file-selected .button-upload-text1 {
    padding-right: 82px;
    text-transform: none;
}

.button_photo1.is-file-selected .upload-file-action1 {
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.button_photo1.is-file-selected .upload-file-icon1 {
    width: 34px;
    height: 34px;
}

#upload-checks > .form-group{
    margin: 0;
}

.modal-check {
    width: min(560px, calc(100vw - 70px));
    max-width: none;
}

.modal-check .modal-title {
    max-width: none;
    padding-bottom: 28px;
}

.check-table {
    width: 100%;
}

.checks-grid {
    width: 100%;
}

.checks-table {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    border-collapse: separate;
    overflow: hidden;
    border: 3px solid #FF091A;
    border-radius: 26px;
    background: #FFF;
}

.checks-table th,
.checks-table td {
    height: 56px;
    padding: 10px 12px;
    color: #000;
    text-align: center;
    vertical-align: middle;
    font-family: "Lays Cyr";
    font-style: normal;
    line-height: 100%;
    text-transform: uppercase;
}

.checks-table th {
    height: 95px;
    background: #FF091A;
    color: #FFF;
    font-size: 18px;
    font-weight: 800;
}

.checks-table th a {
    color: #FFF;
    text-decoration: none;
}

.checks-table td {
    background: #FFF;
    font-size: 18px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checks-table th:not(:last-child) {
    border-right: 3px solid #FFF;
}

.checks-table td:not(:last-child) {
    border-right: 2px solid #FF091A;
}

.checks-table tbody tr:not(:first-child) td {
    border-top: 2px solid #FF091A;
}

.checks-table .column-header-1,
.checks-table .column-1 {
    width: 22%;
}

.checks-table .column-header-2,
.checks-table .column-2 {
    width: 31%;
}

.checks-table .column-header-3,
.checks-table .column-3 {
    width: 47%;
}

.checks-empty {
    padding: 28px 16px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 20px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
}

.checks-pagination {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.checks-pagination li {
    display: flex;
}

.checks-pagination li a,
.checks-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font-family: "Lays Cyr";
    font-size: 30px;
    font-weight: 800;
    line-height: 100%;
    text-decoration: none;
}

.checks-pagination li.active a,
.checks-pagination li.active span,
.checks-pagination li a:hover {
    background: transparent;
    color: #000;
    text-decoration: none;
}

.checks-pagination li.disabled {
    display: none;
}

.confirm-prize-card {
    width: min(279px, 100%);
    /*aspect-ratio: 526 / 370;*/
    height: 254px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/static/img/white-layout.png") no-repeat center;
    background-size: 100% 100%;
}

.confirm-prize-img {
    display: block;
    max-width: 235px;
    max-height: 264px;
    object-fit: contain;
}

.confirm-prize-name {
    max-width: 300px;
    margin-top: 12px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-weight: 800;
    line-height: normal;
}

.confirm-prize-count {
    margin-top: 2px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
}

.confirm-prize-action {
    position: relative;
    /*width: min(240px, 100%);*/
    margin-top: 22px;
}

.confirm-prize-button {
    color: #FFF;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    display: inline-flex;
    padding: 15px 80px;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 20px 20px;
    background: #FF091A;
    box-shadow: 0 4px 19.1px 0 rgba(0, 0, 0, 0.25);

    box-sizing: border-box;
    border: 0;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
}

.confirm-prize-button:hover,
.confirm-prize-button:focus {
    color: #FFF;
    text-decoration: none;
    transform: scale(1.05);
}

.confirm-prize-price {
    display: flex;
    width: 120px;
    height: 35px;
    padding: 0;
    justify-content: end;
    align-items: center;
    gap: 0;
    position: absolute;
    top: 50%;
    right: -90px;
    border-radius: 10px;
    background: #FFF;
    transform: translateY(-50%);
    color: #FF091A;
    font-family: "Lays Cyr";
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: lowercase;
    white-space: nowrap;
}

.confirm-prize-coin {
    height: 60px;
    margin-left: 2px;
    object-fit: contain;
}

.confirm-prize-empty {
    padding: 18px 0;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 22px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
}

.modal-dialog:has(.modal-prizes) {
    max-width: 660px;
}

.modal-content:has(.modal-prizes) {
    padding: 44px 48px 40px;
}

.modal-prizes {
    width: min(526px, 100%);
    max-width: none;
}

.modal-prizes .modal-title {
    max-width: none;
    padding-bottom: 24px;
}

.user-prizes-slider {
    position: relative;
    width: 100%;
}

.user-prizes-carousel {
    position: relative;
    z-index: 1;
    width: 100%;
}

.user-prizes-carousel:not(.owl-loaded) {
    overflow: hidden;
}

.user-prizes-carousel.is-prizes-loading {
    opacity: 0;
    pointer-events: none;
}

.user-prizes-carousel:not(.owl-loaded) > * {
    display: none;
}

.user-prizes-carousel:not(.owl-loaded) > *:first-child {
    display: flex;
}

.user-prizes-carousel:not(.owl-loaded) .owl-nav,
.user-prizes-carousel:not(.owl-loaded) .owl-dots {
    display: none;
}

.modal-prizes .user-prizes-carousel .owl-stage-outer {
    padding: 0;
}

.user-prize-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-prize-card {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url("/static/img/white-layout.png") no-repeat center;
    background-size: 100% 100%;
    width: 100%;
    aspect-ratio: 526 / 370;
    pointer-events: none;
}

.user-prize-card-content {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 526 / 370;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-prize-media {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.user-prize-img {
    display: block;
    max-width: 222px;
    max-height: 250px;
    object-fit: contain;
}

.user-prize-code-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -20px;
}

.user-prize-code-wrap.is-empty {
    display: none;
}

.user-prize-code {
    min-width: 75px;
    padding: 2px 10px;
    border-radius: 10px;
    background: #FF091A;
    color: #FFF;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 32px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-prize-code-rules {
    color: #000;
    font-family: "Noto Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
    margin-top: 2px;
}

.user-prize-code-rules:hover {
    color: #000;
    text-decoration: none;
}

.user-prize-download-link {
    min-width: 75px;
    padding: 2px 10px;
    border-radius: 10px;
    background: #FF091A;
    color: #FFF;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 32px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-prize-download-link:hover,
.user-prize-download-link:focus {
    color: #FFF;
    text-decoration: none;
}

.user-prize-name {
    max-width: 100%;
    margin-top: 24px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.user-prize-count {
    margin-top: 4px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.user-prizes-ok {
    border-radius: 0 0 20px 20px;
    background: #FF091A;
    box-shadow: 0 4px 19.1px 0 rgba(0, 0, 0, 0.25);
    margin-top: 18px;
    color: #FFF;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    transition: 0.2s;
    border: none;
    outline: none;
    display: inline-flex;
    padding: 15px 80px;
    justify-content: center;
    align-items: center;
}

.user-prizes-ok:hover {
    transform: scale(1.05);
}

.user-prizes-empty {
    padding: 28px 16px;
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 20px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-prev,
.modal-prizes .user-prizes-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 185px;
    z-index: 2;
    width: 79px;
    height: 73px;
    transform: translateY(-50%);
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-prev {
    left: 20px;
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-next {
    right: 20px;
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-prev::before,
.modal-prizes .user-prizes-carousel .owl-nav button.owl-next::before {
    display: block;
    transform: scale(0.82);
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-prev::before {
    content: url("/static/img/prev.png");
}

.modal-prizes .user-prizes-carousel .owl-nav button.owl-next::before {
    content: url("/static/img/next.png");
}

.modal-prizes .user-prizes-carousel .owl-nav button.disabled {
    opacity: 0.35;
}
