.flex-gap-12 {
    gap: 12px;
}
.flex-gap-16 {
    gap: 16px;
}
.flex-gap-24 {
    gap: 24px;
}
.flex-gap-32 {
    gap: 32px;
}

.loyal-vip__page {
    margin-top: 24px;
    overflow-x: hidden;
    position: relative;
    color: var(--grey-color-4c);
}

.loyal-vip__page input::-webkit-outer-spin-button,
.loyal-vip__page input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.loyal-vip__page input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield; /* Firefox */
}

.loyal-vip__page span a {
    color: #113e85;
    text-decoration: underline;
}

/* .loyal-vip__page .button--orange {
    border: none;
    background: linear-gradient(83.15deg, #f67a01 3.74%, #eb5701 103.11%);
    border-radius: 5px;
    color: white;
    padding: 12px 24px;
}

.loyal-vip__page .button--orange[disabled] {
    cursor: not-allowed;
} */

.loyal-vip__page.container {
    background: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 36px 32px;
    margin-bottom: 50px;
}

.loyalty-table {
    display: grid;
    grid-gap: 16px;
    margin-bottom: 32px;
}

.loyalty-table th {
    display: flex;
    border-radius: 12px;
    padding: 16px 12px;
    align-items: center;
}

.loyalty-table tr {
    display: grid;
    gap: 12px 8px;
    grid-template-columns: 1.2fr repeat(7, 1fr);
}

.loyalty-table tbody {
    display: grid;
    grid-auto-rows: 48px;
    grid-gap: 23px;
}

.loyalty-table tbody td {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
}

.loyalty-table thead tr:first {
    width: 139px;
}

.loyalty-table .level-cell--special {
    grid-row-start: 3;
    grid-row-end: 4;
}

.loyalty-table .level-cell--special:nth-child(6) {
    grid-column-start: 4;
}

.loyalty-table .level-cell--special:nth-child(7) {
    grid-column-start: 5;
}

.loyalty-table .level-cell:nth-child(8) {
    grid-column-start: 6;
}
.loyalty-table .level-cell:nth-child(9) {
    grid-column-start: 7;
}
.loyalty-table .level-cell:nth-child(10) {
    grid-column-start: 8;
}

.loyalty-table .level-cell--special {
    grid-row: span 1;
}

.loyalty-table .level-cell:nth-child(3),
.loyalty-table .level-cell:nth-child(4) {
    grid-row: span 2;
}

.loyalty-table .level-cell:nth-child(n + 8) {
    grid-row-start: 2;
    grid-row-end: 4;
}

.loyalty-table .level-cell {
    color: #254D71;
    border: 1px solid #254D71;
    border-radius: 12px;
}

.loyalty-table .solid-cell {
    --accent-color: #ea5400;
    border-radius: 12px;
    background: linear-gradient(267.46deg, #5584B6 -0.05%, #254D71 95.79%);
}

.loyalty-table .loyalty-freeprice {
    background: #7ad848;
    grid-column-start: 4;
    grid-column-end: 6;
    border-radius: 5px;
    grid-row-start: 2;
    padding: 8px 24px;
}



.loyalty-cashback {
    grid-column: span 7;
    color: white;
}

.loyalty-table .loyalty-rang {
    grid-row: span 3;
    background: linear-gradient(270deg, #EA5400 0%, #F67C00 100%);
    color: white;
}


.cell--empty {
    border: 1px solid #979797;
    color: transparent;
}

.cell--lowest {
    color: #66BF36;
    border: 1px solid #66BF36;
    text-align: center;
}

.loyalty-table .cell--rank {
    gap: 8px;
    color: #f2af1d;
    font-size: 14px;
    justify-content: flex-start;
    padding-left: 10px;
    border: 1px solid #f2af1d;
    width: 139px;
}

.loyalty-table .cell--rank img {
    width: 24px;
}

.cell--bonus {
    gap: 4px;
    border: 1px solid #3a5072;
}

.cell--low {
    color: #727272;
    border: 1px solid #727272;
}

.cell--pre-medium {
    color:  #333333;
    border: 1px solid  #333333;
}


.cell--medium {
    background: #66BF36;
    color: white;
    text-align: center;
    padding: 0 !important;
}

.cell--upper-medium {
    background: #f2af1d;
    color: white;
}

.cell--high {
    background: #f67c00;
    color: white;
}

.cell--highest {
    background: #ea5400;
    color: white;
}

.loyalty-about-rank,
.loyalty-about-levels {
    display: grid;
    grid-template-columns: 192px 1fr;
    gap: 24px;
}

.loyalty-about-levels {
    grid-template-columns: 1fr 192px;
    align-items: center;
}

.loyalty-about-rank p,
.loyalty-about-levels p {
    grid-column: span 2;
}

.loyalty-about-rank ul,
.loyalty-about-levels ul {
    padding-left: 18px;
    display: grid;
    gap: 16px;
}

.loyalty-about-rank > ul > li,
.loyalty-about-levels > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 21px;
}

.loyalty-about-rank > ul > li::before,
.loyalty-about-levels > ul > li::before {
    position: absolute;
    width: 8px;
    height: 8px;
    content: "";
    left: -18px;
    border-radius: 50%;
    background-color: #254d71;
}

.loyalty-about-levels ul ul {
    gap: 2px;
    list-style: disc;
}

.loyalty-about-cashback {
    display: grid;
    grid-template-columns: 196px 1fr;
    gap: 24px;
    align-items: center;
}

.loyalty-about-cashback p {
    grid-column: span 2;
}

.loyalty-profit-steps {
    display: flex;
    flex-direction: column;
}

.loyalty-profit-steps .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.loyalty-profit-steps .swiper {
    padding: 12px;
    margin: 0 -12px;
}

.profit-steps-nav .swiper-button-next,
.profit-steps-nav .swiper-button-prev {
    position: static;
    width: 32px !important;
    height: 32px !important;
    font-size: 20px !important;
    color: #979797;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #979797;
    margin-top: 0px;
}

.profit-steps-nav .swiper-button-disabled {
    cursor: not-allowed;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: none;
}

.profit-steps-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin-top: 14px;
}

/* .profit-card .card-title {
    font-size: 14px;
    color: #4c4c4c;
    margin-bottom: 8px;
} */

.profit-card p.counter {
    font-size: 20px;
    font-weight: 700;
    color: #254d71;
}

.profit-steps-nav span {
    color: #333333;
    font-size: 20px;
}

.loyalty-questions .main-question-spollers__item {
    border-radius: 16px;
}

.loyalty-questions .main-question-spollers__title {
    padding: 16px 60px 16px 24px;
}

.loyalty-questions .main-question-spollers__title:focus {
    outline: none;
}

.loyalty-questions .main-question-spollers__title::before {
    right: 32px;
}

.loyalty-questions .main-question-spollers__item._active {
    border-color: #ea5400;
}

.loyalty-questions .main-question-spollers__body {
    padding: 0 24px;
}

.loyalty-questions ul {
    list-style: disc;
    padding-left: 14px;
}

.hint-toggle {
    padding: 10px;
    position: relative;
}

.hint-toggle img {
    cursor: pointer;
}

.loyalty-calculator__wrapper {
    gap: 24px;
    margin-bottom: 32px !important;
}

.loyalty-calculator__input {
    position: relative;
    display: flex;
    align-items: center;
}

.loyalty-calculator__input input {
    border: 1px solid #dcdcdc;
    padding: 14px 12px;
    border-radius: 8px;
    width: 100%;
}

.loyalty-calculator,
.loyalty-calculator > div {
    display: grid;
    gap: 6px;
}

.loyalty-calculator__input input:focus {
    border-color: #ea5400;
}

.loyalty-calculator__input span {
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    right: 12px;
}

.loyalty-modal-bonuses {
    display: grid;
    gap: 12px;
}

.loyalty-modal-bonuses div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loyalty-modal-bonuses div span span {
    color: #ea5400;
}

.profit-modal__header span {
    cursor: pointer;
}

.mx-input-wrapper > input {
    box-shadow: none;
    padding: 12px;
    height: auto;
    border-color: #c4c4c4;
    border-radius: 8px;
}

.mx-input-wrapper > input:hover {
    border-color: #ea5400;
}

.loyalty-calculator .loyalty-calculator__input,
.loyalty-calculator .mx-datepicker {
    width: 100%;
}

.loyal-vip__page [data-toggle="modal"] {
    cursor: pointer;
}
.loyal-rules-left {
    position: relative;
    width: 100%;
}
.loyal-rules-right {
    width: 290px;
}
.loyal-rules-right img {
    width: 100%;
    box-shadow: 0px 2.78px 16.67px 0px rgba(174, 175, 178, 0.25);
}
.loyal-hr {
    height: 1; 
    border: 1px #E1E6EE solid;
}

@media screen and (max-width: 1024px) {
    .loyal-vip__loyalty-table {
        display: none;
    }

    .loyalty-calculator__wrapper {
        display: grid;
    }

    .loyalty-about-rank,
    .loyalty-about-cashback,
    .loyalty-about-levels {
        grid-template-columns: 1fr;
    }

    .loyalty-about-rank p,
    .loyalty-about-cashback p,
    .loyalty-about-levels p {
        grid-column: span 1;
    }

    .loyalty-about-rank img,
    .loyalty-about-cashback img,
    .loyalty-about-levels img {
        justify-self: center;
        grid-row-start: 2;
    }

}

@media screen and (max-width: 1269px) {

    .solid-cell.loyalty-bonuses div {
        font-size: 10px;
    }

    .loyalty-table .level-cell div {
        font-size: 8px;
    }

    .loyalty-table .cell--rank img {
        width: 22px;
    }

    .loyalty-table .cell--rank {
        gap: 8px;
        padding-left: 6px;
        font-size: 9px;
    }

    .loyalty-table .cell--rank:first-of-type {
        justify-content: center;
        padding: 0;
    }

    .cell--bonus img {
        height: 22px;
    }

}

@media screen and (max-width: 768px) {
    .loyal-vip__page.container {
        padding: 16px 21px;
        box-shadow: none;
    }

    .loyal-rules-right {
        width: 100%;
    }

    .loyal-vip__page .main-question-spollers__title {
        font-size: 16px;
    }
}
@media screen and (min-width: 768px) {
    .profit-steps-nav{
        display: none;
    }

    .loyal-vip__hero-text{
        margin-top: 48px;
    }

}

.loyal-vip__page.container .loyal-vip__loyalty-table {
  margin-bottom: 0;
}
.loyal-vip__page.container .loyalty-notice {
  margin-top: 20px;
  margin-bottom: 64px;
}

.loyal-vip__page .banner {
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}

.loyal-vip__page .banner-item {
    flex: 1 1 150px;
}

.loyal-vip__page .banner .img {
    max-width: 64px;
    margin: 0 auto 8px auto;
}

.swiper-slide, swiper-slide {
    height: unset;
}