.friend_payment_wrapper {
    margin-top: 14px;
}

.friend_action {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 16px;
}

.payment_friend_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background-color: #038AEE;
    color: #ffffff;
    border: none;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;

    width: auto;
    min-height: 34px;

    box-shadow: 0 3px 10px rgba(3, 138, 238, 0.22);
}

.payment_friend_button:hover {
    background-color: #0279d1;
    box-shadow: 0 5px 14px rgba(3, 138, 238, 0.32);
}

.payment_friend_button:active {
    transform: translateY(1px);
}

.payment_friend_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.payment_friend_button.button-inverse {
    background-color: #F0F8FF;
    color: #038AEE;
    box-shadow: none;
}

.payment_friend_button.button-inverse:hover {
    background-color: #038AEE;
    color: #ffffff;
}

.friend_btn_icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.friend_payment_loader {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.friend_payment_spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #D6E3ED;
    border-top-color: #038AEE;
    border-radius: 50%;
    animation: friend-spin 0.8s linear infinite;
}

@keyframes friend-spin {
    to {
        transform: rotate(360deg);
    }
}

.friend_loader_text {
    color: #038AEE;
    font-weight: 600;
    font-size: 13px;
}

.friend_payment_block {
    margin-top: 14px;
    max-width: 520px;
}

.friend_info {
    background: #ffffff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(2, 17, 59, 0.1);
    text-align: center;
    margin-bottom: 16px;
}

.friend_info_title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1E262E;
    line-height: 1.3;
}

.friend_info_subtitle {
    font-size: 13px;
    margin-bottom: 14px;
    color: #6F7985;
    font-weight: 500;
}

.friend_more_link {
    display: inline-block;
    color: #038AEE;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.friend_more_link:hover {
    text-decoration: underline;
}

.friend_more_text {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #6F7985;
    text-align: left;
}

.friend_ok_btn {
    margin-top: 18px;
    width: 100%;
    background-color: #038AEE;
    padding: 11px 20px;
    border-radius: 999px;
    border: none;

    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;

    cursor: pointer;
    transition: background-color 0.2s ease;
}

.friend_ok_btn:hover {
    background-color: #0279d1;
}

.friend_ok_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .friend_payment_wrapper {
        margin-top: 12px;
    }

    .friend_info {
        border-radius: 22px;
        padding: 18px;
    }

    .friend_info_title {
        font-size: 17px;
    }
}
