.title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
}

.subtitle {
    font-size: 16px;
    color: #748A96;
}

.referrals_page_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0;
    gap: 20px;
}

.referrals_earning_block {
    background: linear-gradient(180deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    border-radius: 16px;
    padding: 1px;
    display: flex;
    position: relative;
    width: 100%;
    flex-direction: column;
}

.referrals_earning_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.referrals_earn_block_content {
    display: flex;
    flex-direction: column;
    padding: 25px 15px;
    align-items: center;
}

.ref_info_block {
}

.content_referrals_block > .title_ref_block {
    color: #ACDBFF;
    font-size: 20px;
    font-weight: 500;
}

.title_ref_block {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: 500;
}

.amount_ref {
    font-size: 34px;
    font-weight: 700;
    color: #3195FF;
    margin: 5px 0;
}

.progress_ref_block {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 700px;
    margin-top: 15px;
}

.title_progress_block {
    display: flex;
    align-items: center;
}

.title_progress {
    margin: auto;
}

.progress-bar {
    height: 10px;
    padding: 1px;
    width: 100%;
    margin: 5px 0;
    background: #0044ff2e;
    border-radius: 17px;
}

.bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 53, 132, 1) 0%, rgba(64, 160, 255, 1) 48%, rgba(2, 53, 132, 1) 100%);
    border-radius: 17px;
    transition: width 0.3s ease;
}

.level_prog {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #BFDFFF;
    font-size: 14px;
}

.percent {
    font-weight: 600;
}

.referrals_wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.referrals_wrap > .left_block {
    max-width: 810px;
    background: none;
    border: none;
    min-height: auto;
}

.referrals_block {
    width: 100%;
    background: linear-gradient(180deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    border-radius: 16px;
    padding: 1px;
    display: flex;
    position: relative;
}

.referrals_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.content_referrals_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 25px 15px;
}

.ref_link_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0 25px;
    gap: 25px;
}

.ref_link_block {
    background: linear-gradient(33.7deg, #000101 20.01%, #0D1024 81.43%);
    width: 100%;
    border: 1px solid #2c5b8d;
    border-radius: 14px;
}

.link_ref {
    margin: 0;
    padding: 16px;
    font-size: 16px;
}

.copy_btn {
    background: linear-gradient(261.22deg, #232E87 -27.9%, #001942 54.23%);
    border: 1px solid #2c5b8d;
    border-radius: 14px;
    color: #fff;
    font-family: 'Montserrat';
    font-size: 16px;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
}

.referrals_list_block {
    margin: 10px 0;
}

.header_ref {
    position: relative;
    border-radius: 17px;
    padding: 1px;
    background: linear-gradient(0deg, rgba(0, 1, 1, 1) 0%, rgba(9, 10, 18, 1) 100%);
    background-clip: content-box;
    display: flex;
    width: 100%;
    border: 1px solid #2c5b8d;
}

.header_ref::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.header_content_ref {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    justify-content: space-between;
}

.icon_ref_block {
    width: 100%;
    max-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name_ref_block {
    width: 100%;
    max-width: 145px;
}

.head_title {
    font-size: 15px;
    font-weight: 500;
}

.date_ref_block {
    width: 100%;
    max-width: 145px;
}

.amount__ref_block {
    width: 100%;
    max-width: 145px;
    display: flex;
    justify-content: flex-end;
}

.earnings__ref_block {
    width: 100%;
    max-width: 145px;
    display: flex;
    justify-content: flex-end;
}

.main_content_ref {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #06070C;
    margin-top: 10px;
}

.back_block_transaction {
    position: relative;
    border-radius: 0;
    padding: 1px;
    background: linear-gradient(0deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    display: flex;
    width: 100%;
}

.back_block_transaction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.block_transaction {
    display: flex;
    background: linear-gradient(0deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    padding: 15px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #2c5b8d;
    border-radius: 17px;
}


.text_trans {
    font-size: 14px;
    font-weight: 400;
}

.earnings__ref_block > .text_trans {
    color: #00D0FF;
}

.withdraw {
}

.deposit {color: #848484;}

.referrals_wrap > .right_block {
    max-width: 370px;
}

.reward_block {
    width: 100%;
    background: linear-gradient(180deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    border-radius: 16px;
    padding: 1px;
    display: flex;
    position: relative;
}

.reward_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.content_reward_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 25px 15px;
}

.head_c_r_b {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.title_c_r_b {
}

.title_reward {
    font-size: 17px;
    color: #ACDBFF;
    font-weight: 500;
}

.path_reward {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svg_head {
}

.main_r_b {
    margin-top: 15px;
}

.ref_reward_progress_wrap {
    margin: 15px 0;
}

.ref_reward_progress_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #101221 -2.63%, #0A0B14 100%);
    border: 1px solid #2c5b8d;
    border-radius: 14px;
    margin-bottom: 10px;
}

.amount_ref_need {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.done {
}

.percent_progress {
}

.bar_reward {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.bar_reward_text {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 1;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}

.back_bar_reward {
    width: 0%;
    background: linear-gradient(91.76deg, #023584 32.36%, #40A0FF 76.35%, #023584 123.32%);
    border-radius: 14px;
    position: absolute;
    height: 100%;
    transition: width 0.3s ease;
}

.mobile_referrals_list_block {
    display: none;
}

@media screen and (max-width: 860px) {
    .referrals_wrap {
        flex-direction: column;
        gap: 20px;
    }

    .content_referrals_block {
        width: -webkit-fill-available;
    }
    .copy_btn {
        padding: 15px;
    }
    .referrals_wrap > .right_block {
        max-width: -webkit-fill-available;
    }

    .referrals_list_block {
        display: none;
    }
    .ref_link_wrap {
        flex-direction: column;
        gap: 10px;
    }

    .mobile_referrals_list_block {
    background: linear-gradient(180deg, #101221 -2.63%, #0A0B14 100%);
    border: 1px solid #2c5b8d;
    border-radius: 16px;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
}

.mobile_referrals_list_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.r_a_head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.r_a_icon {
    flex-shrink: 0;
}

.r_a_icon > svg {
    padding: 8px;
}

.r_a_title {
    min-width: 0;
}

.r_a_title > span {
    font-size: 16px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.r_a_title > p {
    margin: 5px 0;
    color: #6B7280;
    font-size: 14px;
}

.r_a_amount_block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    margin-left: 10px;
}

.r_a_amount_block > span {
    color: #00D0FF;
    white-space: nowrap;
}

.r_a_amount_block > p {
    margin: 5px 0;
    color: #6B7280;
    font-size: 14px;
    white-space: nowrap;
}
}