.b-container {
    width: 817px;
    margin: 0 auto;
}

.b-balance {
    background-color:#6033AB;
    padding: 43px 0 5px;
}

.b-balance__top {
    display: flex;
    justify-content: space-between;
}

.b-balance-block {
    width: 404px;
    height: 96px;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 17px 11px 17px 15px;
}

.b-balance-block--second {
    padding: 11px 17px 17px 23px;
}

.b-user {
    display: flex;
    justify-content: space-between;
}

.b-user__link {
    width: 32px;
    height: 32px;
    display: block;
    margin-top: -6px;
}

.b-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-user__name {
    font-family: 'MontBold';
    color: #440099;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 24px;
    letter-spacing: 0.5px;
    width: 157px;
}

.b-count {
    display: flex;
    justify-content: space-between;
}

.b-total-count__number {
    font-family: 'MontBold';
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #63B9F7;
    margin-right: 17px;
}

.b-total-count__img-wrap {
    width: 35px;
}

.b-total-count__wrap {
    display: flex;
    align-items: center;
}

.b-total-count__text {
    font-family: 'MontBold';
    font-size: 12px;
    line-height: 16px;
    color: #63B9F7;
}

.b-current-count__img-wrap {
    width: 17px;
}

.b-current-count__wrap {
    display: flex;
    align-items: center;
}

.b-current-count__text {
    width: 95px;
    text-align: right;
}

.b-current-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 8px;
}

.b-current-count__number {
    font-family: 'MontBold';
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 5px;
}

.b-current-count__text {
    font-size: 12px;
    line-height: 16px;
}

@media (max-width: 1023px) {

    .b-container {
        width: 100%;
        padding: 0 16px;
    }

    .b-balance-block {
        width: calc(100% / 2 - 7px);
    }
}

@media (max-width: 767px) {

    .b-container {
        width: 100%;
        padding: 0 16px;
    }

    .b-balance {
        padding: 16px 0;
    }

    .b-balance__top {
        flex-direction: column;
    }

    .b-balance-block {
        width: 100%;
        height: 74px;
        margin-bottom: 8px;
        padding: 12px 13px 17px 15px;
    }

    .b-balance-block--second {
        padding: 13px 17px 17px 13px;
        height: 76px;
    }

    .b-balance-block:last-child {
        margin-bottom: 0;
    }

    .b-user__link {
        width: 25px;
        height: 25px;
        margin-top: -2px;
    }

    .b-total-count__number {
        font-size: 32px;
        line-height: 32px;
        margin-right: 3px;
    }

    .b-current-count {
        margin-top: -2px;
    }

    .b-total-count__img-wrap {
        width: 23px;
    }

    .b-total-count__text {
        font-size: 11px;
        line-height: 16px;
    }

    .b-total-count__wrap {
        margin-bottom: 2px;
    }

    .b-current-count__number {
        font-size: 19px;
        line-height: 24px;
        margin-right: 5px;
    }

    .b-current-count__img-wrap {
        width: 13px;
    }

    .b-current-count__text {
        font-size: 11px;
        line-height: 16px;
        width: 75px;
    }
}

/* -------------------Блок b-info----------------------------- */

.b-info {
    background: linear-gradient(#6033AB 64px, #fff 61px);
    padding: 10px 0 0 0;
    margin-bottom: 80px;
}

.b-info__list {
    display: flex;
    justify-content: space-between;
}

.b-info__link {
    display: block;
    text-decoration: none;
    padding: 9px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.b-info__link::before {
    content: '';
    top: 0;
    left: 0;
    width: 42px;
    height: 43px;
    margin-bottom: 10px;
}

.b-info__link--history::before {
    background: url('/img/lk/list.svg') no-repeat;
    background-size: cover;
    background-position: center;
}

.b-info__link--collect:before {
    background: url('/img/lk/gift-white.svg') no-repeat;
    background-size: cover;
    background-position: center;
}

.b-info__link--spend::before {
    width: 48px;
    height: 43px;
    background: url('/img/lk/spend.svg') no-repeat;
    background-size: contain;
    background-position: center;
}

.b-info__item {
    background: linear-gradient(0deg, #3A0082 0%, #3B0084 45.83%, #440099 68.23%, #7C6CDE 100%);
    border-radius: 4px;
    box-shadow: 0px 2px 3px rgba(67, 49, 135, 0.67),
        0px -3px 10px rgba(0, 0, 0, 0.19);
    border-width: 2px;
    border-style: solid;
    border-image: linear-gradient(180deg, rgba(182, 164, 255, 0.55) 0%, #1E0044 100%);
    width: 266px;
    height: 94px;
    box-sizing: border-box;
}

.b-info__item:hover,
.b-info__item:active,
.b-info__item.active {
    background: linear-gradient(359.4deg, #2872FF -24.2%, #A4C3FF 118.99%), #FFFFFF;
    border-width: 2px;
    border-style: solid;
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(39, 108, 242, 0.7) 100%);
    box-shadow: 0px 4px 14px rgba(66, 128, 245, 0.44);
}

.b-info__text {
    font-family: 'MontBold';
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    text-align: center;
}

@media (max-width: 1023px) {

    .b-info {
        margin-bottom: 44px;
    }

    .b-info__item {
        width: calc(100% / 3 - 7px);
    }
}

@media (max-width: 767px) {

    .b-info {
        background: #fff;
        padding: 9px 0 0 0;
    }

    .b-info__list {
        flex-direction: column;
    }

    .b-info__link {
        align-items: flex-start;
        padding: 8px 12px 12px;
    }

    .b-info__link::before {
        position: absolute;
        width: 18px;
        height: 18px;
        left: auto;
        right: 13px;
        top: 50%;
        transform: translateY(-70%);
        margin-bottom: 0;
    }

    .b-info__item {
        margin-bottom: 7px;
        width: 100%;
        height: 40px;
    }

    .b-info__item:last-child {
        margin-bottom: 0;
    }

    .b-info__link--collect::before {
        height: 22px;
        width: 25px;
        background-size: contain;
    }

    .b-info__item:hover .b-info__link--collect::before,
    .b-info__item:active .b-info__link--collect::before {
        height: 22px;
        width: 25px;
        background-size: contain;
    }

    .b-info__link--spend::before {
        height: 22px;
        width: 25px;
        background-size: contain;
    }

    .b-info__item:hover .b-info__link--spend::before,
    .b-info__item:active .b-info__link--spend::before {
        height: 22px;
        width: 24px;
        background-size: contain;
    }

    .b-info__text {
        font-size: 13px;
        line-height: 16px;
    }
}

/* -------------------Блок b-certificate----------------------------- */

.b-certificate {
    padding: 54px 0 0;
    width: 608px;
    margin: 0 auto;
}

.b-certificate-title {
    font-family: 'MontBold';
    font-size: 19px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 30px;
}

.b-certificate__list {
    display: flex;
}

.b-certificate__item {
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    box-sizing: border-box;
    width: calc(100% / 2);
    height: 40px;
}

.b-certificate__item.ui-state-hover,
.b-certificate__item.ui-state-active {
    background: #6033AB;
    border: 1px solid #6033AB;
    box-sizing: border-box;
}

.b-certificate__link {
    display: block;
    text-decoration: none;
    height: 40px;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #6033AB;
    padding: 8px;
}

.b-certificate__item.ui-state-hover .b-certificate__link,
.b-certificate__item.ui-state-active .b-certificate__link {
    color: #fff;
}

@media (max-width: 767px) {

    .b-certificate {
        width: 100%;
        padding: 32px 0 0;
    }

    .b-certificate__list {
        flex-direction: column;
    }

    .b-certificate__item {
        width: 100%;
    }

    .b-certificate__link {
        font-size: 13px;
        line-height: 16px;
        padding: 11px 8px 8px;
    }

    .b-certificate-title {
        margin: 0 0 20px 0;
    }
}

/* -------------------Блок "Введите промокод"----------------------------- */
.b-promocode {
    padding: 41px 0 0;
    margin-bottom: 25px;
}

.b-promocode__form {
    display: flex;
    align-items: flex-end;
}

.b-promo-button {
    border: 1px solid #6033AB;
    border-left: none;
    background: transparent;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #440099;
    position: relative;
    padding: 7px;
    min-width: 126px;
    height: 32px;
}

.b-promo-button::after {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #6033AB;
    box-sizing: border-box;
    z-index: -1;
    transition: all 0.5s ease;
}

.b-promo-button:hover::after {
    width: 100%;
    z-index: 1;
}

.b-promo-button:hover span{
    color: #fff;
    z-index: 2;
    position: relative;
}

.b-promocode__input-field {
    width: 475px;
    border: none;
    margin-right: auto;
    padding-bottom: 9px;
    border-bottom: 1px solid #000;
    font-size: 16px;
    line-height: 24px;
    font-family: 'MontSemiBold';
    outline: none !important;
}

.b-promocode__input-field::placeholder {
    color: #AFB1B5;
    font-size: 16px;
    line-height: 24px;
}

.b-promocode__text {
    font-size: 12px;
    line-height: 16px;
    margin: 0 0 5px 0;
}

.b-promocode-success__wrap,
.b-promocode-fail__wrap {
    width: 100%;
    background-color: #F5F5F5;
    padding: 25px;
    margin-bottom: 10px;
}

.b-promocode-success__title,
.b-promocode-fail__title {
    font-family: 'MontBold';
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

.b-promocode-success__date,
.b-promocode-fail__date {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 6px;
}

.b-promocode-success__text {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #828282;
    width: 290px;
    margin: 0 auto;
}

.b-promocode-success,
.b-promocode-fail {
    display: none;
}

.b-promocode-success__title,
.b-promocode-fail__title {
    position: relative;
    width: 200px;
    margin: 0 auto;
}

.b-promocode-success__title-wrap,
.b-promocode-fail__title-wrap {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.b-promocode-success__title::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background: url('/img/lk/check.svg') no-repeat;
    background-size: contain;
    top: 2px;
    left: -20px;
}

.b-promocode-fail__title::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background: url('/img/lk/attention.svg') no-repeat;
    background-size: contain;
    top: 0;
    left: -21px;
}

.b-promocode__input-field:active, 
.b-promocode__input-field:hover, 
.b-promocode__input-field:focus {
    outline: none !important;
    outline-offset: 0;
}

@media (max-width: 767px) {

    .b-promocode__form {
        flex-direction: column;
        border-bottom: none;
    }

    .b-promocode__input-field {
        width: 100%;
        border-bottom: 1px solid #000;
        padding: 5px 0 7px;
        margin-bottom: 25px;
    }

    .b-promo-button {
        width: 100%;
        max-width: 288px;
        height: 40px;
        background-color: #433187;
        color: #fff;
        text-align: left;
        margin-right: auto;
        padding: 0 16px;
    }

    /* .b-promo-button::after {
        background-color: #fff;
    } */

    .b-promo-button::before {
        content: '';
        background: url('/img/lk/arrow-white.svg') no-repeat center / cover;
        width: 12px;
        height: 12px;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 2;
    }

    .b-promo-button::after {
        display: none;
    }

    .b-promo-button:hover {
        content: none;
    }

    /* .b-promo-button:hover span {
        color: #440099;
    }

    .b-promo-button:hover::before {
        background: url('/img/lk/arrow.svg') no-repeat center / cover;
    } */

    .b-promocode__text {
        font-size: 11px;
        margin: 0 0 6px 0;
    }

    .b-promocode__input-field::placeholder {
        font-family: 'MontSemiBold';
        font-size: 13px;
        line-height: 16px;
        color: #AFB1B5;
    }

    .b-promocode {
        padding: 20px 0 0;
    }

    .b-promocode-success__text {
        width: 100%;
        font-size: 11px;
    }

    .b-promocode-success__wrap,
    .b-promocode-fail__wrap {
        padding: 22px 15px 25px;
    }

    .b-promocode-success__date,
    .b-promocode-fail__date {
        margin-bottom: 8px;
    }

    .b-promocode-success__title,
    .b-promocode-fail__title,
    .b-promocode-success__date,
    .b-promocode-fail__date {
        font-size: 13px;
        line-height: 16px;
    }

    .b-promocode-success__title,
    .b-promocode-fail__title {
        margin-bottom: 7px;
    }
}

/* ----------------------Блок "Загрузить чек"------------------- */
.b-check {
    padding: 28px 0 0;
}

.b-check__title {
    font-family: 'MontBold';
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 19px;
}

.uploader-input-caption {
    display: none;
}

.uploader-input-button {
    font-size: 12px;
    line-height: 16px;
    height: 104px;
    width: 100%;
    padding: 35px 20px;
    border: 1px dashed #000;
    box-sizing: border-box;
    color: #000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uploader-items-list {
    padding: 0;
}

.uploader-item {
    list-style-type: none;
    margin-top: 10px;
    display: flex;
}

.uploader-item-info {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 608px;
    padding: 6px 0 4px;
    position: relative;
}

.uploader-item-info {
    font-size: 13px;
    line-height: 16px;
}

.list-inline {
    padding: 0;
}

.list-inline > li {
    list-style-type: none;
}

.uploader-item-others {
    display: none;
}

.uploader-item-icon {
    display: none;
}

.uploader-item-inner {
    display: flex;
}

.uploader-item-trash-action {
    position: relative;
    display: flex;
    margin-left: 10px;
}

.uploader-item-trash-action::before {
    content: '' !important;
    background: url('/img/lk/delete.svg') no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
    display: block;
    /* position: absolute;
    top: 50%;
    transform: translateY(-62%);
    right: 18px; */
}


.uploader-items.uploader-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


@media (max-width: 767px) {

    .b-check {
        padding: 28px 0 0;
    }

    .b-check__title {
        font-size: 13px;
        line-height: 16px;
        margin-bottom: 19px;
    }

    .uploader-input-button {
        font-size: 11px;
        line-height: 16px;
        padding: 25px 20px;
    }

    .uploader-item-info {
        width: 100%;
    }

    .uploader-item-title {
        width: calc(100% - 25px);
    }

    .uploader-items-list {
        width: 100%;
    }

    .uploader-item {
        width: 100%;
    }

    .uploader-item-container {
        width: 100%;
    }

    /* .uploader-item-assets {
        margin-left: auto;
        display: block;
    } */
}

.b-progressbar-container {
    /* margin: 20px; */
    width: 100%;
    height: 8px;
    position: relative;
    margin-bottom: 40px;
}

/* ----------------------Блок "Загрузить чек: состояния"------------------- */
.b-check-success__wrap,
.b-check-attention__wrap,
.b-check-fail__wrap {
    width: 100%;
    background-color: #F5F5F5;
    padding: 25px;
    margin-bottom: 10px;
}
.b-check-attention__wrap {
    padding: 17px 25px 29px;
}

.b-check-fail__wrap {
    padding: 23px 25px 28px;
}

.b-check-success__text-block {
    text-align: center;
    font-family: 'MontBold';
    font-size: 16px;
    line-height: 22px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.b-check-success__text {
    position: relative;
}

.b-check-success__bonus {
    color: #440099;
    position: relative;
}

.b-check-success__text::before {
    content: '';
    position: absolute;
    background: url('/img/lk/check.svg') no-repeat;
    background-size: contain;
    height: 14px;
    width: 18px;
    top: 4px;
    left: -31px;
}

.b-check-success__bonus::after {
    content: '';
    position: absolute;
    background: url('/img/lk/bonus-blue.svg') no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    top: 1px;
    right: -18px;
}

.b-check-attention__text-block {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    position: relative;
    width: 355px;
    margin: 0 auto;
}

.b-check-attention__text {
    position: relative;
}

.b-check-attention__text::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background: url('/img/lk/attention.svg') no-repeat;
    background-size: contain;
    top: 1px;
    left: -21px;
}

.b-check-fail__text-block {
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    width: 375px;
    margin: 0 auto;
    position: relative;
}

.b-check-fail__text {
    position: relative;
}

.b-check-fail__text > span {
    font-family: 'MontBold';
}

.b-check-fail__link {
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    color: #8775CD;
    display: block;
    text-align: center;
    width: 130px;
    margin: 0 auto;
}

.b-check-fail__text::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background: url('/img/lk/fail.svg') no-repeat;
    background-size: contain;
    top: 2px;
    left: -23px;
}

.b-check-success,
.b-check-attention,
.b-check-fail {
    display: none;
}

@media (max-width: 767px) {

    .b-check-success__wrap {
        padding: 31px 25px;
    }

    .b-check-success__text-block {
        font-size: 13px;
        line-height: 16px;
    }

    .b-check-success__text::before {
        top: 1px;
        left: -24px;
    }

    .b-check-success__bonus::after {
        top: 0;
        right: -19px;
    }

    .b-check-attention__wrap {
        padding: 23px 20px 25px;
    }

    .b-check-attention__text-block {
        width: 100%;
        max-width: 255px;
        font-size: 13px;
        line-height: 16px;
        padding-left: 6px;
    }

    .b-check-fail__text-block {
        width: 100%;
        font-size: 13px;
        line-height: 16px;
    }

    .b-check-fail__link {
        font-size: 13px;
        line-height: 16px;
    }

    .b-check-fail__wrap {
        padding: 23px 20px 24px;
    }

    .b-check-fail__link {
        display: inline;
    }

    .b-check-fail__text::before {
        top: 0;
        left: -21px;
    }
}

.b-certificate__item.ui-state-default:hover {
    text-decoration: none;
    height: 40px;
}