.modal-two-factor {
    width: 511px;
    background: #131313;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.content-top-block {
    padding: 30px;
    padding-top: 16px;
}

.top-block-two-factor {
    height: 147px;
    padding: 33px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
}

h4.h4_text_b {
    color: #FFF;
    
    font-size: 32px;
    
    font-weight: 700;
    max-width: 283px;
    line-height: 111%;
}

p.text_info_top_block {
    color: #B4B6B9;
    font-size: 14px;
    
    font-weight: 700;
    line-height: 24px;
    max-width: 394px;
}

p.text_info_top_block > span {
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
}

input.code_input {
    width: 100%;
    height: 65px;
    border-radius: 6px;
    border-radius: 6px;
    border: 0.5px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    transition: 0.3s;
    text-align: center;
    color: #FFF;
    font-size: 40px;
    
    font-weight: 700;
    line-height: normal;
    outline: none;
}

.group_input_code {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

input.code_input:focus {
    border-color: #377dff6b;
}

.code_block {
    margin-top: 12px;
    margin-bottom: 20px;
}

.bottom_block_code {
    margin-top: 20px;
}

button.custom_button_6.large_text {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.button-close.white {
    color: white;
    top: 15px;
    right: 20px;
}

.top-block-two-factor.header_gift {
    height: 99px;
    overflow: hidden;
    background-size: cover;
}

.top-block-two-factor.header_gift {
    height: 99px;
    overflow: hidden;
    background-size: cover;
}

input.custom_input_1.search_input {
    border-radius: 6px;
    border: 1px solid #323539;
    background: #2B2D2F;
    padding-left: 38px;
    font-size: 14px;
    
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.1px;
}

svg.search_ico {
    position: absolute;
    top: 15px;
    left: 13px;
}

.object_input_search {
    position: relative;
}

p.top_text_friend {
    color: #FFF;
    
    font-size: 16px;
    
    font-weight: 500;
     /* 125% */
    letter-spacing: -0.1px;
    margin-top: 11px;
    margin-bottom: 11px;
}

.avatar_user {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 6px;
    background: #2B2D2F;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.object_friend {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.7;
    transition: 0.3s;
    pointer-events: none;
    user-select: none;
    width: 100%;
}


.object_friend.not-owned:hover {filter: contrast(0.8);}

.object_friend.not-owned {
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

.object_friend.not-owned:active {
    transform: scale(0.9);
}

.object_friend.not-owned.selected {
    filter: contrast(1)!important;
}

.object_friend.not-owned.selected > .object_name_user {
    background: #377dff57;
}

.object_friend.owned {
    opacity: 1;
}

p.owned_text {pointer-events: none;}

.object_name_user {
    display: flex;
    width: 100%;
    height: 55px;
    align-items: center;
    padding: 11px;
    border-radius: 6px;
    background: rgba(43, 45, 47, 0.50);
    justify-content: space-between;
    transition: 0.3s;
    position: relative;
}

img.loading_ico_c {
    position: absolute;
    right: 21px;
    width: 28px;
    top: 1px;
    opacity: 0;
    transition: 0.3s;
}

.object_friend.loading > .object_name_user > .loading_ico_c {
    top: 12px;
    opacity: 1;
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.object_friend {
  opacity: 0; /* стартовая прозрачность */
  animation: slideFadeIn 0.3s forwards; /* длительность анимации 0.3s */
}

.list_friend {
    display: flex;
    gap: 11px;
    overflow: auto;
    height: 256px;
    padding-right: 15px;
    align-items: start;
    flex-direction: column;
    width: 100%;
}

p.left_name {
    color: #FFF;
    font-size: 16px;
    
    font-weight: 600;
    line-height: 24px;
}

.object_friend.owned > .object_name_user > p.owned_text_a {
    opacity: 1;
    transform: translateY(0px)
}

.object_friend.owned > .object_name_user {
    border-radius: 6px;
    background: rgba(221, 255, 72, 0.12);
}

p.owned_text_a {
    pointer-events: none;
    color: #DDFF48;
    font-size: 16px;
    
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.3s;
}

button.custom_button_6.send_gift_button.disabled {
    opacity: 0.7;
    pointer-events: none;
}

button.custom_button_4.small_a {
    height: 39px;
    width: 100%;
    border-radius: 6px;
}

button.custom_button_4.small_a > p {
    font-size: 27px;
}

button.custom_button_6.send_gift_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #FFF;
    text-align: center;
    font-family: Tungsten, Oswald;
    font-size: 24px;
    
    font-weight: 400;
    text-transform: uppercase;
}

.group_avatar_info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.bottom_block_bs {
    width: 100%;
}

.image_main_gift {
    width: 157.38px;
    height: 191.633px;
    border-radius: 37px;
    background: linear-gradient(180deg, #00D1FF 0%, #236877 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

img.image_gift_a {
    width: 100%;
    position: absolute;
    bottom: 0;
    border-radius: 36px;
}

p.text_gift_success {
    color: #FFF;
    text-align: center;
    font-family: Tungsten, Oswald;
    font-size: 36px;
    
    font-weight: 600;
    text-transform: uppercase;
}

.content_block_gift_success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 22px;
}

.bottom_block_code.gift_block {
    width: 100%;
}

button.custom_button_6.black {
    border-radius: 6px;
    background: #2B2D2F;
    width: 100%;
    color: #FFF;
    text-align: center;
    font-family: Tungsten, Oswald;
    font-size: 24px;
    
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-two-factor.send_gift_success {
    background-image: url(/img/main/modals/gift_success.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    user-select: none;
}

.avatar_block_b {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    background: #2B2D2F;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.avatar_user_a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

p.text_user {
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    
}

.button-close.gift_success {
    color: white;
    top: 20px;
    right: 20px;
}

button.custom_button_6.black:hover {
    outline: 6px solid rgb(43 45 47 / 36%);
}

@media (max-width: 550px) {
    .modal-two-factor {
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }
}